39 lines
1.1 KiB
C
39 lines
1.1 KiB
C
|
|
#ifndef USER_FORM_PRESENT
|
|||
|
|
#define USER_FORM_PRESENT
|
|||
|
|
|
|||
|
|
#include "type.h"
|
|||
|
|
|
|||
|
|
void Form_Refresh();
|
|||
|
|
void Form_OnKey(u8 key);
|
|||
|
|
void Form_OnTimer();
|
|||
|
|
void Form_ResetTimer();
|
|||
|
|
|
|||
|
|
void Form_Start();
|
|||
|
|
|
|||
|
|
// <20>Ƿ<EFBFBD><C7B7>ڲ<EFBFBD><DAB2>Խ<EFBFBD><D4BD><EFBFBD>
|
|||
|
|
uint8_t MeterInSamplePage();
|
|||
|
|
|
|||
|
|
// <20>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>װ
|
|||
|
|
extern volatile uint8_t Charge_Enabled, last_Charge_Enabled, Anti_Enabled;
|
|||
|
|
extern volatile uint32_t Charge_Pulse_Time, Anti_Pulse_Time;
|
|||
|
|
|
|||
|
|
// <20>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
extern volatile uint8_t Alarm_Enabled, Low_Alarm_Enabled, Leak_Alarm_Enabled;
|
|||
|
|
extern volatile uint8_t Press_Alarm_Enabled, Low_Press_Alarm_Enabled, ExtPress_Alarm_Enabled, Low_ExtPress_Alarm_Enabled;
|
|||
|
|
extern volatile uint8_t Alarm_Output, Low_Alarm_Output, Leak_Alarm_Output;
|
|||
|
|
extern volatile uint8_t Press_Alarm_Output, Low_Press_Alarm_Output, ExtPress_Alarm_Output, Low_ExtPress_Alarm_Output;
|
|||
|
|
|
|||
|
|
// <20>Ƿ<EFBFBD>ƥ<EFBFBD><C6A5><EFBFBD>۳<EFBFBD>
|
|||
|
|
extern volatile uint8_t Truck_Matched, Truck_Charging;
|
|||
|
|
extern volatile uint8_t Match_Charging; // <20>س<EFBFBD><D8B3><EFBFBD><EFBFBD>䣬δ<E4A3AC><CEB4><EFBFBD><EFBFBD>
|
|||
|
|
|
|||
|
|
// <20><>Һ<EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>
|
|||
|
|
extern volatile uint32_t Pump_Stop_Time;
|
|||
|
|
extern volatile uint8_t Pump_Stop_posState;
|
|||
|
|
extern volatile uint32_t Pump_Stop_Longitude, Pump_Stop_Latitude;
|
|||
|
|
|
|||
|
|
// <20>ֶ<EFBFBD><D6B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>װ
|
|||
|
|
extern volatile uint8_t Manual_Charing;
|
|||
|
|
|
|||
|
|
#endif
|