#ifndef MODBUS_H
#define MODBUS_H

//继电器控制板modbus 地址
#define RELAY_ADDRESS  (0x01)
//比例调节阀modbus 地址
#define ADJUSTVALVE_ADDRESS  (0x03)

//比例球阀 modbus 地址
#define BALLVALVE_BUS_ADDRESS  (0x03)


//压力传感器modbus地址
#define PRESSURESENSOR_ADDRESS     (0x02)

unsigned short CRC16_MODBUS(unsigned char *puchMsg, unsigned int usDataLen);

#endif // MODBUS_H
