示例#1
0
 //获取泵状态和报警
 //public static byte[] Get_di(byte address)
 //{
 //    return DataInfo.ModbusGetData(address, 2, 1, 32);
 //}
 //获取调节阀控制模式
 public static byte[] Get_valvecontrol(byte address)
 {
     return(DataInfo.ModbusGetData(address, 3, 114, 114));
 }
示例#2
0
 //获取二次回温度修正
 public static byte[] Get_BT2revise(byte address)
 {
     return(DataInfo.ModbusGetData(address, 3, 32, 33));
 }
示例#3
0
        //数据处理方法
        #region
        //读取命令生成区域
        #region Get

        //获取当前数据模拟量
        public static byte[] Get_ai(byte address)
        {
            return(DataInfo.ModbusGetData(address, 4, 1, 50));
        }
示例#4
0
 //获取一次回温度修正
 public static byte[] Get_BT1revise(byte address)
 {
     return(DataInfo.ModbusGetData(address, 3, 18, 19));
 }
示例#5
0
 //获取二次供温度修正
 public static byte[] Get_GT2revise(byte address)
 {
     return(DataInfo.ModbusGetData(address, 3, 25, 26));
 }
示例#6
0
 //获取调节阀开度上下限
 public static byte[] Get_valvemm(byte address)
 {
     return(DataInfo.ModbusGetData(address, 3, 145, 146));
 }
示例#7
0
 //室外温度修正
 public static byte[] Get_outrevise(byte address)
 {
     return(DataInfo.ModbusGetData(address, 3, 4, 5));
 }
示例#8
0
 //获取压差设定
 public static byte[] Get_cycpumpvalue(byte address)
 {
     return(DataInfo.ModbusGetData(address, 3, 159, 159));
 }
示例#9
0
 //获取补水泵模式及压力设定
 public static byte[] Get_addpumpvalue(byte address)
 {
     return(DataInfo.ModbusGetData(address, 3, 183, 184));
 }
示例#10
0
 //获取室外温度设置
 public static byte[] Get_outmode(byte address)
 {
     return(DataInfo.ModbusGetData(address, 3, 206, 207));
 }
示例#11
0
 //获取压差曲线
 public static byte[] Get_cycpumpline(byte address)
 {
     return(DataInfo.ModbusGetData(address, 3, 161, 176));
 }
示例#12
0
 //获取报警设置温度
 public static byte[] Get_alarmt(byte address)
 {
     return(DataInfo.ModbusGetData(address, 3, 202, 205));
 }
示例#13
0
 //获取报警设置压力
 public static byte[] Get_alarmp(byte address)
 {
     return(DataInfo.ModbusGetData(address, 3, 198, 201));
 }
示例#14
0
 //获取调节阀流量限定
 public static byte[] Get_valvelimit(byte address)
 {
     return(DataInfo.ModbusGetData(address, 3, 153, 154));
 }
示例#15
0
 //获取调节阀设定值
 public static byte[] Get_valvevalue(byte address)
 {
     return(DataInfo.ModbusGetData(address, 3, 116, 116));
 }
示例#16
0
 //获取补水泵压力上下限
 public static byte[] Get_addpumpmm(byte address)
 {
     return(DataInfo.ModbusGetData(address, 3, 189, 192));
 }
示例#17
0
 //获取调节阀温度曲线
 public static byte[] Get_valveline(byte address)
 {
     return(DataInfo.ModbusGetData(address, 3, 117, 132));
 }
示例#18
0
 //获取调节阀分时调整
 public static byte[] Get_valvetime(byte address)
 {
     return(DataInfo.ModbusGetData(address, 3, 133, 144));
 }