mppt/App/inc/hy_protocol.h

573 lines
30 KiB
C
Raw Permalink Normal View History

2024-10-12 02:23:32 +00:00
/*
* hy_protocol.h
*
* Created on: 2024<EFBFBD><EFBFBD>10<EFBFBD><EFBFBD>11<EFBFBD><EFBFBD>
* Author: psx
*/
#ifndef APP_INC_HY_PROTOCOL_H_
#define APP_INC_HY_PROTOCOL_H_
#include "debug.h"
#include "uart_dev.h"
#include "math.h"
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
typedef enum
{
HY_batteryStatus = 0x60, /* <20><><EFBFBD><EFBFBD>״̬<D7B4><CCAC><EFBFBD>ݱ<EFBFBD> */
HY_electricityStatistics = 0x61, /* <20><><EFBFBD><EFBFBD>ͳ<EFBFBD><CDB3><EFBFBD><EFBFBD><EFBFBD>ݱ<EFBFBD> */
HY_sensorNumberConfiguration = 0x62, /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
HY_sensorNumberInquiry = 0x63, /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ */
HY_chargingThresholdVoltageConfiguration = 0x64, /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD> */
HY_chargingRangeVoltageQuery = 0x65, /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5>ѹ<EFBFBD><D1B9>ѯ */
HY_resetInstruction = 0x66, /* <20><>λָ<CEBB><D6B8> */
HY_chargingControlConfiguration = 0x6C, /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
HY_chargingControlQuery = 0x6D, /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʋ<EFBFBD>ѯ */
HY_configureProtocolType = 0x70, /* <20><><EFBFBD><EFBFBD>Э<EFBFBD><D0AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
HY_responseConfigureProtocolType = 0x71, /* <20><>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD>Э<EFBFBD><D0AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
HY_queryControlBoxConfiguration = 0x74, /* <20><>ѯ<EFBFBD><D1AF><EFBFBD>ؿ<EFBFBD><D8BF>ƺе<C6BA>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD> */
HY_querySoftwareVersion = 0x75, /* <20><>ѯ<EFBFBD><D1AF><EFBFBD>ؿ<EFBFBD><D8BF>ƺ<EFBFBD><C6BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>汾 */
HY_enterConfigurationMode = 0x76, /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ */
HY_configureHardwareID = 0x7B, /* <20><><EFBFBD>ÿ<EFBFBD><C3BF>ƺ<EFBFBD>Ӳ<EFBFBD><D3B2>ID<49><44> */
HY_hardwareID_communicationIDQuery = 0x7C, /* <20><><EFBFBD>ƺ<EFBFBD>Ӳ<EFBFBD><D3B2>ID<49>ż<EFBFBD>ͨ<EFBFBD><CDA8>ID<49>ţ<EFBFBD>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD><C5A3><EFBFBD>ѯ */
HY_modifyCommunicationID = 0x7D, /* <20>޸<EFBFBD>ͨ<EFBFBD><CDA8>ID<49>ţ<EFBFBD>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD> */
HY_checkMotherboardTemperature = 0x7E, /* <20><>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ */
}HY_MsgFunctionCode;
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݰ<EFBFBD><DDB0>ij<EFBFBD><C4B3><EFBFBD> */
typedef enum
{
HY_analyzeStartFlag = 1, /* <20><><EFBFBD><EFBFBD>Ϊ1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC>־ */
HY_analyzeHardwareID = 7, /* <20><><EFBFBD><EFBFBD>Ϊ7ʱ<37><CAB1><EFBFBD><EFBFBD>Ӳ<EFBFBD><D3B2>ID */
HY_analyzeCommunicationID = 11, /* <20><><EFBFBD><EFBFBD>Ϊ10ʱ<30><CAB1><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8>ID */
HY_analyzeControlWord = 12, /* <20><><EFBFBD><EFBFBD>Ϊ12ʱ<32><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
HY_analyzeDataLen = 14, /* <20><><EFBFBD><EFBFBD>Ϊ14ʱ<34><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD><DDB3><EFBFBD> */
}HY_AnalyzeDataLen;
/* ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD>ʽΪ1<CEAA>ֽ<EFBFBD> */
#pragma pack(push,1)
/* Ĭ<>ϲ<EFBFBD><CFB2><EFBFBD> */
typedef struct _HY_default_Value{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_default_Value;
extern HY_default_Value HY_defaultValue;
/* Ĭ<>ϲ<EFBFBD><CFB2><EFBFBD> */
typedef struct _HY_Recv_pack{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
}HY_Recv_pack;
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EBB4A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
typedef void (*HYMsgProcFunc)(device_handle device, void*, uint32_t MsgLen);
typedef struct _HY_FunctionMsgProcTable{
u_int32_t msgId;
HYMsgProcFunc pMsgProc;
}HY_FuncionMsgProcTable;
/* <20><><EFBFBD><EFBFBD>״̬<D7B4><CCAC><EFBFBD>ݱ<EFBFBD><DDB1><EFBFBD>ѯ */
typedef struct _HY_batteryStatusQuery{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_batteryStatusQuery;
#define HY_batteryStatusQuery_PACK_SIZE (sizeof(HY_batteryStatusQuery))
/* <20><><EFBFBD><EFBFBD>״̬<D7B4><CCAC><EFBFBD>ݱ<EFBFBD><DDB1><EFBFBD>Ӧ */
typedef struct _HY_batteryStatusResponse{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
float_t batteryVoltage; /* <20><><EFBFBD>ص<EFBFBD>ѹ */
float_t dischargCurrent; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>أ<EFBFBD> */
float_t chargCurrent1; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>+<2B><><EFBFBD>أ<EFBFBD> */
float_t SOC; /* ʣ<><CAA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
float_t openCircuitVoltage1; /* <20><><EFBFBD>翪·<E7BFAA><C2B7>ѹ */
uint8_t chargSwitchStatus1; /* <20><><EFBFBD><EFBFBD><E7BFAA>״̬ */
float_t chargCurrent2; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>+<2B><><EFBFBD>أ<EFBFBD> */
float_t openCircuitVoltage2; /* <20><><EFBFBD>翪·<E7BFAA><C2B7>ѹ */
uint8_t chargSwitchStatus2; /* <20><><EFBFBD><EFBFBD><E7BFAA>״̬ */
float_t Mos_Temperature; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_batteryStatusResponse;
#define HY_batteryStatusResponse_PACK_SIZE (sizeof(HY_batteryStatusResponse))
/* <20><><EFBFBD><EFBFBD>ͳ<EFBFBD><CDB3><EFBFBD><EFBFBD><EFBFBD>ݱ<EFBFBD><DDB1><EFBFBD>ѯ */
typedef struct _HY_electricityStatisticsQuery{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_electricityStatisticsQuery;
#define HY_electricityStatisticsQuery_PACK_SIZE (sizeof(HY_electricityStatisticsQuery))
/* <20><><EFBFBD><EFBFBD>״̬<D7B4><CCAC><EFBFBD>ݱ<EFBFBD><DDB1><EFBFBD>Ӧ */
typedef struct _HY_electricityStatisticsResponse{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
float_t statisticalDuration; /* ͳ<><CDB3>ʱ<EFBFBD><CAB1> */
float_t totalElectricityConsumption; /* <20>ܵ<EFBFBD><DCB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
float_t totalChargCapacity; /* <20>ܳ<EFBFBD><DCB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_electricityStatisticsResponse;
#define HY_electricityStatisticsResponse_PACK_SIZE (sizeof(HY_electricityStatisticsResponse))
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
typedef struct _HY_sensorNumberConfig{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t newHardwareID[6]; /* <20><>Ӳ<EFBFBD><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں󣨱<DABA><F3A3A8B1>ֲ<EFBFBD><D6B2>䣩 */
uint8_t newCommunicationID[4]; /* <20><>ͨ<EFBFBD><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_sensorNumberConfig;
#define HY_sensorNumberConfiguration_PACK_SIZE (sizeof(HY_sensorNumberConfig))
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ */
typedef struct _HY_sensorNumberConfigurationResponse{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t state; /* ״̬ */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_sensorNumberConfigurationResponse;
#define HY_sensorNumberConfigurationResponse_PACK_SIZE (sizeof(HY_sensorNumberConfigurationResponse))
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ */
typedef struct _HY_sensorNumberInquiryQuery{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t broadcastTerminal[6]; /* <20><EFBFBD>ն<EFBFBD>ID:0xFF 0xFF 0xFF 0xFF 0xFF 0xFF */
uint8_t broadcastCommunication[4]; /* <20>㲥ͨ<E3B2A5><CDA8>ID:0xFF 0xFF 0xFF 0xFF */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_sensorNumberInquiryQuery;
#define HY_sensorNumberInquiryQuery_PACK_SIZE (sizeof(HY_sensorNumberInquiryQuery))
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ<EFBFBD><D1AF>Ӧ */
typedef struct _HY_sensorNumberInquiryResponse{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t hardwareIDR[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationIDR[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_sensorNumberInquiryResponse;
#define HY_sensorNumberInquiryResponse_PACK_SIZE (sizeof(HY_sensorNumberInquiryResponse))
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD> */
typedef struct _HY_chargingThresholdVoltageConfig{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
float_t chargOpenVoltage; /* <20><><EFBFBD><EFBFBD><E7BFAA><EFBFBD>ص<EFBFBD>ѹ */
float_t chargCloseVoltage; /* <20><><EFBFBD><EFBFBD><EFBFBD>ص<EFBFBD><D8B5>ص<EFBFBD>ѹ */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_chargingThresholdVoltageConfig;
#define HY_chargingThresholdVoltageConfig_PACK_SIZE (sizeof(HY_chargingThresholdVoltageConfig))
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ */
typedef struct _HY_chargingThresholdVoltageConfigResponse{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t state; /* ״̬ */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_chargingThresholdVoltageConfigResponse;
#define HY_chargingThresholdVoltageConfigResponse_PACK_SIZE (sizeof(HY_chargingThresholdVoltageConfigResponse))
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5>ѹ<EFBFBD><D1B9>ѯ */
typedef struct _HY_chargRangeVoltageQuery{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_chargRangeVoltageQuery;
#define HY_chargRangeVoltageQuery_PACK_SIZE (sizeof(HY_chargRangeVoltageQuery))
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5>ѹ<EFBFBD><D1B9>ѯ<EFBFBD><D1AF>Ӧ */
typedef struct _HY_chargRangeVoltageQueryResponse{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
float_t chargOpenVoltage; /* <20><><EFBFBD><EFBFBD><E7BFAA><EFBFBD>ص<EFBFBD>ѹ */
float_t chargCloseVoltage; /* <20><><EFBFBD><EFBFBD><EFBFBD>ص<EFBFBD><D8B5>ص<EFBFBD>ѹ */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_chargRangeVoltageQueryResponse;
#define HY_chargRangeVoltageQueryResponse_PACK_SIZE (sizeof(HY_chargRangeVoltageQueryResponse))
/* <20><>λָ<CEBB><D6B8> */
typedef struct _HY_resetInstructionQuery{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_resetInstructionQuery;
#define HY_resetInstructionQuery_PACK_SIZE (sizeof(HY_resetInstructionQuery))
/* <20><>λָ<CEBB><D6B8><EFBFBD><EFBFBD>Ӧ */
typedef struct _HY_resetInstructionResponse{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t state; /* ״̬ */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_resetInstructionResponse;
#define HY_resetInstructionResponse_PACK_SIZE (sizeof(HY_resetInstructionResponse))
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
typedef struct _HY_chargingControlConfig{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t chargInterface; /* <20><><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD> */
uint8_t chargInterfaceControl; /* <20><><EFBFBD><EFBFBD><EFBFBD>ӿڿ<D3BF><DABF><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_chargingControlConfig;
#define HY_chargingControlConfig_PACK_SIZE (sizeof(HY_chargingControlConfig))
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ */
typedef struct _HY_chargingControlConfigResponse{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t state; /* ״̬ */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_chargingControlConfigResponse;
#define HY_chargingControlConfigResponse_PACK_SIZE (sizeof(HY_chargingControlConfigResponse))
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʋ<EFBFBD>ѯ */
typedef struct _HY_QueryChargingControl{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_QueryChargingControl;
#define HY_QueryChargingControl_PACK_SIZE (sizeof(HY_QueryChargingControl))
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʋ<EFBFBD>ѯ<EFBFBD><D1AF>Ӧ */
typedef struct _HY_QueryChargingControlResponse{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t chargInterface; /* <20><><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD>״̬ */
uint8_t chargInterfaceControl; /* <20><><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD>״̬ */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_QueryChargingControlResponse;
#define HY_QueryChargingControlResponse_PACK_SIZE (sizeof(HY_QueryChargingControlResponse))
/* <20><><EFBFBD><EFBFBD>Э<EFBFBD><D0AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
typedef struct _HY_configProtocolType{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t protocolType; /* Э<><D0AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>; 0x01<30><31>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>ԴЭ<D4B4><D0AD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>9600) 0x02<30><32>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Э<EFBFBD><D0AD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>115200)*/
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_configProtocolType;
#define HY_configProtocolType_PACK_SIZE (sizeof(HY_configProtocolType))
/* <20><><EFBFBD><EFBFBD>Э<EFBFBD><D0AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ */
typedef struct _HY_configProtocolTypeResponse{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t state; /* ״̬ */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_configProtocolTypeResponse;
#define HY_configProtocolTypeResponse_PACK_SIZE (sizeof(HY_configProtocolTypeResponse))
/* <20><>ѯ<EFBFBD><D1AF><EFBFBD>ؿ<EFBFBD><D8BF>ƺе<C6BA>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD> */
typedef struct _HY_queryControlBoxConfigurationQuery{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_queryControlBoxConfigurationQuery;
#define HY_queryControlBoxConfigurationQuery_PACK_SIZE (sizeof(HY_queryControlBoxConfigurationQuery))
/* <20><>ѯ<EFBFBD><D1AF><EFBFBD>ؿ<EFBFBD><D8BF>ƺе<C6BA>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ */
typedef struct _HY_queryControlBoxConfigurationResponse{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t protocolType; /* Э<><D0AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>; 0x01<30><31>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>ԴЭ<D4B4><D0AD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>9600) 0x02<30><32>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Э<EFBFBD><D0AD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>115200)*/
uint8_t voltageLevel; /* <20><>ѹ<EFBFBD>ȼ<EFBFBD> */
uint8_t mainBoardTemperatureSensorType; /* <20><><EFBFBD><EFBFBD><EFBFBD>¶ȴ<C2B6><C8B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t batteryTemperatureSensorType; /* <20><><EFBFBD><EFBFBD><EFBFBD>¶ȴ<C2B6><C8B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_queryControlBoxConfigurationResponse;
#define HY_queryControlBoxConfigurationResponse_PACK_SIZE (sizeof(HY_queryControlBoxConfigurationResponse))
/* <20><>ѯ<EFBFBD><D1AF><EFBFBD>ؿ<EFBFBD><D8BF>ƺ<EFBFBD><C6BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>汾 */
typedef struct _HY_SoftwareVersionQuery{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_SoftwareVersionQuery;
#define HY_SoftwareVersionQuery_PACK_SIZE (sizeof(HY_SoftwareVersionQuery))
/* <20><>ѯ<EFBFBD><D1AF><EFBFBD>ؿ<EFBFBD><D8BF>ƺ<EFBFBD><C6BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>汾 */
typedef struct _HY_SoftwareVersionQueryResponse{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t versionInformation[13]; /* <20><EFBFBD><E6B1BE>Ϣ */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_SoftwareVersionQueryResponse;
#define HY_SoftwareVersionQueryResponse_PACK_SIZE (sizeof(HY_SoftwareVersionQueryResponse))
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ */
typedef struct _HY_enterConfigMode{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_enterConfigMode;
#define HY_enterConfigMode_PACK_SIZE (sizeof(HY_enterConfigMode))
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ<C4A3><CABD>Ӧ */
typedef struct _HY_enterConfigModeResponse{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t state; /* ״̬ */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_enterConfigModeResponse;
#define HY_enterConfigModeResponse_PACK_SIZE (sizeof(HY_enterConfigModeResponse))
/* <20><><EFBFBD>ÿ<EFBFBD><C3BF>ƺ<EFBFBD>Ӳ<EFBFBD><D3B2>ID<49><44> */
typedef struct _HY_configHardwareID{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t newHardwareID[6]; /* <20><>Ӳ<EFBFBD><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_configHardwareID;
#define HY_configHardwareID_PACK_SIZE (sizeof(HY_configHardwareID))
/* <20><><EFBFBD>ÿ<EFBFBD><C3BF>ƺ<EFBFBD>Ӳ<EFBFBD><D3B2>ID<49><44> <20><>Ӧ*/
typedef struct _HY_configHardwareIDResponse{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t state; /* ״̬ */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_configHardwareIDResponse;
#define HY_configHardwareIDResponse_PACK_SIZE (sizeof(HY_configHardwareIDResponse))
///* <20><><EFBFBD>ƺ<EFBFBD>Ӳ<EFBFBD><D3B2>ID<49>ż<EFBFBD>ͨ<EFBFBD><CDA8>ID<49>ţ<EFBFBD>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD><C5A3><EFBFBD>ѯ */
//typedef struct _HY_QueryhardwareID_communicationID{
// uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
// uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
// uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
// uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
// uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
// uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
// uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
// uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
//}HY_QueryhardwareID_communicationID;
//#define HY_QueryhardwareID_communicationID_PACK_SIZE (sizeof(HY_QueryhardwareID_communicationID))
/* <20>޸<EFBFBD>ͨ<EFBFBD><CDA8>ID<49>ţ<EFBFBD>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD> */
typedef struct _HY_modifyCommunicationIDChange{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t nowHardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t newcommunicationID[4]; /* <20><>ͨ<EFBFBD><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_modifyCommunicationIDChange;
#define HY_modifyCommunicationIDChange_PACK_SIZE (sizeof(HY_modifyCommunicationIDChange))
/* <20>޸<EFBFBD>ͨ<EFBFBD><CDA8>ID<49>ţ<EFBFBD>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD><C5A3><EFBFBD>Ӧ */
typedef struct _HY_modifyCommunicationIDChangeResponse{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t state; /* ״̬ */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_modifyCommunicationIDChangeResponse;
#define HY_modifyCommunicationIDChangeResponse_PACK_SIZE (sizeof(HY_modifyCommunicationIDChangeResponse))
/* <20><>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ */
typedef struct _HY_checkMotherboardTemperatureQuery{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_checkMotherboardTemperatureQuery;
#define HY_checkMotherboardTemperatureQuery_PACK_SIZE (sizeof(HY_checkMotherboardTemperatureQuery))
/* <20><>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5>Ӧ */
typedef struct _HY_checkMotherboardTemperatureResponse{
uint8_t start_Flag; /* <20><>ʼ<EFBFBD><CABC>־ */
uint8_t hardwareID[6]; /* Ӳ<><D3B2>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t communicationID[4]; /* ͨ<><CDA8>ID<49><44><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
uint8_t controlWord; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint8_t dataLen[2]; /* <20><><EFBFBD>ݳ<EFBFBD><DDB3>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ں<EFBFBD> */
float_t MotherboardTemperature; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint32_t frameNumber; /* ֡<><D6A1><EFBFBD><EFBFBD> */
uint8_t check_Bit; /* У<><D0A3><EFBFBD><EFBFBD> */
uint8_t end_Flag; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־ */
}HY_checkMotherboardTemperatureResponse;
#define HY_checkMotherboardTemperatureResponse_PACK_SIZE (sizeof(HY_checkMotherboardTemperatureResponse))
/* <20>ָ<EFBFBD>Ĭ<EFBFBD>ϵĶ<CFB5><C4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
#pragma pack(pop)
uint8_t HY_CheckFunc(uint8_t *arr_buff, uint8_t len);
void HY_read_and_process_uart_data(device_handle device);
#endif /* APP_INC_HY_PROTOCOL_H_ */