public GRWriteTwoPressChaCommand(GRStation st, // byte cyclePumpCtrlMode, CyclePumpMode cyclePumpCtrlMode, float pressChaSet, float backPressSet) { ArgumentChecker.CheckNotNull(st); this.Station = st; _cycPumpCtrlMode = cyclePumpCtrlMode; _pressChaSetValue = pressChaSet; _backPressSetValue = backPressSet; }
public override byte[] MakeCommand() { if (!_isSpecify) { GRStation grSt = (GRStation)Station; if (grSt.OSTWorkMode == OutSideTempWorkMode.SetByComputer) { _outSideTemp = Singles.S.OutSideTemperature; } } byte[] datas = BitConverter.GetBytes(_outSideTemp); return(GRCommandMaker.MakeCommand(Station.Address, GRDef.DEVICE_TYPE, //0xA0, GRDef.FC_SET_OUTSIDE_TEMP, //41, datas)); }
public GRWriteOpenDegree(GRStation st, byte min, byte max) { if (st == null) { throw new ArgumentNullException("st"); } if (min > 100) { throw new ArgumentOutOfRangeException("min", min, ""); } if (max > 100) { throw new ArgumentOutOfRangeException("max", max, ""); } if (min > max) { throw new ArgumentException("min > max"); } _min = min; _max = max; this.Station = st; }
public GRReadTempWLAlarmSetCommand(GRStation st) : base(st) { }
/// <summary> /// /// </summary> /// <param name="st"></param> public void Remove(GRStation st) { base.InternalRemove(st); }
/// <summary> /// /// </summary> /// <param name="st"></param> public void Add(GRStation st) { ArgumentChecker.CheckNotNull(st); base.InternalAdd(st); }
public GRReadPressAlarmSetCommand(GRStation st) : base(st) { }
/// <summary> /// /// </summary> /// <param name="station"></param> public GRRealDataCommand(GRStation station) { ArgumentChecker.CheckNotNull(station); this.Station = station; }
/// <summary> /// /// </summary> /// <param name="st"></param> public GRReadTLCommand(GRStation st) { ArgumentChecker.CheckNotNull(st); Station = st; }
/// <summary> /// /// </summary> /// <param name="st"></param> public GRWriteOTGT2Line(GRStation st, TemperatureLine tl) { Station = st; _tl = tl; }
public GRReadTwoPressChaCommand(GRStation st) { ArgumentChecker.CheckNotNull(st); this.Station = st; }
/// <summary> /// /// </summary> /// <param name="st"></param> /// <param name="mode"></param> /// <param name="pressset"></param> public GRWriteRepumpPressSettings(GRStation st, RePumpMode mode, float pressset) { Station = st; _repumpMode = mode; _perssset = pressset; }
/// <summary> /// /// </summary> /// <param name="st"></param> public GRReadRepumpPressSettings(GRStation st) { this.Station = st; }