| | |
| | | #include "valve_control.h" |
| | | #include "wireless_remote_comm.h" |
| | | #include "sizhu_ctrl_word.h" |
| | | #include "rs485_read_data.h" |
| | | |
| | | #define SOFT_SERIAL_NUMBER1 0x05 |
| | | #define SOFT_SERIAL_NUMBER2 0x00 |
| | |
| | | uint16_t pulse_width; |
| | | BAUDRATE_CODE baudrate_code; |
| | | PARITY_BIT parity_bit; |
| | | uint8_t output_voltage_code; |
| | | RS485_PWR_OUTPUT_SELECT output_voltage_code; |
| | | uint8_t slave_address; |
| | | |
| | | uint8_t broken_line_multiplex; //¶ÏÏ߸´Óà |
| | | |
| | | uint8_t sub_machine_num; |
| | | char flow_meter_serial_number; |
| | | |
| | |
| | | { |
| | | VALVE_BILLING_CHANGE_1_T balance_valve_ctrl_byte; |
| | | VALVE_BILLING_CHANGE_2_T conditional_valve_ctrl_byte; |
| | | uint16_t valve_close_ctl[2]; |
| | | int32_t balance_small_value[5]; |
| | | uint32_t cumulate_flow_value; |
| | | uint8_t no_gprs_days; |
| | | uint32_t cumulate_flow_threshold; |
| | | uint8_t no_wrc_days; |
| | | uint8_t no_use_gas_days; |
| | | uint8_t reserve[5]; |
| | | } BILLING_VALVE_CTRL_PATA_T; // ¼Æ·Ñ±¨¾¯\ÓÐÌõ¼þ¹Ø·§¿ØÖƲÎÊý |