esp网页监控面板框架已成,通讯解决
This commit is contained in:
@@ -31,11 +31,11 @@
|
||||
#define VOT_ADJUST_MIN 3.0f
|
||||
#define AMP_ADJUST_MAX 15.0f
|
||||
|
||||
#define VOT_ADJUST_DEF 5.0f
|
||||
#define AMP_ADJUST_DEF 1.0f
|
||||
#define VOT_ADJUST_DEF 20.0f
|
||||
#define AMP_ADJUST_DEF 15.0f
|
||||
#define POW_ADJUST_DEF 300.0f
|
||||
|
||||
#define VOT_PROTECT_K {0.9f,1.1f} // <20><>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5>
|
||||
#define VOT_PROTECT_K {0.0f,10.0f} // <20><>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5>
|
||||
#define AMP_PROTECT_K 1.1f // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5>
|
||||
|
||||
typedef struct
|
||||
@@ -47,6 +47,9 @@ typedef struct
|
||||
float quantity_C;
|
||||
float past_voltage_V[10];
|
||||
float past_current_A[10];
|
||||
uint16 voltage_protect_triggered;
|
||||
uint16 current_protect_triggered;
|
||||
uint16 power_protect_triggered;
|
||||
} Power_Out_Status_t;
|
||||
|
||||
typedef struct
|
||||
@@ -55,6 +58,9 @@ typedef struct
|
||||
int16 current_read_channel;
|
||||
float votK[2]; // <20><>ѹУϵ<D7BC><CFB5>
|
||||
float ampK[2]; // <20><><EFBFBD><EFBFBD>Уϵ<D7BC><CFB5>
|
||||
float vot_protect_k[2];
|
||||
float amp_protect_k;
|
||||
uint16 protect_trigger_cycles;
|
||||
low_pass_filter_t vot_filter;
|
||||
low_pass_filter_t amp_filter;
|
||||
low_pass_filter_t vot_adc_filter;
|
||||
|
||||
Reference in New Issue
Block a user