| | |
| | | #define _RS485_DATA_ANALYSIS_PRO_H_ |
| | | |
| | | #include "define_all.h" |
| | | #include "extern_rtc.h" |
| | | #include "system_mem_para.h" |
| | | |
| | | //////////////////devive code//////////////////////////// |
| | | #define SIZHUMODBUS1 0x0101 //˼ÖþÐÂ620modbus£¬×ÜÁ¿ÓÐ4×Ö½ÚÕûÊýºÍ2×Ö½ÚСÊý×é³É£¬µ«ÊÇÎÒÃÇÖ»¶ÁÈ¡ÕûÊý£¬ |
| | |
| | | |
| | | |
| | | |
| | | #endif |
| | | |
| | | |
| | | typedef struct |
| | | { |
| | | sClockBCD time_BCD; |
| | | struct realtime_flow_data cumulate_s; |
| | | float instant_sc; |
| | | float instant_wc; |
| | | float temperature; |
| | | float pressure; |
| | | uint8_t Status[8]; // »ã×ܵÄÁ÷Á¿¼Æ×´Ì¬£¬ |
| | | }FLOW_METER_DATA_T; |
| | | |
| | | |
| | | extern FLOW_METER_DATA_T flow_meter_data_g; |
| | | |
| | | void sendModbusReadFrame(uint8_t slaveAddress,uint16_t dataAddress,uint8_t regNum); |
| | | |
| | | |
| | | #endif |