//获取泵状态和报警 //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)); }
//获取二次回温度修正 public static byte[] Get_BT2revise(byte address) { return(DataInfo.ModbusGetData(address, 3, 32, 33)); }
//数据处理方法 #region //读取命令生成区域 #region Get //获取当前数据模拟量 public static byte[] Get_ai(byte address) { return(DataInfo.ModbusGetData(address, 4, 1, 50)); }
//获取一次回温度修正 public static byte[] Get_BT1revise(byte address) { return(DataInfo.ModbusGetData(address, 3, 18, 19)); }
//获取二次供温度修正 public static byte[] Get_GT2revise(byte address) { return(DataInfo.ModbusGetData(address, 3, 25, 26)); }
//获取调节阀开度上下限 public static byte[] Get_valvemm(byte address) { return(DataInfo.ModbusGetData(address, 3, 145, 146)); }
//室外温度修正 public static byte[] Get_outrevise(byte address) { return(DataInfo.ModbusGetData(address, 3, 4, 5)); }
//获取压差设定 public static byte[] Get_cycpumpvalue(byte address) { return(DataInfo.ModbusGetData(address, 3, 159, 159)); }
//获取补水泵模式及压力设定 public static byte[] Get_addpumpvalue(byte address) { return(DataInfo.ModbusGetData(address, 3, 183, 184)); }
//获取室外温度设置 public static byte[] Get_outmode(byte address) { return(DataInfo.ModbusGetData(address, 3, 206, 207)); }
//获取压差曲线 public static byte[] Get_cycpumpline(byte address) { return(DataInfo.ModbusGetData(address, 3, 161, 176)); }
//获取报警设置温度 public static byte[] Get_alarmt(byte address) { return(DataInfo.ModbusGetData(address, 3, 202, 205)); }
//获取报警设置压力 public static byte[] Get_alarmp(byte address) { return(DataInfo.ModbusGetData(address, 3, 198, 201)); }
//获取调节阀流量限定 public static byte[] Get_valvelimit(byte address) { return(DataInfo.ModbusGetData(address, 3, 153, 154)); }
//获取调节阀设定值 public static byte[] Get_valvevalue(byte address) { return(DataInfo.ModbusGetData(address, 3, 116, 116)); }
//获取补水泵压力上下限 public static byte[] Get_addpumpmm(byte address) { return(DataInfo.ModbusGetData(address, 3, 189, 192)); }
//获取调节阀温度曲线 public static byte[] Get_valveline(byte address) { return(DataInfo.ModbusGetData(address, 3, 117, 132)); }
//获取调节阀分时调整 public static byte[] Get_valvetime(byte address) { return(DataInfo.ModbusGetData(address, 3, 133, 144)); }