|
|
@ -13,7 +13,8 @@ namespace transmit_disfection_protocol { |
|
|
|
* DT600B |
|
|
|
* DT600B_LC_BOARD |
|
|
|
* DT600B_PC_BOARD |
|
|
|
* |
|
|
|
* VERSION 8 |
|
|
|
* 空压机和鼓风机添加新的方法 |
|
|
|
*/ |
|
|
|
|
|
|
|
#define MAX_PACKET_LEN 120
|
|
|
@ -330,22 +331,6 @@ typedef struct { |
|
|
|
|
|
|
|
typedef struct { |
|
|
|
int16_t power; |
|
|
|
int16_t state0; |
|
|
|
int16_t state1; |
|
|
|
int16_t state2; |
|
|
|
} ack_blower_state_t; |
|
|
|
|
|
|
|
// typedef struct {
|
|
|
|
// int16_t power;
|
|
|
|
// int16_t blowerI; // 风机电流 ma
|
|
|
|
// int16_t coolfanI; // 冷却风扇电流 ma
|
|
|
|
// int16_t blowerFbCNT; // 风机反馈CNT
|
|
|
|
// int16_t coolfanFbCnt; // 冷却风扇反馈CNT
|
|
|
|
// int16_t subDeviceErrorCode; // 从设备错误码
|
|
|
|
// } ack_blower_state_t;
|
|
|
|
|
|
|
|
typedef struct { |
|
|
|
int16_t power; |
|
|
|
int16_t airCompressorI; // 空压机电流 ma
|
|
|
|
int16_t airCompressorFbCnt; // 空压机反馈 CNT
|
|
|
|
} ack_ac_state_t; |
|
|
|