Beispiel #1
0
 //设置室外温度设置
 public static byte[] Set_outmode(byte address, xd100x.outmode om)
 {
     int[] buffer = { om._outmode };
     return(DataInfo.ModbusSetData(address, 0x10, 206, buffer));
 }
Beispiel #2
0
 //解析室外温度设置
 public static xd100x.outmode Read_outmode(byte[] inByte)
 {
     xd100x.outmode om = new xd100x.outmode();
     om._outmode = DataInfo.GetLongValue2(inByte, 3);
     return(om);
 }
Beispiel #3
0
 //设置室外温度设置
 public static byte[] Set_outmode(byte address, xd100x.outmode om)
 {
     byte[] buffer = { Convert.ToByte(om._outmode) };
     return(DataInfo.SetData(address, 0x28, buffer));
 }