charge_protobuf

package
v0.0.0-...-85027f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package charge_protobuf is a generated protocol buffer package.

It is generated from these files:

chargeprotobuf20221103.proto

It has these top-level messages:

HeartbeatReq
HeartbeatAns
CommAns
Int32Value
DoubleValue
LoginReq
LoginAns
OfflineReq
OfflineAns
StartChargeCmdReq
StartChargeCmdAns
StopChargeCmdReq
StopChargeCmdAns
StartChargeReq
StartChargeAns
StopChargeReq
StopChargeAns
SuspendChargeReq
SuspendChargeAns
ResumeChargeReq
ResumeChargeAns
BillUploadReq
BillUploadAns
ChargerStateChangeReq
ChargerStateChangeAns
ChargerStateReq
ChargerStateAns
AccountDetailReq
AccountDetailAns
AccountSyncReq
AccountSyncAns
PowerCruveCmdReq
PowerCruveCmdAns
BmsParamNotifyReq
BmsParamNotifyAns
TelemetryReq
TelemetryAns
StateReq
StateAns
BmsReq
BmsAns
TelemetryNotifyReq
TelemetryNotifyAns
StateNotifyReq
StateNotifyAns
BmsNotifyReq
BmsNotifyAns
BillsNotConfirmedReq
BillsNotConfirmedAns
SpecificBillReq
SpecificBillAns
ErrorAns
AccountInfo
AccountingStrategy
BillInfo
BillFeeType
CarInfo
CardInfo
ChargerState
ChargingStrategy
StartChargeStrategy
ChargeFrozen
DischargeFrozen
MasterSlaveInfo
BmsShakehands
BmsConfig
BmsChargeFinish
BmsCharging
QueueSequence
SetGunGroupInfoReq
GunGroupType
GunGroupInfoReq
GunGroupInfoAns
TurnToEmergencyCmdReq
TurnToEmergencyCmdAns
ClearAccountCmdReq
ClearAccountCmdAns
CallAllDataReq
ParkStateChangeReq
ParkingAlarmType
ParkStateCallReq
ParkParaGetReq
ParkParaGetAns
ParkParamInfo
LockCmdReq
LockCmdAck
LockCmdAns
LockCmdAnsAck
LockStateChangeReq
LockParaSetReq
LockParaSetAck
LockParaSetAns
LockParaSetAnsAck
OutputRelayYkCmqReq
OutputRelayYkAck
OutputRelayYkAns
OutputRelayYkAnsAck
MeterCallReq
MeterCallAck
MeterNotifyReq
MeterCallAns
MeterParaSetReq
MeterParaSetAns
CanPileNumReq
CanPileNumAns
AmmeterCurrent
AmmeterHourFreeze
AmmeterDayFreeze
AmmeterSettlement
VinPlateNotiftReq
VinPlateNotiftAns
RebootDevReq
RebootDevAns
GetDevVersionReq
GetDevVersionAns
GetDevConfigReq
EmergencyDetailConfigReq
EmergencyConfigReq
SetChargeModReq
SetChargeModAns
SetGroupStrategyReq
SetGroupStrategyAns
QueryButtonStatusReq
QueryButtonStatusAns
SendClosePowerFailureReq
SendClosePowerFailureAns
SwitchAuxPowerReq
SwitchAuxPowerAns
SendShutDownLinkWithReasonReq
SendShutDownLinkWithReasonAns
DevUpdateCmd
DevUpdateCmdAns
ActiveProtecParametersAns
CMSDataReq
MeterActiveUploadReq
ActiveProtecParameters
AlarmLists
CtrlConfigInfoCall
CtrlConfigInfoAns
ConfigInfoType
DevCodeInfoReq
DevCodeInfoAns
GetChargeLimitReq
GetChargeLimitAns
GetChargeFeeReq
GetChargeFeeAns
CreateV2GCurveCmdReq
CreateV2GCurveCmdAns
V2GCurveResultReq
V2GCurveResultAns
CtrlGetCarInfoReq
CtrlGetCarInfoAns
SetOfflineLoadCtrlStrategyReq
OfflineLoadCtrlStrategy
SetOfflineLoadCtrlStrategyAns
HLHTMessageReq
ReserveCmdReq
ReserveCmdAns
VirtualLoadCheckReq
VirtualLoadCheckAns
VirtualLoadMeterReq
VirtualLoadMeterAns
V2GCurve
TimeChargeActionType
DateTime

Index

Constants

This section is empty.

Variables

View Source
var AccountType_name = map[int32]string{
	0: "DefaultAccountType",
	1: "User",
	2: "Card",
	3: "Vin",
	4: "Plate",
}
View Source
var AccountType_value = map[string]int32{
	"DefaultAccountType": 0,
	"User":               1,
	"Card":               2,
	"Vin":                3,
	"Plate":              4,
}
View Source
var BillStatus_name = map[int32]string{
	0:  "DefaultBill",
	1:  "ChargingBillStatus",
	2:  "QueueingBillStatus",
	3:  "FinishedBillStatus",
	9:  "StartChargeFailedBillStatus",
	10: "StopChargeFailedBillStatus",
}
View Source
var BillStatus_value = map[string]int32{
	"DefaultBill":                 0,
	"ChargingBillStatus":          1,
	"QueueingBillStatus":          2,
	"FinishedBillStatus":          3,
	"StartChargeFailedBillStatus": 9,
	"StopChargeFailedBillStatus":  10,
}
View Source
var BillType_name = map[int32]string{
	0: "DefaultBillType",
	1: "ChargingBill",
}
View Source
var BillType_value = map[string]int32{
	"DefaultBillType": 0,
	"ChargingBill":    1,
}
View Source
var BoolEnum_name = map[int32]string{
	0: "DefaultBool",
	1: "True",
	2: "False",
}
View Source
var BoolEnum_value = map[string]int32{
	"DefaultBool": 0,
	"True":        1,
	"False":       2,
}
View Source
var ChargeDischarge_name = map[int32]string{
	0: "DefaultChargeDischarge",
	1: "StopChargeType",
	2: "StopDischargeType",
}
View Source
var ChargeDischarge_value = map[string]int32{
	"DefaultChargeDischarge": 0,
	"StopChargeType":         1,
	"StopDischargeType":      2,
}
View Source
var ChargeRequestType_name = map[int32]string{
	0: "DefaultChargeRequestType",
	1: "VinCharge",
	2: "PlateCharge",
	3: "CardCharge",
	4: "UserCodeCharge",
}
View Source
var ChargeRequestType_value = map[string]int32{
	"DefaultChargeRequestType": 0,
	"VinCharge":                1,
	"PlateCharge":              2,
	"CardCharge":               3,
	"UserCodeCharge":           4,
}
View Source
var ChargerStateEnum_name = map[int32]string{
	0:  "DefaultChargerState",
	1:  "Standby",
	2:  "Plug",
	3:  "Waiting",
	4:  "Queueing",
	5:  "Finished",
	6:  "Fulled",
	17: "Charging",
	18: "Changing",
	19: "Pause",
	20: "Restrict",
	21: "EVPause",
	22: "CtrlPause",
	23: "PlatformPause",
	33: "Starting",
	34: "Offline",
	35: "Sublance",
	36: "Discharging",
	37: "Fault",
	38: "Dispatching",
}
View Source
var ChargerStateEnum_value = map[string]int32{
	"DefaultChargerState": 0,
	"Standby":             1,
	"Plug":                2,
	"Waiting":             3,
	"Queueing":            4,
	"Finished":            5,
	"Fulled":              6,
	"Charging":            17,
	"Changing":            18,
	"Pause":               19,
	"Restrict":            20,
	"EVPause":             21,
	"CtrlPause":           22,
	"PlatformPause":       23,
	"Starting":            33,
	"Offline":             34,
	"Sublance":            35,
	"Discharging":         36,
	"Fault":               37,
	"Dispatching":         38,
}
View Source
var ChargingMode_name = map[int32]string{
	0: "DefaultChargingMode",
	1: "VoltageStable",
	2: "CurrentStable",
}
View Source
var ChargingMode_value = map[string]int32{
	"DefaultChargingMode": 0,
	"VoltageStable":       1,
	"CurrentStable":       2,
}
View Source
var CruveType_name = map[int32]string{
	0: "DefaultCruveType",
	1: "SuggestPower",
	2: "SuggestSoc",
}
View Source
var CruveType_value = map[string]int32{
	"DefaultCruveType": 0,
	"SuggestPower":     1,
	"SuggestSoc":       2,
}
View Source
var CtrlHardwareType_name = map[int32]string{
	0: "DefaultCtrlHardwareType",
	1: "SplitType",
	2: "IntigratedType",
}
View Source
var CtrlHardwareType_value = map[string]int32{
	"DefaultCtrlHardwareType": 0,
	"SplitType":               1,
	"IntigratedType":          2,
}
View Source
var EndReason_name = map[int32]string{
	0:   "DefaultEndReason",
	1:   "BMSEnd1",
	2:   "PlatformEnd",
	3:   "ManuallySetConditionEnd",
	4:   "ManuallyClickDCInterfaceEnd",
	5:   "ChargerFaultEnd",
	6:   "ConnectorAbnormalEnd",
	7:   "ConnectorExtractEnd",
	19:  "ForcedSwitchEnd",
	20:  "MainConnectorAbnormalEnd",
	21:  "AssistedConnectorAbnormalEnd",
	22:  "ElectronicLockAbnormalEnd",
	33:  "ChargingVoltageAbnormalEnd",
	34:  "ChargingCurrentAbnormalEnd",
	35:  "ChargingCurrentMismatchingEnd",
	36:  "ChargingVoltageMismatchingEnd",
	37:  "ControllerCommunicationFaltEnd",
	38:  "MeterCommunicationFaltEnd",
	39:  "BackstaCommunicationEnd",
	40:  "SOCFullEnd",
	41:  "SystemModelTypeConversionEnd",
	49:  "PowerFailEnd",
	50:  "ActiveProtectionBatteryOverTempEnd",
	51:  "ActiveProtectionBatteryLowTempEnd",
	52:  "ActiveProtectionBatteryTempOutOfControlEnd",
	53:  "ActiveProtectionBatteryOverChargeEnd",
	54:  "BMSAssistedPowerAbnormalEnd",
	55:  "BMSConnectorOpenCircuitFaltEnd",
	56:  "ActiveProtectionBMSDataSuperRange",
	57:  "PDUOverTempEnd",
	58:  "ActiveProtectionBatteryPortVoltageAbnormalEnd",
	65:  "VehicleControllerFaltEnd",
	66:  "GuidanceCircuit",
	67:  "DrawGunEnd",
	68:  "DeviceOverTempEnd",
	69:  "OverCurrentEnd",
	70:  "OverChargeEnd",
	71:  "UnderVoltageEnd",
	81:  "CPLineLowVoltageFaultEnd",
	82:  "CreepageFaultEnd",
	83:  "ChargingGunSocketOverTempEnd",
	84:  "RelayAbnormalEnd",
	85:  "CANIDConflictEnd",
	86:  "ActiveProtectionBatteryMonomerOverVoltageEnd",
	87:  "ActiveProtectionBatteryEntiretyOverVoltageEnd",
	88:  "MeterCheckoutErrorEnd",
	97:  "BMSCommunicationOvertimeEnd",
	98:  "ElectricityCanontSupplyEnd",
	99:  "FanFaultEnd",
	100: "EmergencyEnd",
	101: "ChargerInsulationAbnormalEnd",
	102: "ChargerHaveNoAvailableModule",
	103: "VehicleBMSAdhesionEnd",
	113: "NotGetVINorPlateEnd",
	114: "FuseFaultEnd",
	115: "ModuleMatchingAbnormalEnd",
	116: "VehicleBatteryReachTargetSOCEnd",
	117: "VehicleReachTotalVoltageEnd",
	118: "VehicleReachMonomerVoltageTargetEnd",
	119: "VehicleBMSInsulationFaultEnd",
	129: "VehicleOutputConnectorOverTempFaultEnd",
	130: "VehicleBMSComponentOrOutputConnectorOverTempEnd",
	131: "VehicleChargingConnectorFaultEnd",
	132: "VehicleBatteryGroupOverTempFaultEnd",
	133: "VehicleHighVoltageRelayFaultEnd",
	134: "VehicleDetectionPointCC2VoltageDetectFaultEnd",
	135: "VehicleOtherFault",
	136: "VehicleOverCurrentEnd",
	137: "VehicleVoltageAbnormalEnd",
	138: "BMSEnd2",
	145: "CtrlDisplayEnd",
	146: "CtrlOfflineSwingCardEnd",
	147: "CtrlElectricityAbnormalEnd",
	148: "CtrlAvoidPeakFunctionEnd",
}
View Source
var EndReason_value = map[string]int32{
	"DefaultEndReason":                                0,
	"BMSEnd1":                                         1,
	"PlatformEnd":                                     2,
	"ManuallySetConditionEnd":                         3,
	"ManuallyClickDCInterfaceEnd":                     4,
	"ChargerFaultEnd":                                 5,
	"ConnectorAbnormalEnd":                            6,
	"ConnectorExtractEnd":                             7,
	"ForcedSwitchEnd":                                 19,
	"MainConnectorAbnormalEnd":                        20,
	"AssistedConnectorAbnormalEnd":                    21,
	"ElectronicLockAbnormalEnd":                       22,
	"ChargingVoltageAbnormalEnd":                      33,
	"ChargingCurrentAbnormalEnd":                      34,
	"ChargingCurrentMismatchingEnd":                   35,
	"ChargingVoltageMismatchingEnd":                   36,
	"ControllerCommunicationFaltEnd":                  37,
	"MeterCommunicationFaltEnd":                       38,
	"BackstaCommunicationEnd":                         39,
	"SOCFullEnd":                                      40,
	"SystemModelTypeConversionEnd":                    41,
	"PowerFailEnd":                                    49,
	"ActiveProtectionBatteryOverTempEnd":              50,
	"ActiveProtectionBatteryLowTempEnd":               51,
	"ActiveProtectionBatteryTempOutOfControlEnd":      52,
	"ActiveProtectionBatteryOverChargeEnd":            53,
	"BMSAssistedPowerAbnormalEnd":                     54,
	"BMSConnectorOpenCircuitFaltEnd":                  55,
	"ActiveProtectionBMSDataSuperRange":               56,
	"PDUOverTempEnd":                                  57,
	"ActiveProtectionBatteryPortVoltageAbnormalEnd":   58,
	"VehicleControllerFaltEnd":                        65,
	"GuidanceCircuit":                                 66,
	"DrawGunEnd":                                      67,
	"DeviceOverTempEnd":                               68,
	"OverCurrentEnd":                                  69,
	"OverChargeEnd":                                   70,
	"UnderVoltageEnd":                                 71,
	"CPLineLowVoltageFaultEnd":                        81,
	"CreepageFaultEnd":                                82,
	"ChargingGunSocketOverTempEnd":                    83,
	"RelayAbnormalEnd":                                84,
	"CANIDConflictEnd":                                85,
	"ActiveProtectionBatteryMonomerOverVoltageEnd":    86,
	"ActiveProtectionBatteryEntiretyOverVoltageEnd":   87,
	"MeterCheckoutErrorEnd":                           88,
	"BMSCommunicationOvertimeEnd":                     97,
	"ElectricityCanontSupplyEnd":                      98,
	"FanFaultEnd":                                     99,
	"EmergencyEnd":                                    100,
	"ChargerInsulationAbnormalEnd":                    101,
	"ChargerHaveNoAvailableModule":                    102,
	"VehicleBMSAdhesionEnd":                           103,
	"NotGetVINorPlateEnd":                             113,
	"FuseFaultEnd":                                    114,
	"ModuleMatchingAbnormalEnd":                       115,
	"VehicleBatteryReachTargetSOCEnd":                 116,
	"VehicleReachTotalVoltageEnd":                     117,
	"VehicleReachMonomerVoltageTargetEnd":             118,
	"VehicleBMSInsulationFaultEnd":                    119,
	"VehicleOutputConnectorOverTempFaultEnd":          129,
	"VehicleBMSComponentOrOutputConnectorOverTempEnd": 130,
	"VehicleChargingConnectorFaultEnd":                131,
	"VehicleBatteryGroupOverTempFaultEnd":             132,
	"VehicleHighVoltageRelayFaultEnd":                 133,
	"VehicleDetectionPointCC2VoltageDetectFaultEnd":   134,
	"VehicleOtherFault":                               135,
	"VehicleOverCurrentEnd":                           136,
	"VehicleVoltageAbnormalEnd":                       137,
	"BMSEnd2":                                         138,
	"CtrlDisplayEnd":                                  145,
	"CtrlOfflineSwingCardEnd":                         146,
	"CtrlElectricityAbnormalEnd":                      147,
	"CtrlAvoidPeakFunctionEnd":                        148,
}
View Source
var ErrorCode_name = map[int32]string{
	0:   "DefaultErrorCode",
	16:  "StartSymbolError",
	32:  "HeaderLengthError",
	48:  "EncodingTypeError",
	64:  "ProtocolVersionError",
	80:  "MessageTypeError",
	96:  "CtrlAddrError",
	112: "ParseError",
	128: "ApplicationError",
	144: "GenericError",
}
View Source
var ErrorCode_value = map[string]int32{
	"DefaultErrorCode":     0,
	"StartSymbolError":     16,
	"HeaderLengthError":    32,
	"EncodingTypeError":    48,
	"ProtocolVersionError": 64,
	"MessageTypeError":     80,
	"CtrlAddrError":        96,
	"ParseError":           112,
	"ApplicationError":     128,
	"GenericError":         144,
}
View Source
var FailReason_name = map[int32]string{
	0:  "DefaultFailReason",
	1:  "GetStationError",
	2:  "CannotGetStation",
	3:  "GetCardInfoError",
	4:  "CannotGetCardInfo",
	5:  "GetAccountInfoError",
	6:  "CannotGetAccountInfo",
	7:  "GetStategyError",
	8:  "CannotGetStategy",
	9:  "GetChargeInfoError",
	17: "CtrlOffline",
	18: "HeaderDecodeError",
	19: "PayloadDecodeError",
}
View Source
var FailReason_value = map[string]int32{
	"DefaultFailReason":    0,
	"GetStationError":      1,
	"CannotGetStation":     2,
	"GetCardInfoError":     3,
	"CannotGetCardInfo":    4,
	"GetAccountInfoError":  5,
	"CannotGetAccountInfo": 6,
	"GetStategyError":      7,
	"CannotGetStategy":     8,
	"GetChargeInfoError":   9,
	"CtrlOffline":          17,
	"HeaderDecodeError":    18,
	"PayloadDecodeError":   19,
}
View Source
var GetCarInfoFailReason_name = map[int32]string{
	0: "DefaultGetCarInfoFailReason",
	1: "InvalidParam",
	2: "PlatSysErr",
	3: "NotFound",
	4: "ReqCarInfoFieldTypeNotExist",
}
View Source
var GetCarInfoFailReason_value = map[string]int32{
	"DefaultGetCarInfoFailReason": 0,
	"InvalidParam":                1,
	"PlatSysErr":                  2,
	"NotFound":                    3,
	"ReqCarInfoFieldTypeNotExist": 4,
}
View Source
var MeasureType_name = map[int32]string{
	0:  "DefaultMeasureType",
	1:  "Va",
	2:  "Vb",
	3:  "Vc",
	4:  "Vdc",
	17: "Ia",
	18: "Ib",
	19: "Ic",
	20: "Idc",
	21: "N",
	33: "P",
	34: "Q",
	35: "PF",
	36: "VU",
	37: "CU",
	49: "Fap",
	50: "Rap",
	51: "Frp",
	52: "Rrp",
	53: "LimitI",
	64: "AlternateChargeVolume",
	65: "AlternatePendingTime",
	66: "AlternateRemainChargeTime",
}
View Source
var MeasureType_value = map[string]int32{
	"DefaultMeasureType":        0,
	"Va":                        1,
	"Vb":                        2,
	"Vc":                        3,
	"Vdc":                       4,
	"Ia":                        17,
	"Ib":                        18,
	"Ic":                        19,
	"Idc":                       20,
	"N":                         21,
	"P":                         33,
	"Q":                         34,
	"PF":                        35,
	"VU":                        36,
	"CU":                        37,
	"Fap":                       49,
	"Rap":                       50,
	"Frp":                       51,
	"Rrp":                       52,
	"LimitI":                    53,
	"AlternateChargeVolume":     64,
	"AlternatePendingTime":      65,
	"AlternateRemainChargeTime": 66,
}
View Source
var OfflineReason_name = map[int32]string{
	0:   "DefaultOfflineReason",
	1:   "ConnectionLost",
	2:   "PowerOff",
	3:   "HeartbeatTimeout",
	4:   "CloudActiveDown",
	5:   "TCPWriteError",
	6:   "DataCenterSwitch",
	7:   "RemoteRestartCmd",
	8:   "RemoteUpgrade",
	9:   "DoorOpenPowerOff",
	255: "OtherReason",
}
View Source
var OfflineReason_value = map[string]int32{
	"DefaultOfflineReason": 0,
	"ConnectionLost":       1,
	"PowerOff":             2,
	"HeartbeatTimeout":     3,
	"CloudActiveDown":      4,
	"TCPWriteError":        5,
	"DataCenterSwitch":     6,
	"RemoteRestartCmd":     7,
	"RemoteUpgrade":        8,
	"DoorOpenPowerOff":     9,
	"OtherReason":          255,
}
View Source
var ParkingAlarmCodeEnum_name = map[int32]string{
	0: "DefaultParkingAlarmEnum",
	2: "CameraFault",
	3: "SensorFault",
	4: "BuzzerFault",
	5: "LowBattery",
	6: "MotorFault",
	7: "Reserved1",
}
View Source
var ParkingAlarmCodeEnum_value = map[string]int32{
	"DefaultParkingAlarmEnum": 0,
	"CameraFault":             2,
	"SensorFault":             3,
	"BuzzerFault":             4,
	"LowBattery":              5,
	"MotorFault":              6,
	"Reserved1":               7,
}
View Source
var ParkingStatusEnum_name = map[int32]string{
	0: "Unknow",
	1: "ParkingOccupy",
	2: "ParkingIdle",
}
View Source
var ParkingStatusEnum_value = map[string]int32{
	"Unknow":        0,
	"ParkingOccupy": 1,
	"ParkingIdle":   2,
}
View Source
var RegistrationStatus_name = map[int32]string{
	0: "DefaultRegistrationStatus",
	1: "Accepted",
	2: "Rejected",
}
View Source
var RegistrationStatus_value = map[string]int32{
	"DefaultRegistrationStatus": 0,
	"Accepted":                  1,
	"Rejected":                  2,
}
View Source
var ReqCarInfoFieldType_name = map[int32]string{
	0: "DefaultReqCarInfoFieldType",
	1: "VINType",
	2: "PlateType",
	3: "CarIDType",
}
View Source
var ReqCarInfoFieldType_value = map[string]int32{
	"DefaultReqCarInfoFieldType": 0,
	"VINType":                    1,
	"PlateType":                  2,
	"CarIDType":                  3,
}
View Source
var ReserveChargingFailReason_name = map[int32]string{
	0: "DefaultReserveChargingReason",
}
View Source
var ReserveChargingFailReason_value = map[string]int32{
	"DefaultReserveChargingReason": 0,
}
View Source
var SendReason_name = map[int32]string{
	0: "DefaultSendReason",
	1: "DataChange",
	2: "CallAnswer",
	3: "IntervalSend",
}
View Source
var SendReason_value = map[string]int32{
	"DefaultSendReason": 0,
	"DataChange":        1,
	"CallAnswer":        2,
	"IntervalSend":      3,
}
View Source
var StartChargeType_name = map[int32]string{
	0: "DefaultChargeType",
	1: "ImmediatelyCharge",
	2: "SaveCharge",
	3: "UrgentCharge",
	4: "AllowedSecond",
	5: "AllowedKwh",
	6: "AllowedRMB",
	7: "AlternateCharge",
	8: "Discharge",
	9: "TimingCharge",
}
View Source
var StartChargeType_value = map[string]int32{
	"DefaultChargeType": 0,
	"ImmediatelyCharge": 1,
	"SaveCharge":        2,
	"UrgentCharge":      3,
	"AllowedSecond":     4,
	"AllowedKwh":        5,
	"AllowedRMB":        6,
	"AlternateCharge":   7,
	"Discharge":         8,
	"TimingCharge":      9,
}
View Source
var StartChargeWay_name = map[int32]string{
	0: "DefaultStartChargeWay",
	1: "ClouldStart",
	2: "CardStart",
	3: "VinStart",
	4: "PlateStart",
	6: "DefaultCustomeStart",
	7: "DirectStart",
	8: "APPEmergecyStart",
}
View Source
var StartChargeWay_value = map[string]int32{
	"DefaultStartChargeWay": 0,
	"ClouldStart":           1,
	"CardStart":             2,
	"VinStart":              3,
	"PlateStart":            4,
	"DefaultCustomeStart":   6,
	"DirectStart":           7,
	"APPEmergecyStart":      8,
}
View Source
var StateType_name = map[int32]string{
	0:  "DefaultSignalType",
	1:  "Interface",
	2:  "Connect",
	3:  "Relay",
	4:  "Parking",
	5:  "Charger",
	6:  "StateTypeFault",
	7:  "BmsFault",
	8:  "Reason",
	9:  "Stategy",
	10: "AuxType",
	17: "ControlMode",
	18: "GunHoming",
	19: "DCModuleUsed",
	20: "DCModuleFault",
}
View Source
var StateType_value = map[string]int32{
	"DefaultSignalType": 0,
	"Interface":         1,
	"Connect":           2,
	"Relay":             3,
	"Parking":           4,
	"Charger":           5,
	"StateTypeFault":    6,
	"BmsFault":          7,
	"Reason":            8,
	"Stategy":           9,
	"AuxType":           10,
	"ControlMode":       17,
	"GunHoming":         18,
	"DCModuleUsed":      19,
	"DCModuleFault":     20,
}
View Source
var SyncAccountType_name = map[int32]string{
	0: "DefaultSyncAccountType",
	1: "CustomerCard",
	2: "Car",
}
View Source
var SyncAccountType_value = map[string]int32{
	"DefaultSyncAccountType": 0,
	"CustomerCard":           1,
	"Car":                    2,
}
View Source
var V2GCurveCancelReason_name = map[int32]string{
	0: "DefaultV2GCurveCancelReason",
	1: "ExpectIncomeLow",
}
View Source
var V2GCurveCancelReason_value = map[string]int32{
	"DefaultV2GCurveCancelReason": 0,
	"ExpectIncomeLow":             1,
}
View Source
var V2GCurveGenerateFailReason_name = map[int32]string{
	0: "DefaultV2GCurveGenerateFailReason",
	1: "IllegalConditions",
	2: "UnabelMeeetDemand",
	3: "UnrecognizedGun",
	4: "MissingCarInitInfo",
}
View Source
var V2GCurveGenerateFailReason_value = map[string]int32{
	"DefaultV2GCurveGenerateFailReason": 0,
	"IllegalConditions":                 1,
	"UnabelMeeetDemand":                 2,
	"UnrecognizedGun":                   3,
	"MissingCarInitInfo":                4,
}
View Source
var V2GCurveSetFailReason_name = map[int32]string{
	0: "DefaulV2GCurveSetFailReason",
	1: "CurveSettingException",
	2: "MGCFault",
	3: "UnrecognizedChargeGun",
	4: "MissingV2GCurve",
}
View Source
var V2GCurveSetFailReason_value = map[string]int32{
	"DefaulV2GCurveSetFailReason": 0,
	"CurveSettingException":       1,
	"MGCFault":                    2,
	"UnrecognizedChargeGun":       3,
	"MissingV2GCurve":             4,
}

Functions

This section is empty.

Types

type AccountDetailAns

type AccountDetailAns struct {
	CanIndex  int32                 `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	AccountID string                `protobuf:"bytes,2,opt,name=AccountID,json=accountID" json:"AccountID,omitempty"`
	Money     float64               `protobuf:"fixed64,3,opt,name=Money,json=money" json:"Money,omitempty"`
	SFee      float64               `protobuf:"fixed64,4,opt,name=SFee,json=sFee" json:"SFee,omitempty"`
	PFee      float64               `protobuf:"fixed64,5,opt,name=PFee,json=pFee" json:"PFee,omitempty"`
	BFee      float64               `protobuf:"fixed64,6,opt,name=BFee,json=bFee" json:"BFee,omitempty"`
	Ious      float64               `protobuf:"fixed64,7,opt,name=Ious,json=ious" json:"Ious,omitempty"`
	Strategy  []*AccountingStrategy `protobuf:"bytes,8,rep,name=Strategy,json=strategy" json:"Strategy,omitempty"`
	Reserved1 string                `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string                `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
	Reserved3 string                `protobuf:"bytes,103,opt,name=Reserved3,json=reserved3" json:"Reserved3,omitempty"`
}

账户详情获取.响应(0xA2)

func (*AccountDetailAns) Descriptor

func (*AccountDetailAns) Descriptor() ([]byte, []int)

func (*AccountDetailAns) GetAccountID

func (m *AccountDetailAns) GetAccountID() string

func (*AccountDetailAns) GetBFee

func (m *AccountDetailAns) GetBFee() float64

func (*AccountDetailAns) GetCanIndex

func (m *AccountDetailAns) GetCanIndex() int32

func (*AccountDetailAns) GetIous

func (m *AccountDetailAns) GetIous() float64

func (*AccountDetailAns) GetMoney

func (m *AccountDetailAns) GetMoney() float64

func (*AccountDetailAns) GetPFee

func (m *AccountDetailAns) GetPFee() float64

func (*AccountDetailAns) GetReserved1

func (m *AccountDetailAns) GetReserved1() string

func (*AccountDetailAns) GetReserved2

func (m *AccountDetailAns) GetReserved2() string

func (*AccountDetailAns) GetReserved3

func (m *AccountDetailAns) GetReserved3() string

func (*AccountDetailAns) GetSFee

func (m *AccountDetailAns) GetSFee() float64

func (*AccountDetailAns) GetStrategy

func (m *AccountDetailAns) GetStrategy() []*AccountingStrategy

func (*AccountDetailAns) ProtoMessage

func (*AccountDetailAns) ProtoMessage()

func (*AccountDetailAns) Reset

func (m *AccountDetailAns) Reset()

func (*AccountDetailAns) String

func (m *AccountDetailAns) String() string

type AccountDetailReq

type AccountDetailReq struct {
	Type      AccountType `protobuf:"varint,1,opt,name=Type,json=type,enum=charge.protobuf.AccountType" json:"Type,omitempty"`
	CanIndex  int32       `protobuf:"varint,2,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	AccountID string      `protobuf:"bytes,3,opt,name=AccountID,json=accountID" json:"AccountID,omitempty"`
	SendTime  *DateTime   `protobuf:"bytes,4,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Reserved1 string      `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string      `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
	Reserved3 string      `protobuf:"bytes,103,opt,name=Reserved3,json=reserved3" json:"Reserved3,omitempty"`
}

账户详情获取.请求(0x22)

func (*AccountDetailReq) Descriptor

func (*AccountDetailReq) Descriptor() ([]byte, []int)

func (*AccountDetailReq) GetAccountID

func (m *AccountDetailReq) GetAccountID() string

func (*AccountDetailReq) GetCanIndex

func (m *AccountDetailReq) GetCanIndex() int32

func (*AccountDetailReq) GetReserved1

func (m *AccountDetailReq) GetReserved1() string

func (*AccountDetailReq) GetReserved2

func (m *AccountDetailReq) GetReserved2() string

func (*AccountDetailReq) GetReserved3

func (m *AccountDetailReq) GetReserved3() string

func (*AccountDetailReq) GetSendTime

func (m *AccountDetailReq) GetSendTime() *DateTime

func (*AccountDetailReq) GetType

func (m *AccountDetailReq) GetType() AccountType

func (*AccountDetailReq) ProtoMessage

func (*AccountDetailReq) ProtoMessage()

func (*AccountDetailReq) Reset

func (m *AccountDetailReq) Reset()

func (*AccountDetailReq) String

func (m *AccountDetailReq) String() string

type AccountInfo

type AccountInfo struct {
	AccountID string  `protobuf:"bytes,1,opt,name=AccountID,json=accountID" json:"AccountID,omitempty"`
	Money     float64 `protobuf:"fixed64,2,opt,name=Money,json=money" json:"Money,omitempty"`
	SFee      float64 `protobuf:"fixed64,3,opt,name=SFee,json=sFee" json:"SFee,omitempty"`
	BFee      float64 `protobuf:"fixed64,4,opt,name=BFee,json=bFee" json:"BFee,omitempty"`
	PFee      float64 `protobuf:"fixed64,5,opt,name=PFee,json=pFee" json:"PFee,omitempty"`
	Ious      float64 `protobuf:"fixed64,6,opt,name=Ious,json=ious" json:"Ious,omitempty"`
}

账户信息

func (*AccountInfo) Descriptor

func (*AccountInfo) Descriptor() ([]byte, []int)

func (*AccountInfo) GetAccountID

func (m *AccountInfo) GetAccountID() string

func (*AccountInfo) GetBFee

func (m *AccountInfo) GetBFee() float64

func (*AccountInfo) GetIous

func (m *AccountInfo) GetIous() float64

func (*AccountInfo) GetMoney

func (m *AccountInfo) GetMoney() float64

func (*AccountInfo) GetPFee

func (m *AccountInfo) GetPFee() float64

func (*AccountInfo) GetSFee

func (m *AccountInfo) GetSFee() float64

func (*AccountInfo) ProtoMessage

func (*AccountInfo) ProtoMessage()

func (*AccountInfo) Reset

func (m *AccountInfo) Reset()

func (*AccountInfo) String

func (m *AccountInfo) String() string

type AccountSyncAns

type AccountSyncAns struct {
	SyncTime  *DateTime       `protobuf:"bytes,1,opt,name=SyncTime,json=syncTime" json:"SyncTime,omitempty"`
	Type      SyncAccountType `protobuf:"varint,2,opt,name=Type,json=type,enum=charge.protobuf.SyncAccountType" json:"Type,omitempty"`
	Card      []*CardInfo     `protobuf:"bytes,3,rep,name=Card,json=card" json:"Card,omitempty"`
	Car       []*CarInfo      `protobuf:"bytes,4,rep,name=Car,json=car" json:"Car,omitempty"`
	Reserved1 string          `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string          `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

账户信息同步申请.响应(0xA4)

func (*AccountSyncAns) Descriptor

func (*AccountSyncAns) Descriptor() ([]byte, []int)

func (*AccountSyncAns) GetCar

func (m *AccountSyncAns) GetCar() []*CarInfo

func (*AccountSyncAns) GetCard

func (m *AccountSyncAns) GetCard() []*CardInfo

func (*AccountSyncAns) GetReserved1

func (m *AccountSyncAns) GetReserved1() string

func (*AccountSyncAns) GetReserved2

func (m *AccountSyncAns) GetReserved2() string

func (*AccountSyncAns) GetSyncTime

func (m *AccountSyncAns) GetSyncTime() *DateTime

func (*AccountSyncAns) GetType

func (m *AccountSyncAns) GetType() SyncAccountType

func (*AccountSyncAns) ProtoMessage

func (*AccountSyncAns) ProtoMessage()

func (*AccountSyncAns) Reset

func (m *AccountSyncAns) Reset()

func (*AccountSyncAns) String

func (m *AccountSyncAns) String() string

type AccountSyncReq

type AccountSyncReq struct {
	SyncTime  *DateTime       `protobuf:"bytes,1,opt,name=SyncTime,json=syncTime" json:"SyncTime,omitempty"`
	Type      SyncAccountType `protobuf:"varint,2,opt,name=Type,json=type,enum=charge.protobuf.SyncAccountType" json:"Type,omitempty"`
	Size      int32           `protobuf:"varint,3,opt,name=Size,json=size" json:"Size,omitempty"`
	SendTime  *DateTime       `protobuf:"bytes,4,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Reserved1 string          `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string          `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

账户信息同步申请.请求(0x24)

func (*AccountSyncReq) Descriptor

func (*AccountSyncReq) Descriptor() ([]byte, []int)

func (*AccountSyncReq) GetReserved1

func (m *AccountSyncReq) GetReserved1() string

func (*AccountSyncReq) GetReserved2

func (m *AccountSyncReq) GetReserved2() string

func (*AccountSyncReq) GetSendTime

func (m *AccountSyncReq) GetSendTime() *DateTime

func (*AccountSyncReq) GetSize

func (m *AccountSyncReq) GetSize() int32

func (*AccountSyncReq) GetSyncTime

func (m *AccountSyncReq) GetSyncTime() *DateTime

func (*AccountSyncReq) GetType

func (m *AccountSyncReq) GetType() SyncAccountType

func (*AccountSyncReq) ProtoMessage

func (*AccountSyncReq) ProtoMessage()

func (*AccountSyncReq) Reset

func (m *AccountSyncReq) Reset()

func (*AccountSyncReq) String

func (m *AccountSyncReq) String() string

type AccountType

type AccountType int32

账户类型

const (
	AccountType_DefaultAccountType AccountType = 0
	AccountType_User               AccountType = 1
	AccountType_Card               AccountType = 2
	AccountType_Vin                AccountType = 3
	AccountType_Plate              AccountType = 4
)

func (AccountType) EnumDescriptor

func (AccountType) EnumDescriptor() ([]byte, []int)

func (AccountType) String

func (x AccountType) String() string

type AccountingStrategy

type AccountingStrategy struct {
	BeginTime    *DateTime `protobuf:"bytes,1,opt,name=BeginTime,json=beginTime" json:"BeginTime,omitempty"`
	EndTime      *DateTime `protobuf:"bytes,2,opt,name=EndTime,json=endTime" json:"EndTime,omitempty"`
	KWhPrice     float64   `protobuf:"fixed64,3,opt,name=kWhPrice" json:"kWhPrice,omitempty"`
	ServicePrice float64   `protobuf:"fixed64,4,opt,name=ServicePrice,json=servicePrice" json:"ServicePrice,omitempty"`
	TimeSpanType int32     `protobuf:"varint,5,opt,name=TimeSpanType,json=timeSpanType" json:"TimeSpanType,omitempty"`
}

计费策略

func (*AccountingStrategy) Descriptor

func (*AccountingStrategy) Descriptor() ([]byte, []int)

func (*AccountingStrategy) GetBeginTime

func (m *AccountingStrategy) GetBeginTime() *DateTime

func (*AccountingStrategy) GetEndTime

func (m *AccountingStrategy) GetEndTime() *DateTime

func (*AccountingStrategy) GetKWhPrice

func (m *AccountingStrategy) GetKWhPrice() float64

func (*AccountingStrategy) GetServicePrice

func (m *AccountingStrategy) GetServicePrice() float64

func (*AccountingStrategy) GetTimeSpanType

func (m *AccountingStrategy) GetTimeSpanType() int32

func (*AccountingStrategy) ProtoMessage

func (*AccountingStrategy) ProtoMessage()

func (*AccountingStrategy) Reset

func (m *AccountingStrategy) Reset()

func (*AccountingStrategy) String

func (m *AccountingStrategy) String() string

type ActiveProtecParameters

type ActiveProtecParameters struct {
	ParaNumber      int32  `protobuf:"varint,1,opt,name=ParaNumber,json=paraNumber" json:"ParaNumber,omitempty"`
	ParametersValue int32  `protobuf:"varint,2,opt,name=ParametersValue,json=parametersValue" json:"ParametersValue,omitempty"`
	ParaType        int32  `protobuf:"varint,3,opt,name=ParaType,json=paraType" json:"ParaType,omitempty"`
	Reserved1       string `protobuf:"bytes,16,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2       string `protobuf:"bytes,17,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

主动防护下发参数

func (*ActiveProtecParameters) Descriptor

func (*ActiveProtecParameters) Descriptor() ([]byte, []int)

func (*ActiveProtecParameters) GetParaNumber

func (m *ActiveProtecParameters) GetParaNumber() int32

func (*ActiveProtecParameters) GetParaType

func (m *ActiveProtecParameters) GetParaType() int32

func (*ActiveProtecParameters) GetParametersValue

func (m *ActiveProtecParameters) GetParametersValue() int32

func (*ActiveProtecParameters) GetReserved1

func (m *ActiveProtecParameters) GetReserved1() string

func (*ActiveProtecParameters) GetReserved2

func (m *ActiveProtecParameters) GetReserved2() string

func (*ActiveProtecParameters) ProtoMessage

func (*ActiveProtecParameters) ProtoMessage()

func (*ActiveProtecParameters) Reset

func (m *ActiveProtecParameters) Reset()

func (*ActiveProtecParameters) String

func (m *ActiveProtecParameters) String() string

type ActiveProtecParametersAns

type ActiveProtecParametersAns struct {
	SendTime         *DateTime                 `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	CanIndex         int32                     `protobuf:"varint,2,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	ActiveProtecPara []*ActiveProtecParameters `protobuf:"bytes,3,rep,name=ActiveProtecPara,json=activeProtecPara" json:"ActiveProtecPara,omitempty"`
	ParaType         int32                     `protobuf:"varint,4,opt,name=ParaType,json=paraType" json:"ParaType,omitempty"`
	Reserved1        string                    `protobuf:"bytes,5,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2        string                    `protobuf:"bytes,6,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

主动防护参数.下发(0x94),P ->D

func (*ActiveProtecParametersAns) Descriptor

func (*ActiveProtecParametersAns) Descriptor() ([]byte, []int)

func (*ActiveProtecParametersAns) GetActiveProtecPara

func (m *ActiveProtecParametersAns) GetActiveProtecPara() []*ActiveProtecParameters

func (*ActiveProtecParametersAns) GetCanIndex

func (m *ActiveProtecParametersAns) GetCanIndex() int32

func (*ActiveProtecParametersAns) GetParaType

func (m *ActiveProtecParametersAns) GetParaType() int32

func (*ActiveProtecParametersAns) GetReserved1

func (m *ActiveProtecParametersAns) GetReserved1() string

func (*ActiveProtecParametersAns) GetReserved2

func (m *ActiveProtecParametersAns) GetReserved2() string

func (*ActiveProtecParametersAns) GetSendTime

func (m *ActiveProtecParametersAns) GetSendTime() *DateTime

func (*ActiveProtecParametersAns) ProtoMessage

func (*ActiveProtecParametersAns) ProtoMessage()

func (*ActiveProtecParametersAns) Reset

func (m *ActiveProtecParametersAns) Reset()

func (*ActiveProtecParametersAns) String

func (m *ActiveProtecParametersAns) String() string

type AlarmLists

type AlarmLists struct {
	AlarmCode  int32    `protobuf:"varint,1,opt,name=AlarmCode,json=alarmCode" json:"AlarmCode,omitempty"`
	AlarmState BoolEnum `protobuf:"varint,2,opt,name=AlarmState,json=alarmState,enum=charge.protobuf.BoolEnum" json:"AlarmState,omitempty"`
	Reserved1  string   `protobuf:"bytes,3,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2  string   `protobuf:"bytes,4,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

主动防护集控上报告警

func (*AlarmLists) Descriptor

func (*AlarmLists) Descriptor() ([]byte, []int)

func (*AlarmLists) GetAlarmCode

func (m *AlarmLists) GetAlarmCode() int32

func (*AlarmLists) GetAlarmState

func (m *AlarmLists) GetAlarmState() BoolEnum

func (*AlarmLists) GetReserved1

func (m *AlarmLists) GetReserved1() string

func (*AlarmLists) GetReserved2

func (m *AlarmLists) GetReserved2() string

func (*AlarmLists) ProtoMessage

func (*AlarmLists) ProtoMessage()

func (*AlarmLists) Reset

func (m *AlarmLists) Reset()

func (*AlarmLists) String

func (m *AlarmLists) String() string

type AmmeterCurrent

type AmmeterCurrent struct {
	ActiveEnergy          int64     `protobuf:"varint,1,opt,name=ActiveEnergy,json=activeEnergy" json:"ActiveEnergy,omitempty"`
	ActiveEnergyRate1     int64     `protobuf:"varint,2,opt,name=ActiveEnergyRate1,json=activeEnergyRate1" json:"ActiveEnergyRate1,omitempty"`
	ActiveEnergyRate2     int64     `protobuf:"varint,3,opt,name=ActiveEnergyRate2,json=activeEnergyRate2" json:"ActiveEnergyRate2,omitempty"`
	ActiveEnergyRate3     int64     `protobuf:"varint,4,opt,name=ActiveEnergyRate3,json=activeEnergyRate3" json:"ActiveEnergyRate3,omitempty"`
	ActiveEnergyRate4     int64     `protobuf:"varint,5,opt,name=ActiveEnergyRate4,json=activeEnergyRate4" json:"ActiveEnergyRate4,omitempty"`
	ReverseActiveEnergy   int64     `protobuf:"varint,6,opt,name=ReverseActiveEnergy,json=reverseActiveEnergy" json:"ReverseActiveEnergy,omitempty"`
	ReActiveEnergy        int64     `protobuf:"varint,7,opt,name=ReActiveEnergy,json=reActiveEnergy" json:"ReActiveEnergy,omitempty"`
	ReverseReActiveEnergy int64     `protobuf:"varint,8,opt,name=ReverseReActiveEnergy,json=reverseReActiveEnergy" json:"ReverseReActiveEnergy,omitempty"`
	MaxDemand             int64     `protobuf:"varint,9,opt,name=MaxDemand,json=maxDemand" json:"MaxDemand,omitempty"`
	MaxDemandTime         *DateTime `protobuf:"bytes,10,opt,name=MaxDemandTime,json=maxDemandTime" json:"MaxDemandTime,omitempty"`
	ReverseMaxDemand      int64     `protobuf:"varint,11,opt,name=ReverseMaxDemand,json=reverseMaxDemand" json:"ReverseMaxDemand,omitempty"`
	ReverseMaxDemandTime  *DateTime `protobuf:"bytes,12,opt,name=ReverseMaxDemandTime,json=reverseMaxDemandTime" json:"ReverseMaxDemandTime,omitempty"`
}

AmmeterCurrent-电能及最大需量数据

func (*AmmeterCurrent) Descriptor

func (*AmmeterCurrent) Descriptor() ([]byte, []int)

func (*AmmeterCurrent) GetActiveEnergy

func (m *AmmeterCurrent) GetActiveEnergy() int64

func (*AmmeterCurrent) GetActiveEnergyRate1

func (m *AmmeterCurrent) GetActiveEnergyRate1() int64

func (*AmmeterCurrent) GetActiveEnergyRate2

func (m *AmmeterCurrent) GetActiveEnergyRate2() int64

func (*AmmeterCurrent) GetActiveEnergyRate3

func (m *AmmeterCurrent) GetActiveEnergyRate3() int64

func (*AmmeterCurrent) GetActiveEnergyRate4

func (m *AmmeterCurrent) GetActiveEnergyRate4() int64

func (*AmmeterCurrent) GetMaxDemand

func (m *AmmeterCurrent) GetMaxDemand() int64

func (*AmmeterCurrent) GetMaxDemandTime

func (m *AmmeterCurrent) GetMaxDemandTime() *DateTime

func (*AmmeterCurrent) GetReActiveEnergy

func (m *AmmeterCurrent) GetReActiveEnergy() int64

func (*AmmeterCurrent) GetReverseActiveEnergy

func (m *AmmeterCurrent) GetReverseActiveEnergy() int64

func (*AmmeterCurrent) GetReverseMaxDemand

func (m *AmmeterCurrent) GetReverseMaxDemand() int64

func (*AmmeterCurrent) GetReverseMaxDemandTime

func (m *AmmeterCurrent) GetReverseMaxDemandTime() *DateTime

func (*AmmeterCurrent) GetReverseReActiveEnergy

func (m *AmmeterCurrent) GetReverseReActiveEnergy() int64

func (*AmmeterCurrent) ProtoMessage

func (*AmmeterCurrent) ProtoMessage()

func (*AmmeterCurrent) Reset

func (m *AmmeterCurrent) Reset()

func (*AmmeterCurrent) String

func (m *AmmeterCurrent) String() string

type AmmeterDayFreeze

type AmmeterDayFreeze struct {
	FreezeTime            *DateTime `protobuf:"bytes,1,opt,name=FreezeTime,json=freezeTime" json:"FreezeTime,omitempty"`
	ActiveEnergy          int64     `protobuf:"varint,2,opt,name=ActiveEnergy,json=activeEnergy" json:"ActiveEnergy,omitempty"`
	ActiveEnergyRate1     int64     `protobuf:"varint,3,opt,name=ActiveEnergyRate1,json=activeEnergyRate1" json:"ActiveEnergyRate1,omitempty"`
	ActiveEnergyRate2     int64     `protobuf:"varint,4,opt,name=ActiveEnergyRate2,json=activeEnergyRate2" json:"ActiveEnergyRate2,omitempty"`
	ActiveEnergyRate3     int64     `protobuf:"varint,5,opt,name=ActiveEnergyRate3,json=activeEnergyRate3" json:"ActiveEnergyRate3,omitempty"`
	ActiveEnergyRate4     int64     `protobuf:"varint,6,opt,name=ActiveEnergyRate4,json=activeEnergyRate4" json:"ActiveEnergyRate4,omitempty"`
	ReverseActiveEnergy   int64     `protobuf:"varint,7,opt,name=ReverseActiveEnergy,json=reverseActiveEnergy" json:"ReverseActiveEnergy,omitempty"`
	ReActiveEnergy        int64     `protobuf:"varint,8,opt,name=ReActiveEnergy,json=reActiveEnergy" json:"ReActiveEnergy,omitempty"`
	ReverseReActiveEnergy int64     `protobuf:"varint,9,opt,name=ReverseReActiveEnergy,json=reverseReActiveEnergy" json:"ReverseReActiveEnergy,omitempty"`
	MaxDemand             int64     `protobuf:"varint,10,opt,name=MaxDemand,json=maxDemand" json:"MaxDemand,omitempty"`
	MaxDemandTime         *DateTime `protobuf:"bytes,11,opt,name=MaxDemandTime,json=maxDemandTime" json:"MaxDemandTime,omitempty"`
	ReverseMaxDemand      int64     `protobuf:"varint,12,opt,name=ReverseMaxDemand,json=reverseMaxDemand" json:"ReverseMaxDemand,omitempty"`
	ReverseMaxDemandTime  *DateTime `protobuf:"bytes,13,opt,name=ReverseMaxDemandTime,json=reverseMaxDemandTime" json:"ReverseMaxDemandTime,omitempty"`
}

AmmeterDayFreeze-日冻结及最大需量数据

func (*AmmeterDayFreeze) Descriptor

func (*AmmeterDayFreeze) Descriptor() ([]byte, []int)

func (*AmmeterDayFreeze) GetActiveEnergy

func (m *AmmeterDayFreeze) GetActiveEnergy() int64

func (*AmmeterDayFreeze) GetActiveEnergyRate1

func (m *AmmeterDayFreeze) GetActiveEnergyRate1() int64

func (*AmmeterDayFreeze) GetActiveEnergyRate2

func (m *AmmeterDayFreeze) GetActiveEnergyRate2() int64

func (*AmmeterDayFreeze) GetActiveEnergyRate3

func (m *AmmeterDayFreeze) GetActiveEnergyRate3() int64

func (*AmmeterDayFreeze) GetActiveEnergyRate4

func (m *AmmeterDayFreeze) GetActiveEnergyRate4() int64

func (*AmmeterDayFreeze) GetFreezeTime

func (m *AmmeterDayFreeze) GetFreezeTime() *DateTime

func (*AmmeterDayFreeze) GetMaxDemand

func (m *AmmeterDayFreeze) GetMaxDemand() int64

func (*AmmeterDayFreeze) GetMaxDemandTime

func (m *AmmeterDayFreeze) GetMaxDemandTime() *DateTime

func (*AmmeterDayFreeze) GetReActiveEnergy

func (m *AmmeterDayFreeze) GetReActiveEnergy() int64

func (*AmmeterDayFreeze) GetReverseActiveEnergy

func (m *AmmeterDayFreeze) GetReverseActiveEnergy() int64

func (*AmmeterDayFreeze) GetReverseMaxDemand

func (m *AmmeterDayFreeze) GetReverseMaxDemand() int64

func (*AmmeterDayFreeze) GetReverseMaxDemandTime

func (m *AmmeterDayFreeze) GetReverseMaxDemandTime() *DateTime

func (*AmmeterDayFreeze) GetReverseReActiveEnergy

func (m *AmmeterDayFreeze) GetReverseReActiveEnergy() int64

func (*AmmeterDayFreeze) ProtoMessage

func (*AmmeterDayFreeze) ProtoMessage()

func (*AmmeterDayFreeze) Reset

func (m *AmmeterDayFreeze) Reset()

func (*AmmeterDayFreeze) String

func (m *AmmeterDayFreeze) String() string

type AmmeterHourFreeze

type AmmeterHourFreeze struct {
	FreezeTime          *DateTime `protobuf:"bytes,1,opt,name=FreezeTime,json=freezeTime" json:"FreezeTime,omitempty"`
	ActiveEnergy        int64     `protobuf:"varint,2,opt,name=ActiveEnergy,json=activeEnergy" json:"ActiveEnergy,omitempty"`
	ReverseActiveEnergy int64     `protobuf:"varint,3,opt,name=ReverseActiveEnergy,json=reverseActiveEnergy" json:"ReverseActiveEnergy,omitempty"`
}

AmmeterHourFreeze-整点冻结电能数据

func (*AmmeterHourFreeze) Descriptor

func (*AmmeterHourFreeze) Descriptor() ([]byte, []int)

func (*AmmeterHourFreeze) GetActiveEnergy

func (m *AmmeterHourFreeze) GetActiveEnergy() int64

func (*AmmeterHourFreeze) GetFreezeTime

func (m *AmmeterHourFreeze) GetFreezeTime() *DateTime

func (*AmmeterHourFreeze) GetReverseActiveEnergy

func (m *AmmeterHourFreeze) GetReverseActiveEnergy() int64

func (*AmmeterHourFreeze) ProtoMessage

func (*AmmeterHourFreeze) ProtoMessage()

func (*AmmeterHourFreeze) Reset

func (m *AmmeterHourFreeze) Reset()

func (*AmmeterHourFreeze) String

func (m *AmmeterHourFreeze) String() string

type AmmeterSettlement

type AmmeterSettlement struct {
	ActiveEnergy          int64     `protobuf:"varint,1,opt,name=ActiveEnergy,json=activeEnergy" json:"ActiveEnergy,omitempty"`
	ActiveEnergyRate1     int64     `protobuf:"varint,2,opt,name=ActiveEnergyRate1,json=activeEnergyRate1" json:"ActiveEnergyRate1,omitempty"`
	ActiveEnergyRate2     int64     `protobuf:"varint,3,opt,name=ActiveEnergyRate2,json=activeEnergyRate2" json:"ActiveEnergyRate2,omitempty"`
	ActiveEnergyRate3     int64     `protobuf:"varint,4,opt,name=ActiveEnergyRate3,json=activeEnergyRate3" json:"ActiveEnergyRate3,omitempty"`
	ActiveEnergyRate4     int64     `protobuf:"varint,5,opt,name=ActiveEnergyRate4,json=activeEnergyRate4" json:"ActiveEnergyRate4,omitempty"`
	ReverseActiveEnergy   int64     `protobuf:"varint,6,opt,name=ReverseActiveEnergy,json=reverseActiveEnergy" json:"ReverseActiveEnergy,omitempty"`
	ReActiveEnergy        int64     `protobuf:"varint,7,opt,name=ReActiveEnergy,json=reActiveEnergy" json:"ReActiveEnergy,omitempty"`
	ReverseReActiveEnergy int64     `protobuf:"varint,8,opt,name=ReverseReActiveEnergy,json=reverseReActiveEnergy" json:"ReverseReActiveEnergy,omitempty"`
	MaxDemand             int64     `protobuf:"varint,9,opt,name=MaxDemand,json=maxDemand" json:"MaxDemand,omitempty"`
	MaxDemandTime         *DateTime `protobuf:"bytes,10,opt,name=MaxDemandTime,json=maxDemandTime" json:"MaxDemandTime,omitempty"`
	ReverseMaxDemand      int64     `protobuf:"varint,11,opt,name=ReverseMaxDemand,json=reverseMaxDemand" json:"ReverseMaxDemand,omitempty"`
	ReverseMaxDemandTime  *DateTime `protobuf:"bytes,12,opt,name=ReverseMaxDemandTime,json=reverseMaxDemandTime" json:"ReverseMaxDemandTime,omitempty"`
}

AmmeterSettlement-结算日及最大需量数据

func (*AmmeterSettlement) Descriptor

func (*AmmeterSettlement) Descriptor() ([]byte, []int)

func (*AmmeterSettlement) GetActiveEnergy

func (m *AmmeterSettlement) GetActiveEnergy() int64

func (*AmmeterSettlement) GetActiveEnergyRate1

func (m *AmmeterSettlement) GetActiveEnergyRate1() int64

func (*AmmeterSettlement) GetActiveEnergyRate2

func (m *AmmeterSettlement) GetActiveEnergyRate2() int64

func (*AmmeterSettlement) GetActiveEnergyRate3

func (m *AmmeterSettlement) GetActiveEnergyRate3() int64

func (*AmmeterSettlement) GetActiveEnergyRate4

func (m *AmmeterSettlement) GetActiveEnergyRate4() int64

func (*AmmeterSettlement) GetMaxDemand

func (m *AmmeterSettlement) GetMaxDemand() int64

func (*AmmeterSettlement) GetMaxDemandTime

func (m *AmmeterSettlement) GetMaxDemandTime() *DateTime

func (*AmmeterSettlement) GetReActiveEnergy

func (m *AmmeterSettlement) GetReActiveEnergy() int64

func (*AmmeterSettlement) GetReverseActiveEnergy

func (m *AmmeterSettlement) GetReverseActiveEnergy() int64

func (*AmmeterSettlement) GetReverseMaxDemand

func (m *AmmeterSettlement) GetReverseMaxDemand() int64

func (*AmmeterSettlement) GetReverseMaxDemandTime

func (m *AmmeterSettlement) GetReverseMaxDemandTime() *DateTime

func (*AmmeterSettlement) GetReverseReActiveEnergy

func (m *AmmeterSettlement) GetReverseReActiveEnergy() int64

func (*AmmeterSettlement) ProtoMessage

func (*AmmeterSettlement) ProtoMessage()

func (*AmmeterSettlement) Reset

func (m *AmmeterSettlement) Reset()

func (*AmmeterSettlement) String

func (m *AmmeterSettlement) String() string

type BillFeeType

type BillFeeType struct {
	BeginTime  *DateTime    `protobuf:"bytes,1,opt,name=BeginTime,json=beginTime" json:"BeginTime,omitempty"`
	EndTime    *DateTime    `protobuf:"bytes,2,opt,name=EndTime,json=endTime" json:"EndTime,omitempty"`
	KWhFee     *DoubleValue `protobuf:"bytes,3,opt,name=kWhFee" json:"kWhFee,omitempty"`
	ServiceFee *DoubleValue `protobuf:"bytes,4,opt,name=ServiceFee,json=serviceFee" json:"ServiceFee,omitempty"`
	SumFee     *DoubleValue `protobuf:"bytes,5,opt,name=SumFee,json=sumFee" json:"SumFee,omitempty"`
	Reserved1  string       `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2  string       `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

订单费用明细类型

func (*BillFeeType) Descriptor

func (*BillFeeType) Descriptor() ([]byte, []int)

func (*BillFeeType) GetBeginTime

func (m *BillFeeType) GetBeginTime() *DateTime

func (*BillFeeType) GetEndTime

func (m *BillFeeType) GetEndTime() *DateTime

func (*BillFeeType) GetKWhFee

func (m *BillFeeType) GetKWhFee() *DoubleValue

func (*BillFeeType) GetReserved1

func (m *BillFeeType) GetReserved1() string

func (*BillFeeType) GetReserved2

func (m *BillFeeType) GetReserved2() string

func (*BillFeeType) GetServiceFee

func (m *BillFeeType) GetServiceFee() *DoubleValue

func (*BillFeeType) GetSumFee

func (m *BillFeeType) GetSumFee() *DoubleValue

func (*BillFeeType) ProtoMessage

func (*BillFeeType) ProtoMessage()

func (*BillFeeType) Reset

func (m *BillFeeType) Reset()

func (*BillFeeType) String

func (m *BillFeeType) String() string

type BillInfo

type BillInfo struct {
	BillCode          string             `protobuf:"bytes,1,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	Status            BillStatus         `protobuf:"varint,2,opt,name=Status,json=status,enum=charge.protobuf.BillStatus" json:"Status,omitempty"`
	CtrlBillCode      string             `protobuf:"bytes,20,opt,name=CtrlBillCode,json=ctrlBillCode" json:"CtrlBillCode,omitempty"`
	BillType          int32              `protobuf:"varint,3,opt,name=BillType,json=billType" json:"BillType,omitempty"`
	Reason            int32              `protobuf:"varint,4,opt,name=Reason,json=reason" json:"Reason,omitempty"`
	BeginTime         *DateTime          `protobuf:"bytes,5,opt,name=BeginTime,json=beginTime" json:"BeginTime,omitempty"`
	EndTime           *DateTime          `protobuf:"bytes,6,opt,name=EndTime,json=endTime" json:"EndTime,omitempty"`
	BeginMeter        float64            `protobuf:"fixed64,7,opt,name=BeginMeter,json=beginMeter" json:"BeginMeter,omitempty"`
	EndMeter          float64            `protobuf:"fixed64,8,opt,name=EndMeter,json=endMeter" json:"EndMeter,omitempty"`
	BeginSoc          int32              `protobuf:"varint,9,opt,name=BeginSoc,json=beginSoc" json:"BeginSoc,omitempty"`
	EndSoc            int32              `protobuf:"varint,10,opt,name=EndSoc,json=endSoc" json:"EndSoc,omitempty"`
	ChargeType        StartChargeType    `protobuf:"varint,11,opt,name=ChargeType,json=chargeType,enum=charge.protobuf.StartChargeType" json:"ChargeType,omitempty"`
	ChargeWay         StartChargeWay     `protobuf:"varint,12,opt,name=ChargeWay,json=chargeWay,enum=charge.protobuf.StartChargeWay" json:"ChargeWay,omitempty"`
	CardNo            string             `protobuf:"bytes,13,opt,name=CardNo,json=cardNo" json:"CardNo,omitempty"`
	VIN               string             `protobuf:"bytes,14,opt,name=VIN,json=vIN" json:"VIN,omitempty"`
	Plate             string             `protobuf:"bytes,15,opt,name=Plate,json=plate" json:"Plate,omitempty"`
	ChargeFrozen      []*ChargeFrozen    `protobuf:"bytes,16,rep,name=ChargeFrozen,json=chargeFrozen" json:"ChargeFrozen,omitempty"`
	DischargeFrozen   []*DischargeFrozen `protobuf:"bytes,17,rep,name=DischargeFrozen,json=dischargeFrozen" json:"DischargeFrozen,omitempty"`
	QueueNumber       int32              `protobuf:"varint,18,opt,name=QueueNumber,json=queueNumber" json:"QueueNumber,omitempty"`
	Emergency         BoolEnum           `protobuf:"varint,19,opt,name=Emergency,json=emergency,enum=charge.protobuf.BoolEnum" json:"Emergency,omitempty"`
	GunNum            int32              `protobuf:"varint,21,opt,name=GunNum,json=gunNum" json:"GunNum,omitempty"`
	CustomeType       int32              `protobuf:"varint,22,opt,name=CustomeType,json=customeType" json:"CustomeType,omitempty"`
	CustomeCode       string             `protobuf:"bytes,23,opt,name=CustomeCode,json=customeCode" json:"CustomeCode,omitempty"`
	BillFeeList       []*BillFeeType     `protobuf:"bytes,24,rep,name=BillFeeList,json=billFeeList" json:"BillFeeList,omitempty"`
	BillIdPlt         string             `protobuf:"bytes,25,opt,name=BillIdPlt,json=billIdPlt" json:"BillIdPlt,omitempty"`
	ReverseBeginMeter float64            `protobuf:"fixed64,26,opt,name=ReverseBeginMeter,json=reverseBeginMeter" json:"ReverseBeginMeter,omitempty"`
	ReverseEndMeter   float64            `protobuf:"fixed64,27,opt,name=ReverseEndMeter,json=reverseEndMeter" json:"ReverseEndMeter,omitempty"`
	EncryptedPower    string             `protobuf:"bytes,28,opt,name=EncryptedPower,json=encryptedPower" json:"EncryptedPower,omitempty"`
	MeterNum          string             `protobuf:"bytes,29,opt,name=MeterNum,json=meterNum" json:"MeterNum,omitempty"`
	ElecmeterVersion  string             `protobuf:"bytes,30,opt,name=ElecmeterVersion,json=elecmeterVersion" json:"ElecmeterVersion,omitempty"`
	EncryType         string             `protobuf:"bytes,31,opt,name=EncryType,json=encryType" json:"EncryType,omitempty"`
	Reserved1         string             `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2         string             `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
	Reserved3         string             `protobuf:"bytes,103,opt,name=Reserved3,json=reserved3" json:"Reserved3,omitempty"`
}

账单详情

func (*BillInfo) Descriptor

func (*BillInfo) Descriptor() ([]byte, []int)

func (*BillInfo) GetBeginMeter

func (m *BillInfo) GetBeginMeter() float64

func (*BillInfo) GetBeginSoc

func (m *BillInfo) GetBeginSoc() int32

func (*BillInfo) GetBeginTime

func (m *BillInfo) GetBeginTime() *DateTime

func (*BillInfo) GetBillCode

func (m *BillInfo) GetBillCode() string

func (*BillInfo) GetBillFeeList

func (m *BillInfo) GetBillFeeList() []*BillFeeType

func (*BillInfo) GetBillIdPlt

func (m *BillInfo) GetBillIdPlt() string

func (*BillInfo) GetBillType

func (m *BillInfo) GetBillType() int32

func (*BillInfo) GetCardNo

func (m *BillInfo) GetCardNo() string

func (*BillInfo) GetChargeFrozen

func (m *BillInfo) GetChargeFrozen() []*ChargeFrozen

func (*BillInfo) GetChargeType

func (m *BillInfo) GetChargeType() StartChargeType

func (*BillInfo) GetChargeWay

func (m *BillInfo) GetChargeWay() StartChargeWay

func (*BillInfo) GetCtrlBillCode

func (m *BillInfo) GetCtrlBillCode() string

func (*BillInfo) GetCustomeCode

func (m *BillInfo) GetCustomeCode() string

func (*BillInfo) GetCustomeType

func (m *BillInfo) GetCustomeType() int32

func (*BillInfo) GetDischargeFrozen

func (m *BillInfo) GetDischargeFrozen() []*DischargeFrozen

func (*BillInfo) GetElecmeterVersion

func (m *BillInfo) GetElecmeterVersion() string

func (*BillInfo) GetEmergency

func (m *BillInfo) GetEmergency() BoolEnum

func (*BillInfo) GetEncryType

func (m *BillInfo) GetEncryType() string

func (*BillInfo) GetEncryptedPower

func (m *BillInfo) GetEncryptedPower() string

func (*BillInfo) GetEndMeter

func (m *BillInfo) GetEndMeter() float64

func (*BillInfo) GetEndSoc

func (m *BillInfo) GetEndSoc() int32

func (*BillInfo) GetEndTime

func (m *BillInfo) GetEndTime() *DateTime

func (*BillInfo) GetGunNum

func (m *BillInfo) GetGunNum() int32

func (*BillInfo) GetMeterNum

func (m *BillInfo) GetMeterNum() string

func (*BillInfo) GetPlate

func (m *BillInfo) GetPlate() string

func (*BillInfo) GetQueueNumber

func (m *BillInfo) GetQueueNumber() int32

func (*BillInfo) GetReason

func (m *BillInfo) GetReason() int32

func (*BillInfo) GetReserved1

func (m *BillInfo) GetReserved1() string

func (*BillInfo) GetReserved2

func (m *BillInfo) GetReserved2() string

func (*BillInfo) GetReserved3

func (m *BillInfo) GetReserved3() string

func (*BillInfo) GetReverseBeginMeter

func (m *BillInfo) GetReverseBeginMeter() float64

func (*BillInfo) GetReverseEndMeter

func (m *BillInfo) GetReverseEndMeter() float64

func (*BillInfo) GetStatus

func (m *BillInfo) GetStatus() BillStatus

func (*BillInfo) GetVIN

func (m *BillInfo) GetVIN() string

func (*BillInfo) ProtoMessage

func (*BillInfo) ProtoMessage()

func (*BillInfo) Reset

func (m *BillInfo) Reset()

func (*BillInfo) String

func (m *BillInfo) String() string

type BillStatus

type BillStatus int32

订单状态

const (
	BillStatus_DefaultBill                 BillStatus = 0
	BillStatus_ChargingBillStatus          BillStatus = 1
	BillStatus_QueueingBillStatus          BillStatus = 2
	BillStatus_FinishedBillStatus          BillStatus = 3
	BillStatus_StartChargeFailedBillStatus BillStatus = 9
	BillStatus_StopChargeFailedBillStatus  BillStatus = 10
)

func (BillStatus) EnumDescriptor

func (BillStatus) EnumDescriptor() ([]byte, []int)

func (BillStatus) String

func (x BillStatus) String() string

type BillType

type BillType int32

订单类型

const (
	BillType_DefaultBillType BillType = 0
	BillType_ChargingBill    BillType = 1
)

func (BillType) EnumDescriptor

func (BillType) EnumDescriptor() ([]byte, []int)

func (BillType) String

func (x BillType) String() string

type BillUploadAns

type BillUploadAns struct {
	CanIndex     int32    `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	BillCode     string   `protobuf:"bytes,2,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	Confirm      BoolEnum `protobuf:"varint,3,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
	CtrlBillCode string   `protobuf:"bytes,4,opt,name=CtrlBillCode,json=ctrlBillCode" json:"CtrlBillCode,omitempty"`
	Reserved1    string   `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2    string   `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

订单上传.响应(0x96)

func (*BillUploadAns) Descriptor

func (*BillUploadAns) Descriptor() ([]byte, []int)

func (*BillUploadAns) GetBillCode

func (m *BillUploadAns) GetBillCode() string

func (*BillUploadAns) GetCanIndex

func (m *BillUploadAns) GetCanIndex() int32

func (*BillUploadAns) GetConfirm

func (m *BillUploadAns) GetConfirm() BoolEnum

func (*BillUploadAns) GetCtrlBillCode

func (m *BillUploadAns) GetCtrlBillCode() string

func (*BillUploadAns) GetReserved1

func (m *BillUploadAns) GetReserved1() string

func (*BillUploadAns) GetReserved2

func (m *BillUploadAns) GetReserved2() string

func (*BillUploadAns) ProtoMessage

func (*BillUploadAns) ProtoMessage()

func (*BillUploadAns) Reset

func (m *BillUploadAns) Reset()

func (*BillUploadAns) String

func (m *BillUploadAns) String() string

type BillUploadReq

type BillUploadReq struct {
	CanIndex  int32     `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Bill      *BillInfo `protobuf:"bytes,2,opt,name=Bill,json=bill" json:"Bill,omitempty"`
	SendTime  *DateTime `protobuf:"bytes,3,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

订单上传.请求(0x16),D -> P

func (*BillUploadReq) Descriptor

func (*BillUploadReq) Descriptor() ([]byte, []int)

func (*BillUploadReq) GetBill

func (m *BillUploadReq) GetBill() *BillInfo

func (*BillUploadReq) GetCanIndex

func (m *BillUploadReq) GetCanIndex() int32

func (*BillUploadReq) GetReserved1

func (m *BillUploadReq) GetReserved1() string

func (*BillUploadReq) GetReserved2

func (m *BillUploadReq) GetReserved2() string

func (*BillUploadReq) GetSendTime

func (m *BillUploadReq) GetSendTime() *DateTime

func (*BillUploadReq) ProtoMessage

func (*BillUploadReq) ProtoMessage()

func (*BillUploadReq) Reset

func (m *BillUploadReq) Reset()

func (*BillUploadReq) String

func (m *BillUploadReq) String() string

type BillsNotConfirmedAns

type BillsNotConfirmedAns struct {
	Finished BoolEnum  `protobuf:"varint,1,opt,name=Finished,json=finished,enum=charge.protobuf.BoolEnum" json:"Finished,omitempty"`
	SendTime *DateTime `protobuf:"bytes,2,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
}

未被确认所有订单召唤.响应(0xC1)

func (*BillsNotConfirmedAns) Descriptor

func (*BillsNotConfirmedAns) Descriptor() ([]byte, []int)

func (*BillsNotConfirmedAns) GetFinished

func (m *BillsNotConfirmedAns) GetFinished() BoolEnum

func (*BillsNotConfirmedAns) GetSendTime

func (m *BillsNotConfirmedAns) GetSendTime() *DateTime

func (*BillsNotConfirmedAns) ProtoMessage

func (*BillsNotConfirmedAns) ProtoMessage()

func (*BillsNotConfirmedAns) Reset

func (m *BillsNotConfirmedAns) Reset()

func (*BillsNotConfirmedAns) String

func (m *BillsNotConfirmedAns) String() string

type BillsNotConfirmedReq

type BillsNotConfirmedReq struct {
	CanIndex  int32  `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Reserved1 string `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

未被确认所有订单召唤(0x41)

func (*BillsNotConfirmedReq) Descriptor

func (*BillsNotConfirmedReq) Descriptor() ([]byte, []int)

func (*BillsNotConfirmedReq) GetCanIndex

func (m *BillsNotConfirmedReq) GetCanIndex() int32

func (*BillsNotConfirmedReq) GetReserved1

func (m *BillsNotConfirmedReq) GetReserved1() string

func (*BillsNotConfirmedReq) GetReserved2

func (m *BillsNotConfirmedReq) GetReserved2() string

func (*BillsNotConfirmedReq) ProtoMessage

func (*BillsNotConfirmedReq) ProtoMessage()

func (*BillsNotConfirmedReq) Reset

func (m *BillsNotConfirmedReq) Reset()

func (*BillsNotConfirmedReq) String

func (m *BillsNotConfirmedReq) String() string

type BmsAns

type BmsAns struct {
	Confirm BoolEnum `protobuf:"varint,1,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
}

BMS数据召唤.响应(oxb5) 集控到前置不用该类型了,改用 通用响应(0xFE)

func (*BmsAns) Descriptor

func (*BmsAns) Descriptor() ([]byte, []int)

func (*BmsAns) GetConfirm

func (m *BmsAns) GetConfirm() BoolEnum

func (*BmsAns) ProtoMessage

func (*BmsAns) ProtoMessage()

func (*BmsAns) Reset

func (m *BmsAns) Reset()

func (*BmsAns) String

func (m *BmsAns) String() string

type BmsChargeFinish

type BmsChargeFinish struct {
	EndSoc             *DoubleValue `protobuf:"bytes,1,opt,name=EndSoc,json=endSoc" json:"EndSoc,omitempty"`
	VMinIndividal      *DoubleValue `protobuf:"bytes,2,opt,name=VMinIndividal,json=vMinIndividal" json:"VMinIndividal,omitempty"`
	VMaxIndividal      *DoubleValue `protobuf:"bytes,3,opt,name=VMaxIndividal,json=vMaxIndividal" json:"VMaxIndividal,omitempty"`
	TemperatureMin     *DoubleValue `protobuf:"bytes,4,opt,name=TemperatureMin,json=temperatureMin" json:"TemperatureMin,omitempty"`
	TemperatureMax     *DoubleValue `protobuf:"bytes,5,opt,name=TemperatureMax,json=temperatureMax" json:"TemperatureMax,omitempty"`
	BmsStopReason      *Int32Value  `protobuf:"bytes,6,opt,name=BmsStopReason,json=bmsStopReason" json:"BmsStopReason,omitempty"`
	BmsFaultReason     *Int32Value  `protobuf:"bytes,7,opt,name=BmsFaultReason,json=bmsFaultReason" json:"BmsFaultReason,omitempty"`
	BmsErrorReason     *Int32Value  `protobuf:"bytes,8,opt,name=BmsErrorReason,json=bmsErrorReason" json:"BmsErrorReason,omitempty"`
	ChargerStopReason  *Int32Value  `protobuf:"bytes,9,opt,name=ChargerStopReason,json=chargerStopReason" json:"ChargerStopReason,omitempty"`
	ChargerFaultReason *Int32Value  `protobuf:"bytes,10,opt,name=ChargerFaultReason,json=chargerFaultReason" json:"ChargerFaultReason,omitempty"`
	ChargerErrorReason *Int32Value  `protobuf:"bytes,11,opt,name=ChargerErrorReason,json=chargerErrorReason" json:"ChargerErrorReason,omitempty"`
	BmsEFrame          *Int32Value  `protobuf:"bytes,12,opt,name=BmsEFrame,json=bmsEFrame" json:"BmsEFrame,omitempty"`
	ChargerEFrame      *Int32Value  `protobuf:"bytes,13,opt,name=ChargerEFrame,json=chargerEFrame" json:"ChargerEFrame,omitempty"`
}

BmsChargeFinish-充电结束阶段BMS信息

func (*BmsChargeFinish) Descriptor

func (*BmsChargeFinish) Descriptor() ([]byte, []int)

func (*BmsChargeFinish) GetBmsEFrame

func (m *BmsChargeFinish) GetBmsEFrame() *Int32Value

func (*BmsChargeFinish) GetBmsErrorReason

func (m *BmsChargeFinish) GetBmsErrorReason() *Int32Value

func (*BmsChargeFinish) GetBmsFaultReason

func (m *BmsChargeFinish) GetBmsFaultReason() *Int32Value

func (*BmsChargeFinish) GetBmsStopReason

func (m *BmsChargeFinish) GetBmsStopReason() *Int32Value

func (*BmsChargeFinish) GetChargerEFrame

func (m *BmsChargeFinish) GetChargerEFrame() *Int32Value

func (*BmsChargeFinish) GetChargerErrorReason

func (m *BmsChargeFinish) GetChargerErrorReason() *Int32Value

func (*BmsChargeFinish) GetChargerFaultReason

func (m *BmsChargeFinish) GetChargerFaultReason() *Int32Value

func (*BmsChargeFinish) GetChargerStopReason

func (m *BmsChargeFinish) GetChargerStopReason() *Int32Value

func (*BmsChargeFinish) GetEndSoc

func (m *BmsChargeFinish) GetEndSoc() *DoubleValue

func (*BmsChargeFinish) GetTemperatureMax

func (m *BmsChargeFinish) GetTemperatureMax() *DoubleValue

func (*BmsChargeFinish) GetTemperatureMin

func (m *BmsChargeFinish) GetTemperatureMin() *DoubleValue

func (*BmsChargeFinish) GetVMaxIndividal

func (m *BmsChargeFinish) GetVMaxIndividal() *DoubleValue

func (*BmsChargeFinish) GetVMinIndividal

func (m *BmsChargeFinish) GetVMinIndividal() *DoubleValue

func (*BmsChargeFinish) ProtoMessage

func (*BmsChargeFinish) ProtoMessage()

func (*BmsChargeFinish) Reset

func (m *BmsChargeFinish) Reset()

func (*BmsChargeFinish) String

func (m *BmsChargeFinish) String() string

type BmsCharging

type BmsCharging struct {
	VDemand                              float64      `protobuf:"fixed64,1,opt,name=VDemand,json=vDemand" json:"VDemand,omitempty"`
	IDemand                              float64      `protobuf:"fixed64,2,opt,name=IDemand,json=iDemand" json:"IDemand,omitempty"`
	CurrentSoc                           float64      `protobuf:"fixed64,3,opt,name=CurrentSoc,json=currentSoc" json:"CurrentSoc,omitempty"`
	RemainTime                           float64      `protobuf:"fixed64,4,opt,name=RemainTime,json=remainTime" json:"RemainTime,omitempty"`
	ChargeMode                           ChargingMode `protobuf:"varint,5,opt,name=ChargeMode,json=chargeMode,enum=charge.protobuf.ChargingMode" json:"ChargeMode,omitempty"`
	VMeasure                             float64      `protobuf:"fixed64,6,opt,name=VMeasure,json=vMeasure" json:"VMeasure,omitempty"`
	IMeasure                             float64      `protobuf:"fixed64,7,opt,name=IMeasure,json=iMeasure" json:"IMeasure,omitempty"`
	VIndMax                              float64      `protobuf:"fixed64,8,opt,name=VIndMax,json=vIndMax" json:"VIndMax,omitempty"`
	VIndMaxCode                          int32        `protobuf:"varint,9,opt,name=VIndMaxCode,json=vIndMaxCode" json:"VIndMaxCode,omitempty"`
	VIndMin                              float64      `protobuf:"fixed64,10,opt,name=VIndMin,json=vIndMin" json:"VIndMin,omitempty"`
	VIndMinCode                          int32        `protobuf:"varint,11,opt,name=VIndMinCode,json=vIndMinCode" json:"VIndMinCode,omitempty"`
	TMax                                 float64      `protobuf:"fixed64,12,opt,name=TMax,json=tMax" json:"TMax,omitempty"`
	TMaxCode                             int32        `protobuf:"varint,13,opt,name=TMaxCode,json=tMaxCode" json:"TMaxCode,omitempty"`
	TMin                                 float64      `protobuf:"fixed64,14,opt,name=TMin,json=tMin" json:"TMin,omitempty"`
	TMinCode                             int32        `protobuf:"varint,15,opt,name=TMinCode,json=tMinCode" json:"TMinCode,omitempty"`
	ChargeAllow                          BoolEnum     `protobuf:"varint,16,opt,name=ChargeAllow,json=chargeAllow,enum=charge.protobuf.BoolEnum" json:"ChargeAllow,omitempty"`
	VIndHigh                             BoolEnum     `protobuf:"varint,17,opt,name=VIndHigh,json=vIndHigh,enum=charge.protobuf.BoolEnum" json:"VIndHigh,omitempty"`
	VIndLow                              BoolEnum     `protobuf:"varint,18,opt,name=VIndLow,json=vIndLow,enum=charge.protobuf.BoolEnum" json:"VIndLow,omitempty"`
	SoHigh                               BoolEnum     `protobuf:"varint,19,opt,name=SoHigh,json=soHigh,enum=charge.protobuf.BoolEnum" json:"SoHigh,omitempty"`
	SocLow                               BoolEnum     `protobuf:"varint,20,opt,name=SocLow,json=socLow,enum=charge.protobuf.BoolEnum" json:"SocLow,omitempty"`
	IHigh                                BoolEnum     `protobuf:"varint,21,opt,name=IHigh,json=iHigh,enum=charge.protobuf.BoolEnum" json:"IHigh,omitempty"`
	THigh                                BoolEnum     `protobuf:"varint,22,opt,name=THigh,json=tHigh,enum=charge.protobuf.BoolEnum" json:"THigh,omitempty"`
	Insulation                           BoolEnum     `protobuf:"varint,23,opt,name=Insulation,json=insulation,enum=charge.protobuf.BoolEnum" json:"Insulation,omitempty"`
	OutputConnector                      BoolEnum     `` /* 129-byte string literal not displayed */
	VIndMaxGroupNum                      int32        `protobuf:"varint,25,opt,name=VIndMaxGroupNum,json=vIndMaxGroupNum" json:"VIndMaxGroupNum,omitempty"`
	AccumulatedExternalChargStorageValue *Int32Value  `` /* 161-byte string literal not displayed */
	HeatingMode                          *Int32Value  `protobuf:"bytes,27,opt,name=HeatingMode,json=heatingMode" json:"HeatingMode,omitempty"`
}

BmsCharging-充电阶段BMS信息

func (*BmsCharging) Descriptor

func (*BmsCharging) Descriptor() ([]byte, []int)

func (*BmsCharging) GetAccumulatedExternalChargStorageValue

func (m *BmsCharging) GetAccumulatedExternalChargStorageValue() *Int32Value

func (*BmsCharging) GetChargeAllow

func (m *BmsCharging) GetChargeAllow() BoolEnum

func (*BmsCharging) GetChargeMode

func (m *BmsCharging) GetChargeMode() ChargingMode

func (*BmsCharging) GetCurrentSoc

func (m *BmsCharging) GetCurrentSoc() float64

func (*BmsCharging) GetHeatingMode

func (m *BmsCharging) GetHeatingMode() *Int32Value

func (*BmsCharging) GetIDemand

func (m *BmsCharging) GetIDemand() float64

func (*BmsCharging) GetIHigh

func (m *BmsCharging) GetIHigh() BoolEnum

func (*BmsCharging) GetIMeasure

func (m *BmsCharging) GetIMeasure() float64

func (*BmsCharging) GetInsulation

func (m *BmsCharging) GetInsulation() BoolEnum

func (*BmsCharging) GetOutputConnector

func (m *BmsCharging) GetOutputConnector() BoolEnum

func (*BmsCharging) GetRemainTime

func (m *BmsCharging) GetRemainTime() float64

func (*BmsCharging) GetSoHigh

func (m *BmsCharging) GetSoHigh() BoolEnum

func (*BmsCharging) GetSocLow

func (m *BmsCharging) GetSocLow() BoolEnum

func (*BmsCharging) GetTHigh

func (m *BmsCharging) GetTHigh() BoolEnum

func (*BmsCharging) GetTMax

func (m *BmsCharging) GetTMax() float64

func (*BmsCharging) GetTMaxCode

func (m *BmsCharging) GetTMaxCode() int32

func (*BmsCharging) GetTMin

func (m *BmsCharging) GetTMin() float64

func (*BmsCharging) GetTMinCode

func (m *BmsCharging) GetTMinCode() int32

func (*BmsCharging) GetVDemand

func (m *BmsCharging) GetVDemand() float64

func (*BmsCharging) GetVIndHigh

func (m *BmsCharging) GetVIndHigh() BoolEnum

func (*BmsCharging) GetVIndLow

func (m *BmsCharging) GetVIndLow() BoolEnum

func (*BmsCharging) GetVIndMax

func (m *BmsCharging) GetVIndMax() float64

func (*BmsCharging) GetVIndMaxCode

func (m *BmsCharging) GetVIndMaxCode() int32

func (*BmsCharging) GetVIndMaxGroupNum

func (m *BmsCharging) GetVIndMaxGroupNum() int32

func (*BmsCharging) GetVIndMin

func (m *BmsCharging) GetVIndMin() float64

func (*BmsCharging) GetVIndMinCode

func (m *BmsCharging) GetVIndMinCode() int32

func (*BmsCharging) GetVMeasure

func (m *BmsCharging) GetVMeasure() float64

func (*BmsCharging) ProtoMessage

func (*BmsCharging) ProtoMessage()

func (*BmsCharging) Reset

func (m *BmsCharging) Reset()

func (*BmsCharging) String

func (m *BmsCharging) String() string

type BmsConfig

type BmsConfig struct {
	VIndAllowedMax *DoubleValue `protobuf:"bytes,1,opt,name=VIndAllowedMax,json=vIndAllowedMax" json:"VIndAllowedMax,omitempty"`
	IAllowedMax    *DoubleValue `protobuf:"bytes,2,opt,name=IAllowedMax,json=iAllowedMax" json:"IAllowedMax,omitempty"`
	EnergyRated    *DoubleValue `protobuf:"bytes,3,opt,name=EnergyRated,json=energyRated" json:"EnergyRated,omitempty"`
	VAllowedMax    *DoubleValue `protobuf:"bytes,4,opt,name=VAllowedMax,json=vAllowedMax" json:"VAllowedMax,omitempty"`
	TAllowedMax    *DoubleValue `protobuf:"bytes,5,opt,name=TAllowedMax,json=tAllowedMax" json:"TAllowedMax,omitempty"`
	StartSoc       *DoubleValue `protobuf:"bytes,6,opt,name=StartSoc,json=startSoc" json:"StartSoc,omitempty"`
	VCurrent       *DoubleValue `protobuf:"bytes,7,opt,name=VCurrent,json=vCurrent" json:"VCurrent,omitempty"`
	VCOutputMax    *DoubleValue `protobuf:"bytes,8,opt,name=VCOutputMax,json=vCOutputMax" json:"VCOutputMax,omitempty"`
	VCOutputMin    *DoubleValue `protobuf:"bytes,9,opt,name=VCOutputMin,json=vCOutputMin" json:"VCOutputMin,omitempty"`
	ICOutputMax    *DoubleValue `protobuf:"bytes,10,opt,name=ICOutputMax,json=iCOutputMax" json:"ICOutputMax,omitempty"`
	ICOutputMin    *DoubleValue `protobuf:"bytes,11,opt,name=ICOutputMin,json=iCOutputMin" json:"ICOutputMin,omitempty"`
}

BmsConfig-参数配置阶段BMS信息

func (*BmsConfig) Descriptor

func (*BmsConfig) Descriptor() ([]byte, []int)

func (*BmsConfig) GetEnergyRated

func (m *BmsConfig) GetEnergyRated() *DoubleValue

func (*BmsConfig) GetIAllowedMax

func (m *BmsConfig) GetIAllowedMax() *DoubleValue

func (*BmsConfig) GetICOutputMax

func (m *BmsConfig) GetICOutputMax() *DoubleValue

func (*BmsConfig) GetICOutputMin

func (m *BmsConfig) GetICOutputMin() *DoubleValue

func (*BmsConfig) GetStartSoc

func (m *BmsConfig) GetStartSoc() *DoubleValue

func (*BmsConfig) GetTAllowedMax

func (m *BmsConfig) GetTAllowedMax() *DoubleValue

func (*BmsConfig) GetVAllowedMax

func (m *BmsConfig) GetVAllowedMax() *DoubleValue

func (*BmsConfig) GetVCOutputMax

func (m *BmsConfig) GetVCOutputMax() *DoubleValue

func (*BmsConfig) GetVCOutputMin

func (m *BmsConfig) GetVCOutputMin() *DoubleValue

func (*BmsConfig) GetVCurrent

func (m *BmsConfig) GetVCurrent() *DoubleValue

func (*BmsConfig) GetVIndAllowedMax

func (m *BmsConfig) GetVIndAllowedMax() *DoubleValue

func (*BmsConfig) ProtoMessage

func (*BmsConfig) ProtoMessage()

func (*BmsConfig) Reset

func (m *BmsConfig) Reset()

func (*BmsConfig) String

func (m *BmsConfig) String() string

type BmsNotifyAns

type BmsNotifyAns struct {
	Confirm []BoolEnum `protobuf:"varint,1,rep,packed,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
}

BMS数据通知.响应(0xB6) 集控到前置不用该类型了,改用 通用响应(0xFE)

func (*BmsNotifyAns) Descriptor

func (*BmsNotifyAns) Descriptor() ([]byte, []int)

func (*BmsNotifyAns) GetConfirm

func (m *BmsNotifyAns) GetConfirm() []BoolEnum

func (*BmsNotifyAns) ProtoMessage

func (*BmsNotifyAns) ProtoMessage()

func (*BmsNotifyAns) Reset

func (m *BmsNotifyAns) Reset()

func (*BmsNotifyAns) String

func (m *BmsNotifyAns) String() string

type BmsNotifyReq

type BmsNotifyReq struct {
	CanIndex     int32        `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Vin          string       `protobuf:"bytes,2,opt,name=Vin,json=vin" json:"Vin,omitempty"`
	Reason       SendReason   `protobuf:"varint,3,opt,name=Reason,json=reason,enum=charge.protobuf.SendReason" json:"Reason,omitempty"`
	SendTime     *DateTime    `protobuf:"bytes,4,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	ChargingInfo *BmsCharging `protobuf:"bytes,5,opt,name=ChargingInfo,json=chargingInfo" json:"ChargingInfo,omitempty"`
	BillCode     string       `protobuf:"bytes,6,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	CtrlBillCode string       `protobuf:"bytes,7,opt,name=CtrlBillCode,json=ctrlBillCode" json:"CtrlBillCode,omitempty"`
	BillIdPlt    string       `protobuf:"bytes,8,opt,name=BillIdPlt,json=billIdPlt" json:"BillIdPlt,omitempty"`
	Reserved1    string       `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2    string       `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

BMS数据通知.请求(0x36)

func (*BmsNotifyReq) Descriptor

func (*BmsNotifyReq) Descriptor() ([]byte, []int)

func (*BmsNotifyReq) GetBillCode

func (m *BmsNotifyReq) GetBillCode() string

func (*BmsNotifyReq) GetBillIdPlt

func (m *BmsNotifyReq) GetBillIdPlt() string

func (*BmsNotifyReq) GetCanIndex

func (m *BmsNotifyReq) GetCanIndex() int32

func (*BmsNotifyReq) GetChargingInfo

func (m *BmsNotifyReq) GetChargingInfo() *BmsCharging

func (*BmsNotifyReq) GetCtrlBillCode

func (m *BmsNotifyReq) GetCtrlBillCode() string

func (*BmsNotifyReq) GetReason

func (m *BmsNotifyReq) GetReason() SendReason

func (*BmsNotifyReq) GetReserved1

func (m *BmsNotifyReq) GetReserved1() string

func (*BmsNotifyReq) GetReserved2

func (m *BmsNotifyReq) GetReserved2() string

func (*BmsNotifyReq) GetSendTime

func (m *BmsNotifyReq) GetSendTime() *DateTime

func (*BmsNotifyReq) GetVin

func (m *BmsNotifyReq) GetVin() string

func (*BmsNotifyReq) ProtoMessage

func (*BmsNotifyReq) ProtoMessage()

func (*BmsNotifyReq) Reset

func (m *BmsNotifyReq) Reset()

func (*BmsNotifyReq) String

func (m *BmsNotifyReq) String() string

type BmsParamNotifyAns

type BmsParamNotifyAns struct {
	Confirm BoolEnum `protobuf:"varint,1,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
}

BMS参数通知.响应(0xA6) 集控到前置不用该类型了,改用 通用响应(0xFE)

func (*BmsParamNotifyAns) Descriptor

func (*BmsParamNotifyAns) Descriptor() ([]byte, []int)

func (*BmsParamNotifyAns) GetConfirm

func (m *BmsParamNotifyAns) GetConfirm() BoolEnum

func (*BmsParamNotifyAns) ProtoMessage

func (*BmsParamNotifyAns) ProtoMessage()

func (*BmsParamNotifyAns) Reset

func (m *BmsParamNotifyAns) Reset()

func (*BmsParamNotifyAns) String

func (m *BmsParamNotifyAns) String() string

type BmsParamNotifyReq

type BmsParamNotifyReq struct {
	CanIndex         int32            `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Vin              string           `protobuf:"bytes,2,opt,name=Vin,json=vin" json:"Vin,omitempty"`
	Reason           SendReason       `protobuf:"varint,3,opt,name=Reason,json=reason,enum=charge.protobuf.SendReason" json:"Reason,omitempty"`
	SendTime         *DateTime        `protobuf:"bytes,4,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	ShakehandsInfo   *BmsShakehands   `protobuf:"bytes,5,opt,name=ShakehandsInfo,json=shakehandsInfo" json:"ShakehandsInfo,omitempty"`
	ConfigInfo       *BmsConfig       `protobuf:"bytes,6,opt,name=ConfigInfo,json=configInfo" json:"ConfigInfo,omitempty"`
	ChargeFinishInfo *BmsChargeFinish `protobuf:"bytes,7,opt,name=ChargeFinishInfo,json=chargeFinishInfo" json:"ChargeFinishInfo,omitempty"`
	BillCode         string           `protobuf:"bytes,8,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	CtrlBillCode     string           `protobuf:"bytes,9,opt,name=CtrlBillCode,json=ctrlBillCode" json:"CtrlBillCode,omitempty"`
	BillIdPlt        string           `protobuf:"bytes,10,opt,name=BillIdPlt,json=billIdPlt" json:"BillIdPlt,omitempty"`
	Reserved1        string           `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2        string           `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

BMS参数通知.请求(0x26)

func (*BmsParamNotifyReq) Descriptor

func (*BmsParamNotifyReq) Descriptor() ([]byte, []int)

func (*BmsParamNotifyReq) GetBillCode

func (m *BmsParamNotifyReq) GetBillCode() string

func (*BmsParamNotifyReq) GetBillIdPlt

func (m *BmsParamNotifyReq) GetBillIdPlt() string

func (*BmsParamNotifyReq) GetCanIndex

func (m *BmsParamNotifyReq) GetCanIndex() int32

func (*BmsParamNotifyReq) GetChargeFinishInfo

func (m *BmsParamNotifyReq) GetChargeFinishInfo() *BmsChargeFinish

func (*BmsParamNotifyReq) GetConfigInfo

func (m *BmsParamNotifyReq) GetConfigInfo() *BmsConfig

func (*BmsParamNotifyReq) GetCtrlBillCode

func (m *BmsParamNotifyReq) GetCtrlBillCode() string

func (*BmsParamNotifyReq) GetReason

func (m *BmsParamNotifyReq) GetReason() SendReason

func (*BmsParamNotifyReq) GetReserved1

func (m *BmsParamNotifyReq) GetReserved1() string

func (*BmsParamNotifyReq) GetReserved2

func (m *BmsParamNotifyReq) GetReserved2() string

func (*BmsParamNotifyReq) GetSendTime

func (m *BmsParamNotifyReq) GetSendTime() *DateTime

func (*BmsParamNotifyReq) GetShakehandsInfo

func (m *BmsParamNotifyReq) GetShakehandsInfo() *BmsShakehands

func (*BmsParamNotifyReq) GetVin

func (m *BmsParamNotifyReq) GetVin() string

func (*BmsParamNotifyReq) ProtoMessage

func (*BmsParamNotifyReq) ProtoMessage()

func (*BmsParamNotifyReq) Reset

func (m *BmsParamNotifyReq) Reset()

func (*BmsParamNotifyReq) String

func (m *BmsParamNotifyReq) String() string

type BmsReq

type BmsReq struct {
	CanIndex  []int32 `protobuf:"varint,1,rep,packed,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Reserved1 string  `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string  `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

BMS数据召唤.请求(0x35)

func (*BmsReq) Descriptor

func (*BmsReq) Descriptor() ([]byte, []int)

func (*BmsReq) GetCanIndex

func (m *BmsReq) GetCanIndex() []int32

func (*BmsReq) GetReserved1

func (m *BmsReq) GetReserved1() string

func (*BmsReq) GetReserved2

func (m *BmsReq) GetReserved2() string

func (*BmsReq) ProtoMessage

func (*BmsReq) ProtoMessage()

func (*BmsReq) Reset

func (m *BmsReq) Reset()

func (*BmsReq) String

func (m *BmsReq) String() string

type BmsShakehands

type BmsShakehands struct {
	VolMaxAllowed   *DoubleValue `protobuf:"bytes,1,opt,name=VolMaxAllowed,json=volMaxAllowed" json:"VolMaxAllowed,omitempty"`
	BatteryType     *Int32Value  `protobuf:"bytes,2,opt,name=BatteryType,json=batteryType" json:"BatteryType,omitempty"`
	CapacityRated   *DoubleValue `protobuf:"bytes,3,opt,name=CapacityRated,json=capacityRated" json:"CapacityRated,omitempty"`
	VoltageRated    *DoubleValue `protobuf:"bytes,4,opt,name=VoltageRated,json=voltageRated" json:"VoltageRated,omitempty"`
	BatteryVendor   string       `protobuf:"bytes,5,opt,name=BatteryVendor,json=batteryVendor" json:"BatteryVendor,omitempty"`
	BatterySequence *Int32Value  `protobuf:"bytes,6,opt,name=BatterySequence,json=batterySequence" json:"BatterySequence,omitempty"`
	ProduceDate     string       `protobuf:"bytes,7,opt,name=ProduceDate,json=produceDate" json:"ProduceDate,omitempty"`
	ChargeCount     *Int32Value  `protobuf:"bytes,8,opt,name=ChargeCount,json=chargeCount" json:"ChargeCount,omitempty"`
	RightIdentifier *Int32Value  `protobuf:"bytes,9,opt,name=RightIdentifier,json=rightIdentifier" json:"RightIdentifier,omitempty"`
	BmsVersion      string       `protobuf:"bytes,10,opt,name=BmsVersion,json=bmsVersion" json:"BmsVersion,omitempty"`
	BmsAndCarId     string       `protobuf:"bytes,11,opt,name=BmsAndCarId,json=bmsAndCarId" json:"BmsAndCarId,omitempty"`
	GBTProtoVersion string       `protobuf:"bytes,12,opt,name=GBTProtoVersion,json=gBTProtoVersion" json:"GBTProtoVersion,omitempty"`
}

BmsShakehands-握手阶段BMS信息

func (*BmsShakehands) Descriptor

func (*BmsShakehands) Descriptor() ([]byte, []int)

func (*BmsShakehands) GetBatterySequence

func (m *BmsShakehands) GetBatterySequence() *Int32Value

func (*BmsShakehands) GetBatteryType

func (m *BmsShakehands) GetBatteryType() *Int32Value

func (*BmsShakehands) GetBatteryVendor

func (m *BmsShakehands) GetBatteryVendor() string

func (*BmsShakehands) GetBmsAndCarId

func (m *BmsShakehands) GetBmsAndCarId() string

func (*BmsShakehands) GetBmsVersion

func (m *BmsShakehands) GetBmsVersion() string

func (*BmsShakehands) GetCapacityRated

func (m *BmsShakehands) GetCapacityRated() *DoubleValue

func (*BmsShakehands) GetChargeCount

func (m *BmsShakehands) GetChargeCount() *Int32Value

func (*BmsShakehands) GetGBTProtoVersion

func (m *BmsShakehands) GetGBTProtoVersion() string

func (*BmsShakehands) GetProduceDate

func (m *BmsShakehands) GetProduceDate() string

func (*BmsShakehands) GetRightIdentifier

func (m *BmsShakehands) GetRightIdentifier() *Int32Value

func (*BmsShakehands) GetVolMaxAllowed

func (m *BmsShakehands) GetVolMaxAllowed() *DoubleValue

func (*BmsShakehands) GetVoltageRated

func (m *BmsShakehands) GetVoltageRated() *DoubleValue

func (*BmsShakehands) ProtoMessage

func (*BmsShakehands) ProtoMessage()

func (*BmsShakehands) Reset

func (m *BmsShakehands) Reset()

func (*BmsShakehands) String

func (m *BmsShakehands) String() string

type BoolEnum

type BoolEnum int32

布尔类型枚举

const (
	BoolEnum_DefaultBool BoolEnum = 0
	BoolEnum_True        BoolEnum = 1
	BoolEnum_False       BoolEnum = 2
)

func (BoolEnum) EnumDescriptor

func (BoolEnum) EnumDescriptor() ([]byte, []int)

func (BoolEnum) String

func (x BoolEnum) String() string

type CMSDataReq

type CMSDataReq struct {
	SendTime     *DateTime     `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	CanIndex     int32         `protobuf:"varint,2,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Alarm        []*AlarmLists `protobuf:"bytes,3,rep,name=Alarm,json=alarm" json:"Alarm,omitempty"`
	BillCode     string        `protobuf:"bytes,4,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	CtrlBillCode string        `protobuf:"bytes,5,opt,name=CtrlBillCode,json=ctrlBillCode" json:"CtrlBillCode,omitempty"`
	Reserved1    string        `protobuf:"bytes,6,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2    string        `protobuf:"bytes,7,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

主动防护数据上报(0x27),D ->P

func (*CMSDataReq) Descriptor

func (*CMSDataReq) Descriptor() ([]byte, []int)

func (*CMSDataReq) GetAlarm

func (m *CMSDataReq) GetAlarm() []*AlarmLists

func (*CMSDataReq) GetBillCode

func (m *CMSDataReq) GetBillCode() string

func (*CMSDataReq) GetCanIndex

func (m *CMSDataReq) GetCanIndex() int32

func (*CMSDataReq) GetCtrlBillCode

func (m *CMSDataReq) GetCtrlBillCode() string

func (*CMSDataReq) GetReserved1

func (m *CMSDataReq) GetReserved1() string

func (*CMSDataReq) GetReserved2

func (m *CMSDataReq) GetReserved2() string

func (*CMSDataReq) GetSendTime

func (m *CMSDataReq) GetSendTime() *DateTime

func (*CMSDataReq) ProtoMessage

func (*CMSDataReq) ProtoMessage()

func (*CMSDataReq) Reset

func (m *CMSDataReq) Reset()

func (*CMSDataReq) String

func (m *CMSDataReq) String() string

type CallAllDataReq

type CallAllDataReq struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	CallFlag  int32     `protobuf:"varint,2,opt,name=CallFlag,json=callFlag" json:"CallFlag,omitempty"`
	CanIndex  int32     `protobuf:"varint,3,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
	Reserved3 string    `protobuf:"bytes,103,opt,name=Reserved3,json=reserved3" json:"Reserved3,omitempty"`
}

平台下发总召.请求 0x75 CM->FES

func (*CallAllDataReq) Descriptor

func (*CallAllDataReq) Descriptor() ([]byte, []int)

func (*CallAllDataReq) GetCallFlag

func (m *CallAllDataReq) GetCallFlag() int32

func (*CallAllDataReq) GetCanIndex

func (m *CallAllDataReq) GetCanIndex() int32

func (*CallAllDataReq) GetReserved1

func (m *CallAllDataReq) GetReserved1() string

func (*CallAllDataReq) GetReserved2

func (m *CallAllDataReq) GetReserved2() string

func (*CallAllDataReq) GetReserved3

func (m *CallAllDataReq) GetReserved3() string

func (*CallAllDataReq) GetSendTime

func (m *CallAllDataReq) GetSendTime() *DateTime

func (*CallAllDataReq) ProtoMessage

func (*CallAllDataReq) ProtoMessage()

func (*CallAllDataReq) Reset

func (m *CallAllDataReq) Reset()

func (*CallAllDataReq) String

func (m *CallAllDataReq) String() string

type CanPileNumAns

type CanPileNumAns struct {
	SendTime       *DateTime        `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	StationName    string           `protobuf:"bytes,2,opt,name=StationName,json=stationName" json:"StationName,omitempty"`
	CanPileNumMap  map[int32]string `` /* 166-byte string literal not displayed */
	CanPileCodeMap map[int32]string `` /* 169-byte string literal not displayed */
	CanQRCodeMap   map[int32]string `` /* 163-byte string literal not displayed */
	Reserved1      string           `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
}

设备侧申请CAN地址和终端编号对应关系.响应(0xA5),P-> D

func (*CanPileNumAns) Descriptor

func (*CanPileNumAns) Descriptor() ([]byte, []int)

func (*CanPileNumAns) GetCanPileCodeMap

func (m *CanPileNumAns) GetCanPileCodeMap() map[int32]string

func (*CanPileNumAns) GetCanPileNumMap

func (m *CanPileNumAns) GetCanPileNumMap() map[int32]string

func (*CanPileNumAns) GetCanQRCodeMap

func (m *CanPileNumAns) GetCanQRCodeMap() map[int32]string

func (*CanPileNumAns) GetReserved1

func (m *CanPileNumAns) GetReserved1() string

func (*CanPileNumAns) GetSendTime

func (m *CanPileNumAns) GetSendTime() *DateTime

func (*CanPileNumAns) GetStationName

func (m *CanPileNumAns) GetStationName() string

func (*CanPileNumAns) ProtoMessage

func (*CanPileNumAns) ProtoMessage()

func (*CanPileNumAns) Reset

func (m *CanPileNumAns) Reset()

func (*CanPileNumAns) String

func (m *CanPileNumAns) String() string

type CanPileNumReq

type CanPileNumReq struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
}

设备侧申请CAN地址和终端编号对应关系.请求(0x25),D-> P

func (*CanPileNumReq) Descriptor

func (*CanPileNumReq) Descriptor() ([]byte, []int)

func (*CanPileNumReq) GetReserved1

func (m *CanPileNumReq) GetReserved1() string

func (*CanPileNumReq) GetSendTime

func (m *CanPileNumReq) GetSendTime() *DateTime

func (*CanPileNumReq) ProtoMessage

func (*CanPileNumReq) ProtoMessage()

func (*CanPileNumReq) Reset

func (m *CanPileNumReq) Reset()

func (*CanPileNumReq) String

func (m *CanPileNumReq) String() string

type CarInfo

type CarInfo struct {
	CarID  string   `protobuf:"bytes,1,opt,name=CarID,json=carID" json:"CarID,omitempty"`
	CarVIN string   `protobuf:"bytes,2,opt,name=CarVIN,json=carVIN" json:"CarVIN,omitempty"`
	PRI    int32    `protobuf:"varint,3,opt,name=PRI,json=pRI" json:"PRI,omitempty"`
	Plate  string   `protobuf:"bytes,4,opt,name=Plate,json=plate" json:"Plate,omitempty"`
	IsDel  BoolEnum `protobuf:"varint,5,opt,name=IsDel,json=isDel,enum=charge.protobuf.BoolEnum" json:"IsDel,omitempty"`
}

汽车信息

func (*CarInfo) Descriptor

func (*CarInfo) Descriptor() ([]byte, []int)

func (*CarInfo) GetCarID

func (m *CarInfo) GetCarID() string

func (*CarInfo) GetCarVIN

func (m *CarInfo) GetCarVIN() string

func (*CarInfo) GetIsDel

func (m *CarInfo) GetIsDel() BoolEnum

func (*CarInfo) GetPRI

func (m *CarInfo) GetPRI() int32

func (*CarInfo) GetPlate

func (m *CarInfo) GetPlate() string

func (*CarInfo) ProtoMessage

func (*CarInfo) ProtoMessage()

func (*CarInfo) Reset

func (m *CarInfo) Reset()

func (*CarInfo) String

func (m *CarInfo) String() string

type CardInfo

type CardInfo struct {
	CardID   string   `protobuf:"bytes,1,opt,name=CardID,json=cardID" json:"CardID,omitempty"`
	CardCode string   `protobuf:"bytes,2,opt,name=CardCode,json=cardCode" json:"CardCode,omitempty"`
	IsDel    BoolEnum `protobuf:"varint,3,opt,name=IsDel,json=isDel,enum=charge.protobuf.BoolEnum" json:"IsDel,omitempty"`
	Balabce  float64  `protobuf:"fixed64,4,opt,name=Balabce,json=balabce" json:"Balabce,omitempty"`
}

充电卡的状态信息

func (*CardInfo) Descriptor

func (*CardInfo) Descriptor() ([]byte, []int)

func (*CardInfo) GetBalabce

func (m *CardInfo) GetBalabce() float64

func (*CardInfo) GetCardCode

func (m *CardInfo) GetCardCode() string

func (*CardInfo) GetCardID

func (m *CardInfo) GetCardID() string

func (*CardInfo) GetIsDel

func (m *CardInfo) GetIsDel() BoolEnum

func (*CardInfo) ProtoMessage

func (*CardInfo) ProtoMessage()

func (*CardInfo) Reset

func (m *CardInfo) Reset()

func (*CardInfo) String

func (m *CardInfo) String() string

type ChargeDischarge

type ChargeDischarge int32

停止充电类型

const (
	ChargeDischarge_DefaultChargeDischarge ChargeDischarge = 0
	ChargeDischarge_StopChargeType         ChargeDischarge = 1
	ChargeDischarge_StopDischargeType      ChargeDischarge = 2
)

func (ChargeDischarge) EnumDescriptor

func (ChargeDischarge) EnumDescriptor() ([]byte, []int)

func (ChargeDischarge) String

func (x ChargeDischarge) String() string

type ChargeFrozen

type ChargeFrozen struct {
	FrozenTime *DateTime `protobuf:"bytes,1,opt,name=FrozenTime,json=frozenTime" json:"FrozenTime,omitempty"`
	KWh        float64   `protobuf:"fixed64,2,opt,name=kWh" json:"kWh,omitempty"`
}

充电冻结电量

func (*ChargeFrozen) Descriptor

func (*ChargeFrozen) Descriptor() ([]byte, []int)

func (*ChargeFrozen) GetFrozenTime

func (m *ChargeFrozen) GetFrozenTime() *DateTime

func (*ChargeFrozen) GetKWh

func (m *ChargeFrozen) GetKWh() float64

func (*ChargeFrozen) ProtoMessage

func (*ChargeFrozen) ProtoMessage()

func (*ChargeFrozen) Reset

func (m *ChargeFrozen) Reset()

func (*ChargeFrozen) String

func (m *ChargeFrozen) String() string

type ChargeRequestType

type ChargeRequestType int32

充电请求类型

const (
	ChargeRequestType_DefaultChargeRequestType ChargeRequestType = 0
	ChargeRequestType_VinCharge                ChargeRequestType = 1
	ChargeRequestType_PlateCharge              ChargeRequestType = 2
	ChargeRequestType_CardCharge               ChargeRequestType = 3
	ChargeRequestType_UserCodeCharge           ChargeRequestType = 4
)

func (ChargeRequestType) EnumDescriptor

func (ChargeRequestType) EnumDescriptor() ([]byte, []int)

func (ChargeRequestType) String

func (x ChargeRequestType) String() string

type ChargerState

type ChargerState struct {
	CanIndex      int32            `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	State         ChargerStateEnum `protobuf:"varint,2,opt,name=State,json=state,enum=charge.protobuf.ChargerStateEnum" json:"State,omitempty"`
	Timestamp     *DateTime        `protobuf:"bytes,3,opt,name=Timestamp,json=timestamp" json:"Timestamp,omitempty"`
	QueueSequence int32            `protobuf:"varint,4,opt,name=QueueSequence,json=queueSequence" json:"QueueSequence,omitempty"`
	BillCode      string           `protobuf:"bytes,5,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	CtrlBillCode  string           `protobuf:"bytes,6,opt,name=CtrlBillCode,json=ctrlBillCode" json:"CtrlBillCode,omitempty"`
}

充电机工作状态

func (*ChargerState) Descriptor

func (*ChargerState) Descriptor() ([]byte, []int)

func (*ChargerState) GetBillCode

func (m *ChargerState) GetBillCode() string

func (*ChargerState) GetCanIndex

func (m *ChargerState) GetCanIndex() int32

func (*ChargerState) GetCtrlBillCode

func (m *ChargerState) GetCtrlBillCode() string

func (*ChargerState) GetQueueSequence

func (m *ChargerState) GetQueueSequence() int32

func (*ChargerState) GetState

func (m *ChargerState) GetState() ChargerStateEnum

func (*ChargerState) GetTimestamp

func (m *ChargerState) GetTimestamp() *DateTime

func (*ChargerState) ProtoMessage

func (*ChargerState) ProtoMessage()

func (*ChargerState) Reset

func (m *ChargerState) Reset()

func (*ChargerState) String

func (m *ChargerState) String() string

type ChargerStateAns

type ChargerStateAns struct {
	Confirm BoolEnum `protobuf:"varint,1,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
}

召唤所有充电机当前工作状态.响应(0xA1)

func (*ChargerStateAns) Descriptor

func (*ChargerStateAns) Descriptor() ([]byte, []int)

func (*ChargerStateAns) GetConfirm

func (m *ChargerStateAns) GetConfirm() BoolEnum

func (*ChargerStateAns) ProtoMessage

func (*ChargerStateAns) ProtoMessage()

func (*ChargerStateAns) Reset

func (m *ChargerStateAns) Reset()

func (*ChargerStateAns) String

func (m *ChargerStateAns) String() string

type ChargerStateChangeAns

type ChargerStateChangeAns struct {
	Confirm BoolEnum `protobuf:"varint,1,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
}

充电机状态变化通知.响应(0xA0) 集控到前置不用该类型了,改用 通用响应(0xFE)

func (*ChargerStateChangeAns) Descriptor

func (*ChargerStateChangeAns) Descriptor() ([]byte, []int)

func (*ChargerStateChangeAns) GetConfirm

func (m *ChargerStateChangeAns) GetConfirm() BoolEnum

func (*ChargerStateChangeAns) ProtoMessage

func (*ChargerStateChangeAns) ProtoMessage()

func (*ChargerStateChangeAns) Reset

func (m *ChargerStateChangeAns) Reset()

func (*ChargerStateChangeAns) String

func (m *ChargerStateChangeAns) String() string

type ChargerStateChangeReq

type ChargerStateChangeReq struct {
	State     []*ChargerState `protobuf:"bytes,1,rep,name=State,json=state" json:"State,omitempty"`
	SendTime  *DateTime       `protobuf:"bytes,2,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Reason    SendReason      `protobuf:"varint,3,opt,name=Reason,json=reason,enum=charge.protobuf.SendReason" json:"Reason,omitempty"`
	Reserved1 string          `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string          `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

充电机状态变化通知.请求(0x20)

func (*ChargerStateChangeReq) Descriptor

func (*ChargerStateChangeReq) Descriptor() ([]byte, []int)

func (*ChargerStateChangeReq) GetReason

func (m *ChargerStateChangeReq) GetReason() SendReason

func (*ChargerStateChangeReq) GetReserved1

func (m *ChargerStateChangeReq) GetReserved1() string

func (*ChargerStateChangeReq) GetReserved2

func (m *ChargerStateChangeReq) GetReserved2() string

func (*ChargerStateChangeReq) GetSendTime

func (m *ChargerStateChangeReq) GetSendTime() *DateTime

func (*ChargerStateChangeReq) GetState

func (m *ChargerStateChangeReq) GetState() []*ChargerState

func (*ChargerStateChangeReq) ProtoMessage

func (*ChargerStateChangeReq) ProtoMessage()

func (*ChargerStateChangeReq) Reset

func (m *ChargerStateChangeReq) Reset()

func (*ChargerStateChangeReq) String

func (m *ChargerStateChangeReq) String() string

type ChargerStateEnum

type ChargerStateEnum int32

充电机工作状态枚举

const (
	ChargerStateEnum_DefaultChargerState ChargerStateEnum = 0
	ChargerStateEnum_Standby             ChargerStateEnum = 1
	ChargerStateEnum_Plug                ChargerStateEnum = 2
	ChargerStateEnum_Waiting             ChargerStateEnum = 3
	ChargerStateEnum_Queueing            ChargerStateEnum = 4
	ChargerStateEnum_Finished            ChargerStateEnum = 5
	ChargerStateEnum_Fulled              ChargerStateEnum = 6
	ChargerStateEnum_Charging            ChargerStateEnum = 17
	ChargerStateEnum_Changing            ChargerStateEnum = 18
	ChargerStateEnum_Pause               ChargerStateEnum = 19
	ChargerStateEnum_Restrict            ChargerStateEnum = 20
	ChargerStateEnum_EVPause             ChargerStateEnum = 21
	ChargerStateEnum_CtrlPause           ChargerStateEnum = 22
	ChargerStateEnum_PlatformPause       ChargerStateEnum = 23
	ChargerStateEnum_Starting            ChargerStateEnum = 33
	ChargerStateEnum_Offline             ChargerStateEnum = 34
	ChargerStateEnum_Sublance            ChargerStateEnum = 35
	ChargerStateEnum_Discharging         ChargerStateEnum = 36
	ChargerStateEnum_Fault               ChargerStateEnum = 37
	ChargerStateEnum_Dispatching         ChargerStateEnum = 38
)

func (ChargerStateEnum) EnumDescriptor

func (ChargerStateEnum) EnumDescriptor() ([]byte, []int)

func (ChargerStateEnum) String

func (x ChargerStateEnum) String() string

type ChargerStateReq

type ChargerStateReq struct {
	CanIndex  []int32 `protobuf:"varint,1,rep,packed,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Reserved1 string  `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string  `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

召唤所有充电机当前工作状态.请求(0x21)

func (*ChargerStateReq) Descriptor

func (*ChargerStateReq) Descriptor() ([]byte, []int)

func (*ChargerStateReq) GetCanIndex

func (m *ChargerStateReq) GetCanIndex() []int32

func (*ChargerStateReq) GetReserved1

func (m *ChargerStateReq) GetReserved1() string

func (*ChargerStateReq) GetReserved2

func (m *ChargerStateReq) GetReserved2() string

func (*ChargerStateReq) ProtoMessage

func (*ChargerStateReq) ProtoMessage()

func (*ChargerStateReq) Reset

func (m *ChargerStateReq) Reset()

func (*ChargerStateReq) String

func (m *ChargerStateReq) String() string

type ChargingMode

type ChargingMode int32

充电类型

const (
	ChargingMode_DefaultChargingMode ChargingMode = 0
	ChargingMode_VoltageStable       ChargingMode = 1
	ChargingMode_CurrentStable       ChargingMode = 2
)

func (ChargingMode) EnumDescriptor

func (ChargingMode) EnumDescriptor() ([]byte, []int)

func (ChargingMode) String

func (x ChargingMode) String() string

type ChargingStrategy

type ChargingStrategy struct {
	BeginTime    *DateTime `protobuf:"bytes,1,opt,name=BeginTime,json=beginTime" json:"BeginTime,omitempty"`
	EndTime      *DateTime `protobuf:"bytes,2,opt,name=EndTime,json=endTime" json:"EndTime,omitempty"`
	SuggestValue float64   `protobuf:"fixed64,3,opt,name=SuggestValue,json=suggestValue" json:"SuggestValue,omitempty"`
}

充电计划曲线

func (*ChargingStrategy) Descriptor

func (*ChargingStrategy) Descriptor() ([]byte, []int)

func (*ChargingStrategy) GetBeginTime

func (m *ChargingStrategy) GetBeginTime() *DateTime

func (*ChargingStrategy) GetEndTime

func (m *ChargingStrategy) GetEndTime() *DateTime

func (*ChargingStrategy) GetSuggestValue

func (m *ChargingStrategy) GetSuggestValue() float64

func (*ChargingStrategy) ProtoMessage

func (*ChargingStrategy) ProtoMessage()

func (*ChargingStrategy) Reset

func (m *ChargingStrategy) Reset()

func (*ChargingStrategy) String

func (m *ChargingStrategy) String() string

type ClearAccountCmdAns

type ClearAccountCmdAns struct {
	Confirm   BoolEnum `protobuf:"varint,1,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
	Reserved1 string   `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string   `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
	Reserved3 string   `protobuf:"bytes,103,opt,name=Reserved3,json=reserved3" json:"Reserved3,omitempty"`
}

集控账户信息清空命令.响应 0xC9

func (*ClearAccountCmdAns) Descriptor

func (*ClearAccountCmdAns) Descriptor() ([]byte, []int)

func (*ClearAccountCmdAns) GetConfirm

func (m *ClearAccountCmdAns) GetConfirm() BoolEnum

func (*ClearAccountCmdAns) GetReserved1

func (m *ClearAccountCmdAns) GetReserved1() string

func (*ClearAccountCmdAns) GetReserved2

func (m *ClearAccountCmdAns) GetReserved2() string

func (*ClearAccountCmdAns) GetReserved3

func (m *ClearAccountCmdAns) GetReserved3() string

func (*ClearAccountCmdAns) ProtoMessage

func (*ClearAccountCmdAns) ProtoMessage()

func (*ClearAccountCmdAns) Reset

func (m *ClearAccountCmdAns) Reset()

func (*ClearAccountCmdAns) String

func (m *ClearAccountCmdAns) String() string

type ClearAccountCmdReq

type ClearAccountCmdReq struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	ClearFlag int32     `protobuf:"varint,2,opt,name=ClearFlag,json=clearFlag" json:"ClearFlag,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
	Reserved3 string    `protobuf:"bytes,103,opt,name=Reserved3,json=reserved3" json:"Reserved3,omitempty"`
}

集控账户信息清空命令.下发 0x49

func (*ClearAccountCmdReq) Descriptor

func (*ClearAccountCmdReq) Descriptor() ([]byte, []int)

func (*ClearAccountCmdReq) GetClearFlag

func (m *ClearAccountCmdReq) GetClearFlag() int32

func (*ClearAccountCmdReq) GetReserved1

func (m *ClearAccountCmdReq) GetReserved1() string

func (*ClearAccountCmdReq) GetReserved2

func (m *ClearAccountCmdReq) GetReserved2() string

func (*ClearAccountCmdReq) GetReserved3

func (m *ClearAccountCmdReq) GetReserved3() string

func (*ClearAccountCmdReq) GetSendTime

func (m *ClearAccountCmdReq) GetSendTime() *DateTime

func (*ClearAccountCmdReq) ProtoMessage

func (*ClearAccountCmdReq) ProtoMessage()

func (*ClearAccountCmdReq) Reset

func (m *ClearAccountCmdReq) Reset()

func (*ClearAccountCmdReq) String

func (m *ClearAccountCmdReq) String() string

type CommAns

type CommAns struct {
	Confirm BoolEnum `protobuf:"varint,1,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
}

通用响应CommAns,多个消息类型可以用同一份消息体,具体参见协议文档

func (*CommAns) Descriptor

func (*CommAns) Descriptor() ([]byte, []int)

func (*CommAns) GetConfirm

func (m *CommAns) GetConfirm() BoolEnum

func (*CommAns) ProtoMessage

func (*CommAns) ProtoMessage()

func (*CommAns) Reset

func (m *CommAns) Reset()

func (*CommAns) String

func (m *CommAns) String() string

type ConfigInfoType

type ConfigInfoType struct {
	ConfigName        string       `protobuf:"bytes,1,opt,name=ConfigName,json=configName" json:"ConfigName,omitempty"`
	ConfigType        int32        `protobuf:"varint,2,opt,name=ConfigType,json=configType" json:"ConfigType,omitempty"`
	ConfigValueInt    *Int32Value  `protobuf:"bytes,3,opt,name=ConfigValueInt,json=configValueInt" json:"ConfigValueInt,omitempty"`
	ConfigValueString string       `protobuf:"bytes,4,opt,name=ConfigValueString,json=configValueString" json:"ConfigValueString,omitempty"`
	ConfigValueDouble *DoubleValue `protobuf:"bytes,5,opt,name=ConfigValueDouble,json=configValueDouble" json:"ConfigValueDouble,omitempty"`
	ConfigValueBool   BoolEnum     `` /* 128-byte string literal not displayed */
	Reserved1         string       `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2         string       `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

配置信息列表

func (*ConfigInfoType) Descriptor

func (*ConfigInfoType) Descriptor() ([]byte, []int)

func (*ConfigInfoType) GetConfigName

func (m *ConfigInfoType) GetConfigName() string

func (*ConfigInfoType) GetConfigType

func (m *ConfigInfoType) GetConfigType() int32

func (*ConfigInfoType) GetConfigValueBool

func (m *ConfigInfoType) GetConfigValueBool() BoolEnum

func (*ConfigInfoType) GetConfigValueDouble

func (m *ConfigInfoType) GetConfigValueDouble() *DoubleValue

func (*ConfigInfoType) GetConfigValueInt

func (m *ConfigInfoType) GetConfigValueInt() *Int32Value

func (*ConfigInfoType) GetConfigValueString

func (m *ConfigInfoType) GetConfigValueString() string

func (*ConfigInfoType) GetReserved1

func (m *ConfigInfoType) GetReserved1() string

func (*ConfigInfoType) GetReserved2

func (m *ConfigInfoType) GetReserved2() string

func (*ConfigInfoType) ProtoMessage

func (*ConfigInfoType) ProtoMessage()

func (*ConfigInfoType) Reset

func (m *ConfigInfoType) Reset()

func (*ConfigInfoType) String

func (m *ConfigInfoType) String() string

type CreateV2GCurveCmdAns

type CreateV2GCurveCmdAns struct {
	CanIndex        int32                      `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Type            StartChargeType            `protobuf:"varint,2,opt,name=Type,json=type,enum=charge.protobuf.StartChargeType" json:"Type,omitempty"`
	BillCode        string                     `protobuf:"bytes,3,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	Result          BoolEnum                   `protobuf:"varint,4,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	Reason          V2GCurveGenerateFailReason `protobuf:"varint,5,opt,name=Reason,json=reason,enum=charge.protobuf.V2GCurveGenerateFailReason" json:"Reason,omitempty"`
	Curve           []*V2GCurve                `protobuf:"bytes,6,rep,name=Curve,json=curve" json:"Curve,omitempty"`
	ExpectEndSOC    int32                      `protobuf:"varint,7,opt,name=ExpectEndSOC,json=expectEndSOC" json:"ExpectEndSOC,omitempty"`
	ExpectEndTime   *DateTime                  `protobuf:"bytes,8,opt,name=ExpectEndTime,json=expectEndTime" json:"ExpectEndTime,omitempty"`
	ChargeFee       *DoubleValue               `protobuf:"bytes,9,opt,name=ChargeFee,json=chargeFee" json:"ChargeFee,omitempty"`
	DisChargeIncome *DoubleValue               `protobuf:"bytes,10,opt,name=DisChargeIncome,json=disChargeIncome" json:"DisChargeIncome,omitempty"`
	SendTime        *DateTime                  `protobuf:"bytes,11,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Reserved1       string                     `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2       string                     `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

V2G计划曲线生成指令响应.上传(0xF6),D-> P

func (*CreateV2GCurveCmdAns) Descriptor

func (*CreateV2GCurveCmdAns) Descriptor() ([]byte, []int)

func (*CreateV2GCurveCmdAns) GetBillCode

func (m *CreateV2GCurveCmdAns) GetBillCode() string

func (*CreateV2GCurveCmdAns) GetCanIndex

func (m *CreateV2GCurveCmdAns) GetCanIndex() int32

func (*CreateV2GCurveCmdAns) GetChargeFee

func (m *CreateV2GCurveCmdAns) GetChargeFee() *DoubleValue

func (*CreateV2GCurveCmdAns) GetCurve

func (m *CreateV2GCurveCmdAns) GetCurve() []*V2GCurve

func (*CreateV2GCurveCmdAns) GetDisChargeIncome

func (m *CreateV2GCurveCmdAns) GetDisChargeIncome() *DoubleValue

func (*CreateV2GCurveCmdAns) GetExpectEndSOC

func (m *CreateV2GCurveCmdAns) GetExpectEndSOC() int32

func (*CreateV2GCurveCmdAns) GetExpectEndTime

func (m *CreateV2GCurveCmdAns) GetExpectEndTime() *DateTime

func (*CreateV2GCurveCmdAns) GetReason

func (*CreateV2GCurveCmdAns) GetReserved1

func (m *CreateV2GCurveCmdAns) GetReserved1() string

func (*CreateV2GCurveCmdAns) GetReserved2

func (m *CreateV2GCurveCmdAns) GetReserved2() string

func (*CreateV2GCurveCmdAns) GetResult

func (m *CreateV2GCurveCmdAns) GetResult() BoolEnum

func (*CreateV2GCurveCmdAns) GetSendTime

func (m *CreateV2GCurveCmdAns) GetSendTime() *DateTime

func (*CreateV2GCurveCmdAns) GetType

func (*CreateV2GCurveCmdAns) ProtoMessage

func (*CreateV2GCurveCmdAns) ProtoMessage()

func (*CreateV2GCurveCmdAns) Reset

func (m *CreateV2GCurveCmdAns) Reset()

func (*CreateV2GCurveCmdAns) String

func (m *CreateV2GCurveCmdAns) String() string

type CreateV2GCurveCmdReq

type CreateV2GCurveCmdReq struct {
	CanIndex          int32                 `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Type              StartChargeType       `protobuf:"varint,2,opt,name=Type,json=type,enum=charge.protobuf.StartChargeType" json:"Type,omitempty"`
	BillCode          string                `protobuf:"bytes,3,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	ExpectTime        *DateTime             `protobuf:"bytes,4,opt,name=ExpectTime,json=expectTime" json:"ExpectTime,omitempty"`
	ExpectSOCLow      int32                 `protobuf:"varint,5,opt,name=ExpectSOCLow,json=expectSOCLow" json:"ExpectSOCLow,omitempty"`
	ExpectEndSOC      int32                 `protobuf:"varint,6,opt,name=ExpectEndSOC,json=expectEndSOC" json:"ExpectEndSOC,omitempty"`
	StartSOC          int32                 `protobuf:"varint,7,opt,name=StartSOC,json=startSOC" json:"StartSOC,omitempty"`
	CapacityRated     *DoubleValue          `protobuf:"bytes,8,opt,name=CapacityRated,json=capacityRated" json:"CapacityRated,omitempty"`
	ChargeStrategy    []*AccountingStrategy `protobuf:"bytes,9,rep,name=ChargeStrategy,json=chargeStrategy" json:"ChargeStrategy,omitempty"`
	DisChargeStrategy []*AccountingStrategy `protobuf:"bytes,10,rep,name=DisChargeStrategy,json=disChargeStrategy" json:"DisChargeStrategy,omitempty"`
	Reserved1         string                `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2         string                `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

V2G计划曲线生成指令.下发(0x76),P -> D

func (*CreateV2GCurveCmdReq) Descriptor

func (*CreateV2GCurveCmdReq) Descriptor() ([]byte, []int)

func (*CreateV2GCurveCmdReq) GetBillCode

func (m *CreateV2GCurveCmdReq) GetBillCode() string

func (*CreateV2GCurveCmdReq) GetCanIndex

func (m *CreateV2GCurveCmdReq) GetCanIndex() int32

func (*CreateV2GCurveCmdReq) GetCapacityRated

func (m *CreateV2GCurveCmdReq) GetCapacityRated() *DoubleValue

func (*CreateV2GCurveCmdReq) GetChargeStrategy

func (m *CreateV2GCurveCmdReq) GetChargeStrategy() []*AccountingStrategy

func (*CreateV2GCurveCmdReq) GetDisChargeStrategy

func (m *CreateV2GCurveCmdReq) GetDisChargeStrategy() []*AccountingStrategy

func (*CreateV2GCurveCmdReq) GetExpectEndSOC

func (m *CreateV2GCurveCmdReq) GetExpectEndSOC() int32

func (*CreateV2GCurveCmdReq) GetExpectSOCLow

func (m *CreateV2GCurveCmdReq) GetExpectSOCLow() int32

func (*CreateV2GCurveCmdReq) GetExpectTime

func (m *CreateV2GCurveCmdReq) GetExpectTime() *DateTime

func (*CreateV2GCurveCmdReq) GetReserved1

func (m *CreateV2GCurveCmdReq) GetReserved1() string

func (*CreateV2GCurveCmdReq) GetReserved2

func (m *CreateV2GCurveCmdReq) GetReserved2() string

func (*CreateV2GCurveCmdReq) GetStartSOC

func (m *CreateV2GCurveCmdReq) GetStartSOC() int32

func (*CreateV2GCurveCmdReq) GetType

func (*CreateV2GCurveCmdReq) ProtoMessage

func (*CreateV2GCurveCmdReq) ProtoMessage()

func (*CreateV2GCurveCmdReq) Reset

func (m *CreateV2GCurveCmdReq) Reset()

func (*CreateV2GCurveCmdReq) String

func (m *CreateV2GCurveCmdReq) String() string

type CruveType

type CruveType int32

曲线类型

const (
	CruveType_DefaultCruveType CruveType = 0
	CruveType_SuggestPower     CruveType = 1
	CruveType_SuggestSoc       CruveType = 2
)

func (CruveType) EnumDescriptor

func (CruveType) EnumDescriptor() ([]byte, []int)

func (CruveType) String

func (x CruveType) String() string

type CtrlConfigInfoAns

type CtrlConfigInfoAns struct {
	SendTime   *DateTime         `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	DevIndex   int32             `protobuf:"varint,2,opt,name=DevIndex,json=devIndex" json:"DevIndex,omitempty"`
	ConfigInfo []*ConfigInfoType `protobuf:"bytes,3,rep,name=ConfigInfo,json=configInfo" json:"ConfigInfo,omitempty"`
	Reserved1  string            `protobuf:"bytes,4,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2  string            `protobuf:"bytes,5,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

集控配置信息召唤.响应(0xAD),D ->P

func (*CtrlConfigInfoAns) Descriptor

func (*CtrlConfigInfoAns) Descriptor() ([]byte, []int)

func (*CtrlConfigInfoAns) GetConfigInfo

func (m *CtrlConfigInfoAns) GetConfigInfo() []*ConfigInfoType

func (*CtrlConfigInfoAns) GetDevIndex

func (m *CtrlConfigInfoAns) GetDevIndex() int32

func (*CtrlConfigInfoAns) GetReserved1

func (m *CtrlConfigInfoAns) GetReserved1() string

func (*CtrlConfigInfoAns) GetReserved2

func (m *CtrlConfigInfoAns) GetReserved2() string

func (*CtrlConfigInfoAns) GetSendTime

func (m *CtrlConfigInfoAns) GetSendTime() *DateTime

func (*CtrlConfigInfoAns) ProtoMessage

func (*CtrlConfigInfoAns) ProtoMessage()

func (*CtrlConfigInfoAns) Reset

func (m *CtrlConfigInfoAns) Reset()

func (*CtrlConfigInfoAns) String

func (m *CtrlConfigInfoAns) String() string

type CtrlConfigInfoCall

type CtrlConfigInfoCall struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	DevIndex  int32     `protobuf:"varint,2,opt,name=DevIndex,json=devIndex" json:"DevIndex,omitempty"`
	Reserved1 string    `protobuf:"bytes,3,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,4,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

集控配置信息召唤 (0x2D),P ->D

func (*CtrlConfigInfoCall) Descriptor

func (*CtrlConfigInfoCall) Descriptor() ([]byte, []int)

func (*CtrlConfigInfoCall) GetDevIndex

func (m *CtrlConfigInfoCall) GetDevIndex() int32

func (*CtrlConfigInfoCall) GetReserved1

func (m *CtrlConfigInfoCall) GetReserved1() string

func (*CtrlConfigInfoCall) GetReserved2

func (m *CtrlConfigInfoCall) GetReserved2() string

func (*CtrlConfigInfoCall) GetSendTime

func (m *CtrlConfigInfoCall) GetSendTime() *DateTime

func (*CtrlConfigInfoCall) ProtoMessage

func (*CtrlConfigInfoCall) ProtoMessage()

func (*CtrlConfigInfoCall) Reset

func (m *CtrlConfigInfoCall) Reset()

func (*CtrlConfigInfoCall) String

func (m *CtrlConfigInfoCall) String() string

type CtrlGetCarInfoAns

type CtrlGetCarInfoAns struct {
	CanIndex  int32                `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Result    BoolEnum             `protobuf:"varint,2,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	Reason    GetCarInfoFailReason `protobuf:"varint,3,opt,name=Reason,json=reason,enum=charge.protobuf.GetCarInfoFailReason" json:"Reason,omitempty"`
	Car       *CarInfo             `protobuf:"bytes,4,opt,name=Car,json=car" json:"Car,omitempty"`
	Reserved1 string               `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string               `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

集控查询车辆信息请求.响应(0xBD),P-> D

func (*CtrlGetCarInfoAns) Descriptor

func (*CtrlGetCarInfoAns) Descriptor() ([]byte, []int)

func (*CtrlGetCarInfoAns) GetCanIndex

func (m *CtrlGetCarInfoAns) GetCanIndex() int32

func (*CtrlGetCarInfoAns) GetCar

func (m *CtrlGetCarInfoAns) GetCar() *CarInfo

func (*CtrlGetCarInfoAns) GetReason

func (m *CtrlGetCarInfoAns) GetReason() GetCarInfoFailReason

func (*CtrlGetCarInfoAns) GetReserved1

func (m *CtrlGetCarInfoAns) GetReserved1() string

func (*CtrlGetCarInfoAns) GetReserved2

func (m *CtrlGetCarInfoAns) GetReserved2() string

func (*CtrlGetCarInfoAns) GetResult

func (m *CtrlGetCarInfoAns) GetResult() BoolEnum

func (*CtrlGetCarInfoAns) ProtoMessage

func (*CtrlGetCarInfoAns) ProtoMessage()

func (*CtrlGetCarInfoAns) Reset

func (m *CtrlGetCarInfoAns) Reset()

func (*CtrlGetCarInfoAns) String

func (m *CtrlGetCarInfoAns) String() string

type CtrlGetCarInfoReq

type CtrlGetCarInfoReq struct {
	CanIndex  int32               `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Type      ReqCarInfoFieldType `protobuf:"varint,2,opt,name=Type,json=type,enum=charge.protobuf.ReqCarInfoFieldType" json:"Type,omitempty"`
	Value     string              `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
	SendTime  *DateTime           `protobuf:"bytes,4,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Reserved1 string              `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string              `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

集控查询车辆信息.请求(0x3D),D-> P

func (*CtrlGetCarInfoReq) Descriptor

func (*CtrlGetCarInfoReq) Descriptor() ([]byte, []int)

func (*CtrlGetCarInfoReq) GetCanIndex

func (m *CtrlGetCarInfoReq) GetCanIndex() int32

func (*CtrlGetCarInfoReq) GetReserved1

func (m *CtrlGetCarInfoReq) GetReserved1() string

func (*CtrlGetCarInfoReq) GetReserved2

func (m *CtrlGetCarInfoReq) GetReserved2() string

func (*CtrlGetCarInfoReq) GetSendTime

func (m *CtrlGetCarInfoReq) GetSendTime() *DateTime

func (*CtrlGetCarInfoReq) GetType

func (*CtrlGetCarInfoReq) GetValue

func (m *CtrlGetCarInfoReq) GetValue() string

func (*CtrlGetCarInfoReq) ProtoMessage

func (*CtrlGetCarInfoReq) ProtoMessage()

func (*CtrlGetCarInfoReq) Reset

func (m *CtrlGetCarInfoReq) Reset()

func (*CtrlGetCarInfoReq) String

func (m *CtrlGetCarInfoReq) String() string

type CtrlHardwareType

type CtrlHardwareType int32

集控硬件类型

const (
	CtrlHardwareType_DefaultCtrlHardwareType CtrlHardwareType = 0
	CtrlHardwareType_SplitType               CtrlHardwareType = 1
	CtrlHardwareType_IntigratedType          CtrlHardwareType = 2
)

func (CtrlHardwareType) EnumDescriptor

func (CtrlHardwareType) EnumDescriptor() ([]byte, []int)

func (CtrlHardwareType) String

func (x CtrlHardwareType) String() string

type DateTime

type DateTime struct {
	Time int64 `protobuf:"varint,1,opt,name=Time,json=time" json:"Time,omitempty"`
}

时间戳

func (*DateTime) Descriptor

func (*DateTime) Descriptor() ([]byte, []int)

func (*DateTime) GetTime

func (m *DateTime) GetTime() int64

func (*DateTime) ProtoMessage

func (*DateTime) ProtoMessage()

func (*DateTime) Reset

func (m *DateTime) Reset()

func (*DateTime) String

func (m *DateTime) String() string

type DevCodeInfoAns

type DevCodeInfoAns struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	CanIndex  int32     `protobuf:"varint,2,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	DevCode   string    `protobuf:"bytes,3,opt,name=DevCode,json=devCode" json:"DevCode,omitempty"`
	DevQRCode string    `protobuf:"bytes,4,opt,name=DevQRCode,json=devQRCode" json:"DevQRCode,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备终端编号请求.响应(0xAF),P ->D

func (*DevCodeInfoAns) Descriptor

func (*DevCodeInfoAns) Descriptor() ([]byte, []int)

func (*DevCodeInfoAns) GetCanIndex

func (m *DevCodeInfoAns) GetCanIndex() int32

func (*DevCodeInfoAns) GetDevCode

func (m *DevCodeInfoAns) GetDevCode() string

func (*DevCodeInfoAns) GetDevQRCode

func (m *DevCodeInfoAns) GetDevQRCode() string

func (*DevCodeInfoAns) GetReserved1

func (m *DevCodeInfoAns) GetReserved1() string

func (*DevCodeInfoAns) GetReserved2

func (m *DevCodeInfoAns) GetReserved2() string

func (*DevCodeInfoAns) GetSendTime

func (m *DevCodeInfoAns) GetSendTime() *DateTime

func (*DevCodeInfoAns) ProtoMessage

func (*DevCodeInfoAns) ProtoMessage()

func (*DevCodeInfoAns) Reset

func (m *DevCodeInfoAns) Reset()

func (*DevCodeInfoAns) String

func (m *DevCodeInfoAns) String() string

type DevCodeInfoReq

type DevCodeInfoReq struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	CanIndex  int32     `protobuf:"varint,2,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Reserved1 string    `protobuf:"bytes,3,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,4,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备终端编号请求(0x2F),D ->P

func (*DevCodeInfoReq) Descriptor

func (*DevCodeInfoReq) Descriptor() ([]byte, []int)

func (*DevCodeInfoReq) GetCanIndex

func (m *DevCodeInfoReq) GetCanIndex() int32

func (*DevCodeInfoReq) GetReserved1

func (m *DevCodeInfoReq) GetReserved1() string

func (*DevCodeInfoReq) GetReserved2

func (m *DevCodeInfoReq) GetReserved2() string

func (*DevCodeInfoReq) GetSendTime

func (m *DevCodeInfoReq) GetSendTime() *DateTime

func (*DevCodeInfoReq) ProtoMessage

func (*DevCodeInfoReq) ProtoMessage()

func (*DevCodeInfoReq) Reset

func (m *DevCodeInfoReq) Reset()

func (*DevCodeInfoReq) String

func (m *DevCodeInfoReq) String() string

type DevUpdateCmd

type DevUpdateCmd struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	CanIndex  int32     `protobuf:"varint,2,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	FileAddr  string    `protobuf:"bytes,3,opt,name=FileAddr,json=fileAddr" json:"FileAddr,omitempty"`
	Reserved1 string    `protobuf:"bytes,4,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,5,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备升级指令.下发(0x6B),P ->D

func (*DevUpdateCmd) Descriptor

func (*DevUpdateCmd) Descriptor() ([]byte, []int)

func (*DevUpdateCmd) GetCanIndex

func (m *DevUpdateCmd) GetCanIndex() int32

func (*DevUpdateCmd) GetFileAddr

func (m *DevUpdateCmd) GetFileAddr() string

func (*DevUpdateCmd) GetReserved1

func (m *DevUpdateCmd) GetReserved1() string

func (*DevUpdateCmd) GetReserved2

func (m *DevUpdateCmd) GetReserved2() string

func (*DevUpdateCmd) GetSendTime

func (m *DevUpdateCmd) GetSendTime() *DateTime

func (*DevUpdateCmd) ProtoMessage

func (*DevUpdateCmd) ProtoMessage()

func (*DevUpdateCmd) Reset

func (m *DevUpdateCmd) Reset()

func (*DevUpdateCmd) String

func (m *DevUpdateCmd) String() string

type DevUpdateCmdAns

type DevUpdateCmdAns struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	CanIndex  int32     `protobuf:"varint,2,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Result    BoolEnum  `protobuf:"varint,3,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	Reserved1 string    `protobuf:"bytes,4,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,5,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备升级指令.响应(0xEB),D ->P

func (*DevUpdateCmdAns) Descriptor

func (*DevUpdateCmdAns) Descriptor() ([]byte, []int)

func (*DevUpdateCmdAns) GetCanIndex

func (m *DevUpdateCmdAns) GetCanIndex() int32

func (*DevUpdateCmdAns) GetReserved1

func (m *DevUpdateCmdAns) GetReserved1() string

func (*DevUpdateCmdAns) GetReserved2

func (m *DevUpdateCmdAns) GetReserved2() string

func (*DevUpdateCmdAns) GetResult

func (m *DevUpdateCmdAns) GetResult() BoolEnum

func (*DevUpdateCmdAns) GetSendTime

func (m *DevUpdateCmdAns) GetSendTime() *DateTime

func (*DevUpdateCmdAns) ProtoMessage

func (*DevUpdateCmdAns) ProtoMessage()

func (*DevUpdateCmdAns) Reset

func (m *DevUpdateCmdAns) Reset()

func (*DevUpdateCmdAns) String

func (m *DevUpdateCmdAns) String() string

type DischargeFrozen

type DischargeFrozen struct {
	FrozenTime *DateTime `protobuf:"bytes,1,opt,name=FrozenTime,json=frozenTime" json:"FrozenTime,omitempty"`
	KWh        float64   `protobuf:"fixed64,2,opt,name=kWh" json:"kWh,omitempty"`
}

放电冻结电量

func (*DischargeFrozen) Descriptor

func (*DischargeFrozen) Descriptor() ([]byte, []int)

func (*DischargeFrozen) GetFrozenTime

func (m *DischargeFrozen) GetFrozenTime() *DateTime

func (*DischargeFrozen) GetKWh

func (m *DischargeFrozen) GetKWh() float64

func (*DischargeFrozen) ProtoMessage

func (*DischargeFrozen) ProtoMessage()

func (*DischargeFrozen) Reset

func (m *DischargeFrozen) Reset()

func (*DischargeFrozen) String

func (m *DischargeFrozen) String() string

type DoubleValue

type DoubleValue struct {
	Value float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"`
}

func (*DoubleValue) Descriptor

func (*DoubleValue) Descriptor() ([]byte, []int)

func (*DoubleValue) GetValue

func (m *DoubleValue) GetValue() float64

func (*DoubleValue) ProtoMessage

func (*DoubleValue) ProtoMessage()

func (*DoubleValue) Reset

func (m *DoubleValue) Reset()

func (*DoubleValue) String

func (m *DoubleValue) String() string

type EmergencyConfigReq

type EmergencyConfigReq struct {
	SendTime        *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	EmergencyEnable BoolEnum  `` /* 128-byte string literal not displayed */
	Reserved1       string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2       string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

应急充电详细配置.请求(0x1D),P ->D

func (*EmergencyConfigReq) Descriptor

func (*EmergencyConfigReq) Descriptor() ([]byte, []int)

func (*EmergencyConfigReq) GetEmergencyEnable

func (m *EmergencyConfigReq) GetEmergencyEnable() BoolEnum

func (*EmergencyConfigReq) GetReserved1

func (m *EmergencyConfigReq) GetReserved1() string

func (*EmergencyConfigReq) GetReserved2

func (m *EmergencyConfigReq) GetReserved2() string

func (*EmergencyConfigReq) GetSendTime

func (m *EmergencyConfigReq) GetSendTime() *DateTime

func (*EmergencyConfigReq) ProtoMessage

func (*EmergencyConfigReq) ProtoMessage()

func (*EmergencyConfigReq) Reset

func (m *EmergencyConfigReq) Reset()

func (*EmergencyConfigReq) String

func (m *EmergencyConfigReq) String() string

type EmergencyDetailConfigReq

type EmergencyDetailConfigReq struct {
	SendTime                   *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Duration                   int32     `protobuf:"varint,2,opt,name=Duration,json=duration" json:"Duration,omitempty"`
	BillNum                    int32     `protobuf:"varint,3,opt,name=BillNum,json=billNum" json:"BillNum,omitempty"`
	CheckTime                  int32     `protobuf:"varint,4,opt,name=CheckTime,json=checkTime" json:"CheckTime,omitempty"`
	PlateAuthenticate          BoolEnum  `` /* 134-byte string literal not displayed */
	CardAuthenticate           BoolEnum  `` /* 131-byte string literal not displayed */
	VinAuthenticate            BoolEnum  `` /* 128-byte string literal not displayed */
	DefaultCustomeAuthenticate BoolEnum  `` /* 161-byte string literal not displayed */
	CustomeType                int32     `protobuf:"varint,9,opt,name=CustomeType,json=customeType" json:"CustomeType,omitempty"`
	CustomeCode                string    `protobuf:"bytes,10,opt,name=CustomeCode,json=customeCode" json:"CustomeCode,omitempty"`
	IfAPPEmergecy              BoolEnum  `protobuf:"varint,11,opt,name=IfAPPEmergecy,json=ifAPPEmergecy,enum=charge.protobuf.BoolEnum" json:"IfAPPEmergecy,omitempty"`
	WifiName                   string    `protobuf:"bytes,12,opt,name=WifiName,json=wifiName" json:"WifiName,omitempty"`
	WifiPassWord               string    `protobuf:"bytes,13,opt,name=WifiPassWord,json=wifiPassWord" json:"WifiPassWord,omitempty"`
	Reserved1                  string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2                  string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

应急充电详细配置.请求(0x1C),P ->D

func (*EmergencyDetailConfigReq) Descriptor

func (*EmergencyDetailConfigReq) Descriptor() ([]byte, []int)

func (*EmergencyDetailConfigReq) GetBillNum

func (m *EmergencyDetailConfigReq) GetBillNum() int32

func (*EmergencyDetailConfigReq) GetCardAuthenticate

func (m *EmergencyDetailConfigReq) GetCardAuthenticate() BoolEnum

func (*EmergencyDetailConfigReq) GetCheckTime

func (m *EmergencyDetailConfigReq) GetCheckTime() int32

func (*EmergencyDetailConfigReq) GetCustomeCode

func (m *EmergencyDetailConfigReq) GetCustomeCode() string

func (*EmergencyDetailConfigReq) GetCustomeType

func (m *EmergencyDetailConfigReq) GetCustomeType() int32

func (*EmergencyDetailConfigReq) GetDefaultCustomeAuthenticate

func (m *EmergencyDetailConfigReq) GetDefaultCustomeAuthenticate() BoolEnum

func (*EmergencyDetailConfigReq) GetDuration

func (m *EmergencyDetailConfigReq) GetDuration() int32

func (*EmergencyDetailConfigReq) GetIfAPPEmergecy

func (m *EmergencyDetailConfigReq) GetIfAPPEmergecy() BoolEnum

func (*EmergencyDetailConfigReq) GetPlateAuthenticate

func (m *EmergencyDetailConfigReq) GetPlateAuthenticate() BoolEnum

func (*EmergencyDetailConfigReq) GetReserved1

func (m *EmergencyDetailConfigReq) GetReserved1() string

func (*EmergencyDetailConfigReq) GetReserved2

func (m *EmergencyDetailConfigReq) GetReserved2() string

func (*EmergencyDetailConfigReq) GetSendTime

func (m *EmergencyDetailConfigReq) GetSendTime() *DateTime

func (*EmergencyDetailConfigReq) GetVinAuthenticate

func (m *EmergencyDetailConfigReq) GetVinAuthenticate() BoolEnum

func (*EmergencyDetailConfigReq) GetWifiName

func (m *EmergencyDetailConfigReq) GetWifiName() string

func (*EmergencyDetailConfigReq) GetWifiPassWord

func (m *EmergencyDetailConfigReq) GetWifiPassWord() string

func (*EmergencyDetailConfigReq) ProtoMessage

func (*EmergencyDetailConfigReq) ProtoMessage()

func (*EmergencyDetailConfigReq) Reset

func (m *EmergencyDetailConfigReq) Reset()

func (*EmergencyDetailConfigReq) String

func (m *EmergencyDetailConfigReq) String() string

type EndReason

type EndReason int32

终止原因 废弃 不再使用,终止原因见协议文档附录A

const (
	EndReason_DefaultEndReason                                EndReason = 0
	EndReason_BMSEnd1                                         EndReason = 1
	EndReason_PlatformEnd                                     EndReason = 2
	EndReason_ManuallySetConditionEnd                         EndReason = 3
	EndReason_ManuallyClickDCInterfaceEnd                     EndReason = 4
	EndReason_ChargerFaultEnd                                 EndReason = 5
	EndReason_ConnectorAbnormalEnd                            EndReason = 6
	EndReason_ConnectorExtractEnd                             EndReason = 7
	EndReason_ForcedSwitchEnd                                 EndReason = 19
	EndReason_MainConnectorAbnormalEnd                        EndReason = 20
	EndReason_AssistedConnectorAbnormalEnd                    EndReason = 21
	EndReason_ElectronicLockAbnormalEnd                       EndReason = 22
	EndReason_ChargingVoltageAbnormalEnd                      EndReason = 33
	EndReason_ChargingCurrentAbnormalEnd                      EndReason = 34
	EndReason_ChargingCurrentMismatchingEnd                   EndReason = 35
	EndReason_ChargingVoltageMismatchingEnd                   EndReason = 36
	EndReason_ControllerCommunicationFaltEnd                  EndReason = 37
	EndReason_MeterCommunicationFaltEnd                       EndReason = 38
	EndReason_BackstaCommunicationEnd                         EndReason = 39
	EndReason_SOCFullEnd                                      EndReason = 40
	EndReason_SystemModelTypeConversionEnd                    EndReason = 41
	EndReason_PowerFailEnd                                    EndReason = 49
	EndReason_ActiveProtectionBatteryOverTempEnd              EndReason = 50
	EndReason_ActiveProtectionBatteryLowTempEnd               EndReason = 51
	EndReason_ActiveProtectionBatteryTempOutOfControlEnd      EndReason = 52
	EndReason_ActiveProtectionBatteryOverChargeEnd            EndReason = 53
	EndReason_BMSAssistedPowerAbnormalEnd                     EndReason = 54
	EndReason_BMSConnectorOpenCircuitFaltEnd                  EndReason = 55
	EndReason_ActiveProtectionBMSDataSuperRange               EndReason = 56
	EndReason_PDUOverTempEnd                                  EndReason = 57
	EndReason_ActiveProtectionBatteryPortVoltageAbnormalEnd   EndReason = 58
	EndReason_VehicleControllerFaltEnd                        EndReason = 65
	EndReason_GuidanceCircuit                                 EndReason = 66
	EndReason_DrawGunEnd                                      EndReason = 67
	EndReason_DeviceOverTempEnd                               EndReason = 68
	EndReason_OverCurrentEnd                                  EndReason = 69
	EndReason_OverChargeEnd                                   EndReason = 70
	EndReason_UnderVoltageEnd                                 EndReason = 71
	EndReason_CPLineLowVoltageFaultEnd                        EndReason = 81
	EndReason_CreepageFaultEnd                                EndReason = 82
	EndReason_ChargingGunSocketOverTempEnd                    EndReason = 83
	EndReason_RelayAbnormalEnd                                EndReason = 84
	EndReason_CANIDConflictEnd                                EndReason = 85
	EndReason_ActiveProtectionBatteryMonomerOverVoltageEnd    EndReason = 86
	EndReason_ActiveProtectionBatteryEntiretyOverVoltageEnd   EndReason = 87
	EndReason_MeterCheckoutErrorEnd                           EndReason = 88
	EndReason_BMSCommunicationOvertimeEnd                     EndReason = 97
	EndReason_ElectricityCanontSupplyEnd                      EndReason = 98
	EndReason_FanFaultEnd                                     EndReason = 99
	EndReason_EmergencyEnd                                    EndReason = 100
	EndReason_ChargerInsulationAbnormalEnd                    EndReason = 101
	EndReason_ChargerHaveNoAvailableModule                    EndReason = 102
	EndReason_VehicleBMSAdhesionEnd                           EndReason = 103
	EndReason_NotGetVINorPlateEnd                             EndReason = 113
	EndReason_FuseFaultEnd                                    EndReason = 114
	EndReason_ModuleMatchingAbnormalEnd                       EndReason = 115
	EndReason_VehicleBatteryReachTargetSOCEnd                 EndReason = 116
	EndReason_VehicleReachTotalVoltageEnd                     EndReason = 117
	EndReason_VehicleReachMonomerVoltageTargetEnd             EndReason = 118
	EndReason_VehicleBMSInsulationFaultEnd                    EndReason = 119
	EndReason_VehicleOutputConnectorOverTempFaultEnd          EndReason = 129
	EndReason_VehicleBMSComponentOrOutputConnectorOverTempEnd EndReason = 130
	EndReason_VehicleChargingConnectorFaultEnd                EndReason = 131
	EndReason_VehicleBatteryGroupOverTempFaultEnd             EndReason = 132
	EndReason_VehicleHighVoltageRelayFaultEnd                 EndReason = 133
	EndReason_VehicleDetectionPointCC2VoltageDetectFaultEnd   EndReason = 134
	EndReason_VehicleOtherFault                               EndReason = 135
	EndReason_VehicleOverCurrentEnd                           EndReason = 136
	EndReason_VehicleVoltageAbnormalEnd                       EndReason = 137
	EndReason_BMSEnd2                                         EndReason = 138
	EndReason_CtrlDisplayEnd                                  EndReason = 145
	EndReason_CtrlOfflineSwingCardEnd                         EndReason = 146
	EndReason_CtrlElectricityAbnormalEnd                      EndReason = 147
	EndReason_CtrlAvoidPeakFunctionEnd                        EndReason = 148
)

func (EndReason) EnumDescriptor

func (EndReason) EnumDescriptor() ([]byte, []int)

func (EndReason) String

func (x EndReason) String() string

type ErrorAns

type ErrorAns struct {
	Error ErrorCode `protobuf:"varint,1,opt,name=Error,json=error,enum=charge.protobuf.ErrorCode" json:"Error,omitempty"`
}

错误(0xFF)

func (*ErrorAns) Descriptor

func (*ErrorAns) Descriptor() ([]byte, []int)

func (*ErrorAns) GetError

func (m *ErrorAns) GetError() ErrorCode

func (*ErrorAns) ProtoMessage

func (*ErrorAns) ProtoMessage()

func (*ErrorAns) Reset

func (m *ErrorAns) Reset()

func (*ErrorAns) String

func (m *ErrorAns) String() string

type ErrorCode

type ErrorCode int32

错误代码

const (
	ErrorCode_DefaultErrorCode     ErrorCode = 0
	ErrorCode_StartSymbolError     ErrorCode = 16
	ErrorCode_HeaderLengthError    ErrorCode = 32
	ErrorCode_EncodingTypeError    ErrorCode = 48
	ErrorCode_ProtocolVersionError ErrorCode = 64
	ErrorCode_MessageTypeError     ErrorCode = 80
	ErrorCode_CtrlAddrError        ErrorCode = 96
	ErrorCode_ParseError           ErrorCode = 112
	ErrorCode_ApplicationError     ErrorCode = 128
	ErrorCode_GenericError         ErrorCode = 144
)

func (ErrorCode) EnumDescriptor

func (ErrorCode) EnumDescriptor() ([]byte, []int)

func (ErrorCode) String

func (x ErrorCode) String() string

type FailReason

type FailReason int32

FailReason-失败原因

const (
	FailReason_DefaultFailReason    FailReason = 0
	FailReason_GetStationError      FailReason = 1
	FailReason_CannotGetStation     FailReason = 2
	FailReason_GetCardInfoError     FailReason = 3
	FailReason_CannotGetCardInfo    FailReason = 4
	FailReason_GetAccountInfoError  FailReason = 5
	FailReason_CannotGetAccountInfo FailReason = 6
	FailReason_GetStategyError      FailReason = 7
	FailReason_CannotGetStategy     FailReason = 8
	FailReason_GetChargeInfoError   FailReason = 9
	FailReason_CtrlOffline          FailReason = 17
	FailReason_HeaderDecodeError    FailReason = 18
	FailReason_PayloadDecodeError   FailReason = 19
)

func (FailReason) EnumDescriptor

func (FailReason) EnumDescriptor() ([]byte, []int)

func (FailReason) String

func (x FailReason) String() string

type GetCarInfoFailReason

type GetCarInfoFailReason int32

获取车辆信息失败原因

const (
	GetCarInfoFailReason_DefaultGetCarInfoFailReason GetCarInfoFailReason = 0
	GetCarInfoFailReason_InvalidParam                GetCarInfoFailReason = 1
	GetCarInfoFailReason_PlatSysErr                  GetCarInfoFailReason = 2
	GetCarInfoFailReason_NotFound                    GetCarInfoFailReason = 3
	GetCarInfoFailReason_ReqCarInfoFieldTypeNotExist GetCarInfoFailReason = 4
)

func (GetCarInfoFailReason) EnumDescriptor

func (GetCarInfoFailReason) EnumDescriptor() ([]byte, []int)

func (GetCarInfoFailReason) String

func (x GetCarInfoFailReason) String() string

type GetChargeFeeAns

type GetChargeFeeAns struct {
	SendTime           *DateTime    `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	CanIndex           int32        `protobuf:"varint,2,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	BillCode           string       `protobuf:"bytes,3,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	ControlWay         int32        `protobuf:"varint,4,opt,name=ControlWay,json=controlWay" json:"ControlWay,omitempty"`
	IfBalanceCheck     BoolEnum     `protobuf:"varint,5,opt,name=IfBalanceCheck,json=ifBalanceCheck,enum=charge.protobuf.BoolEnum" json:"IfBalanceCheck,omitempty"`
	CurrentkWhFee      *DoubleValue `protobuf:"bytes,6,opt,name=CurrentkWhFee,json=currentkWhFee" json:"CurrentkWhFee,omitempty"`
	CurrentServiceFee  *DoubleValue `protobuf:"bytes,7,opt,name=CurrentServiceFee,json=currentServiceFee" json:"CurrentServiceFee,omitempty"`
	SumFee             *DoubleValue `protobuf:"bytes,8,opt,name=SumFee,json=sumFee" json:"SumFee,omitempty"`
	CurrentkWH         *DoubleValue `protobuf:"bytes,9,opt,name=CurrentkWH,json=currentkWH" json:"CurrentkWH,omitempty"`
	ValueCurrentSecond *Int32Value  `protobuf:"bytes,10,opt,name=ValueCurrentSecond,json=valueCurrentSecond" json:"ValueCurrentSecond,omitempty"`
	Reserved1          string       `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2          string       `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

充电过程中计费数据.上传(0xB8),D-> P

func (*GetChargeFeeAns) Descriptor

func (*GetChargeFeeAns) Descriptor() ([]byte, []int)

func (*GetChargeFeeAns) GetBillCode

func (m *GetChargeFeeAns) GetBillCode() string

func (*GetChargeFeeAns) GetCanIndex

func (m *GetChargeFeeAns) GetCanIndex() int32

func (*GetChargeFeeAns) GetControlWay

func (m *GetChargeFeeAns) GetControlWay() int32

func (*GetChargeFeeAns) GetCurrentServiceFee

func (m *GetChargeFeeAns) GetCurrentServiceFee() *DoubleValue

func (*GetChargeFeeAns) GetCurrentkWH

func (m *GetChargeFeeAns) GetCurrentkWH() *DoubleValue

func (*GetChargeFeeAns) GetCurrentkWhFee

func (m *GetChargeFeeAns) GetCurrentkWhFee() *DoubleValue

func (*GetChargeFeeAns) GetIfBalanceCheck

func (m *GetChargeFeeAns) GetIfBalanceCheck() BoolEnum

func (*GetChargeFeeAns) GetReserved1

func (m *GetChargeFeeAns) GetReserved1() string

func (*GetChargeFeeAns) GetReserved2

func (m *GetChargeFeeAns) GetReserved2() string

func (*GetChargeFeeAns) GetSendTime

func (m *GetChargeFeeAns) GetSendTime() *DateTime

func (*GetChargeFeeAns) GetSumFee

func (m *GetChargeFeeAns) GetSumFee() *DoubleValue

func (*GetChargeFeeAns) GetValueCurrentSecond

func (m *GetChargeFeeAns) GetValueCurrentSecond() *Int32Value

func (*GetChargeFeeAns) ProtoMessage

func (*GetChargeFeeAns) ProtoMessage()

func (*GetChargeFeeAns) Reset

func (m *GetChargeFeeAns) Reset()

func (*GetChargeFeeAns) String

func (m *GetChargeFeeAns) String() string

type GetChargeFeeReq

type GetChargeFeeReq struct {
	CanIndex  []int32 `protobuf:"varint,1,rep,packed,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Reserved1 string  `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string  `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

充电过程中计费数据.召唤(0x38),P -> D

func (*GetChargeFeeReq) Descriptor

func (*GetChargeFeeReq) Descriptor() ([]byte, []int)

func (*GetChargeFeeReq) GetCanIndex

func (m *GetChargeFeeReq) GetCanIndex() []int32

func (*GetChargeFeeReq) GetReserved1

func (m *GetChargeFeeReq) GetReserved1() string

func (*GetChargeFeeReq) GetReserved2

func (m *GetChargeFeeReq) GetReserved2() string

func (*GetChargeFeeReq) ProtoMessage

func (*GetChargeFeeReq) ProtoMessage()

func (*GetChargeFeeReq) Reset

func (m *GetChargeFeeReq) Reset()

func (*GetChargeFeeReq) String

func (m *GetChargeFeeReq) String() string

type GetChargeLimitAns

type GetChargeLimitAns struct {
	SendTime              *DateTime    `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	CanIndex              int32        `protobuf:"varint,2,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	BillCode              string       `protobuf:"bytes,3,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	ControlWay            int32        `protobuf:"varint,4,opt,name=ControlWay,json=controlWay" json:"ControlWay,omitempty"`
	IfBalanceCheck        BoolEnum     `protobuf:"varint,5,opt,name=IfBalanceCheck,json=ifBalanceCheck,enum=charge.protobuf.BoolEnum" json:"IfBalanceCheck,omitempty"`
	AllowedSecond         int32        `protobuf:"varint,6,opt,name=AllowedSecond,json=allowedSecond" json:"AllowedSecond,omitempty"`
	AllowedkWh            int32        `protobuf:"varint,7,opt,name=AllowedkWh,json=allowedkWh" json:"AllowedkWh,omitempty"`
	AllowedRmb            int32        `protobuf:"varint,8,opt,name=AllowedRmb,json=allowedRmb" json:"AllowedRmb,omitempty"`
	KWhFee                *DoubleValue `protobuf:"bytes,9,opt,name=kWhFee" json:"kWhFee,omitempty"`
	ServiceFee            *DoubleValue `protobuf:"bytes,10,opt,name=ServiceFee,json=serviceFee" json:"ServiceFee,omitempty"`
	SumFee                *DoubleValue `protobuf:"bytes,11,opt,name=SumFee,json=sumFee" json:"SumFee,omitempty"`
	IfOfflineBalanceCheck BoolEnum     `` /* 147-byte string literal not displayed */
	MaxSumFee             *DoubleValue `protobuf:"bytes,13,opt,name=MaxSumFee,json=maxSumFee" json:"MaxSumFee,omitempty"`
	MaxkWhFee             *DoubleValue `protobuf:"bytes,14,opt,name=MaxkWhFee,json=maxkWhFee" json:"MaxkWhFee,omitempty"`
	MaxServiceFee         *DoubleValue `protobuf:"bytes,15,opt,name=MaxServiceFee,json=maxServiceFee" json:"MaxServiceFee,omitempty"`
	Reserved1             string       `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2             string       `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备请求充电限制信息.响应(0xB7),P ->D

func (*GetChargeLimitAns) Descriptor

func (*GetChargeLimitAns) Descriptor() ([]byte, []int)

func (*GetChargeLimitAns) GetAllowedRmb

func (m *GetChargeLimitAns) GetAllowedRmb() int32

func (*GetChargeLimitAns) GetAllowedSecond

func (m *GetChargeLimitAns) GetAllowedSecond() int32

func (*GetChargeLimitAns) GetAllowedkWh

func (m *GetChargeLimitAns) GetAllowedkWh() int32

func (*GetChargeLimitAns) GetBillCode

func (m *GetChargeLimitAns) GetBillCode() string

func (*GetChargeLimitAns) GetCanIndex

func (m *GetChargeLimitAns) GetCanIndex() int32

func (*GetChargeLimitAns) GetControlWay

func (m *GetChargeLimitAns) GetControlWay() int32

func (*GetChargeLimitAns) GetIfBalanceCheck

func (m *GetChargeLimitAns) GetIfBalanceCheck() BoolEnum

func (*GetChargeLimitAns) GetIfOfflineBalanceCheck

func (m *GetChargeLimitAns) GetIfOfflineBalanceCheck() BoolEnum

func (*GetChargeLimitAns) GetKWhFee

func (m *GetChargeLimitAns) GetKWhFee() *DoubleValue

func (*GetChargeLimitAns) GetMaxServiceFee

func (m *GetChargeLimitAns) GetMaxServiceFee() *DoubleValue

func (*GetChargeLimitAns) GetMaxSumFee

func (m *GetChargeLimitAns) GetMaxSumFee() *DoubleValue

func (*GetChargeLimitAns) GetMaxkWhFee

func (m *GetChargeLimitAns) GetMaxkWhFee() *DoubleValue

func (*GetChargeLimitAns) GetReserved1

func (m *GetChargeLimitAns) GetReserved1() string

func (*GetChargeLimitAns) GetReserved2

func (m *GetChargeLimitAns) GetReserved2() string

func (*GetChargeLimitAns) GetSendTime

func (m *GetChargeLimitAns) GetSendTime() *DateTime

func (*GetChargeLimitAns) GetServiceFee

func (m *GetChargeLimitAns) GetServiceFee() *DoubleValue

func (*GetChargeLimitAns) GetSumFee

func (m *GetChargeLimitAns) GetSumFee() *DoubleValue

func (*GetChargeLimitAns) ProtoMessage

func (*GetChargeLimitAns) ProtoMessage()

func (*GetChargeLimitAns) Reset

func (m *GetChargeLimitAns) Reset()

func (*GetChargeLimitAns) String

func (m *GetChargeLimitAns) String() string

type GetChargeLimitReq

type GetChargeLimitReq struct {
	SendTime           *DateTime    `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	CanIndex           int32        `protobuf:"varint,2,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	BillCode           string       `protobuf:"bytes,3,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	CurrentkWhFee      *DoubleValue `protobuf:"bytes,4,opt,name=CurrentkWhFee,json=currentkWhFee" json:"CurrentkWhFee,omitempty"`
	CurrentServiceFee  *DoubleValue `protobuf:"bytes,5,opt,name=CurrentServiceFee,json=currentServiceFee" json:"CurrentServiceFee,omitempty"`
	CurrentFee         *DoubleValue `protobuf:"bytes,6,opt,name=CurrentFee,json=currentFee" json:"CurrentFee,omitempty"`
	CurrentkWH         *DoubleValue `protobuf:"bytes,7,opt,name=CurrentkWH,json=currentkWH" json:"CurrentkWH,omitempty"`
	ValueCurrentSecond *Int32Value  `protobuf:"bytes,8,opt,name=ValueCurrentSecond,json=valueCurrentSecond" json:"ValueCurrentSecond,omitempty"`
	Reserved1          string       `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2          string       `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备请求充电限制信息(0x37),D ->P

func (*GetChargeLimitReq) Descriptor

func (*GetChargeLimitReq) Descriptor() ([]byte, []int)

func (*GetChargeLimitReq) GetBillCode

func (m *GetChargeLimitReq) GetBillCode() string

func (*GetChargeLimitReq) GetCanIndex

func (m *GetChargeLimitReq) GetCanIndex() int32

func (*GetChargeLimitReq) GetCurrentFee

func (m *GetChargeLimitReq) GetCurrentFee() *DoubleValue

func (*GetChargeLimitReq) GetCurrentServiceFee

func (m *GetChargeLimitReq) GetCurrentServiceFee() *DoubleValue

func (*GetChargeLimitReq) GetCurrentkWH

func (m *GetChargeLimitReq) GetCurrentkWH() *DoubleValue

func (*GetChargeLimitReq) GetCurrentkWhFee

func (m *GetChargeLimitReq) GetCurrentkWhFee() *DoubleValue

func (*GetChargeLimitReq) GetReserved1

func (m *GetChargeLimitReq) GetReserved1() string

func (*GetChargeLimitReq) GetReserved2

func (m *GetChargeLimitReq) GetReserved2() string

func (*GetChargeLimitReq) GetSendTime

func (m *GetChargeLimitReq) GetSendTime() *DateTime

func (*GetChargeLimitReq) GetValueCurrentSecond

func (m *GetChargeLimitReq) GetValueCurrentSecond() *Int32Value

func (*GetChargeLimitReq) ProtoMessage

func (*GetChargeLimitReq) ProtoMessage()

func (*GetChargeLimitReq) Reset

func (m *GetChargeLimitReq) Reset()

func (*GetChargeLimitReq) String

func (m *GetChargeLimitReq) String() string

type GetDevConfigReq

type GetDevConfigReq struct {
	SendTime   *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	ServerAddr string    `protobuf:"bytes,2,opt,name=ServerAddr,json=serverAddr" json:"ServerAddr,omitempty"`
	Reserved1  string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2  string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

获取集控配置.请求(0x1B),P ->D

func (*GetDevConfigReq) Descriptor

func (*GetDevConfigReq) Descriptor() ([]byte, []int)

func (*GetDevConfigReq) GetReserved1

func (m *GetDevConfigReq) GetReserved1() string

func (*GetDevConfigReq) GetReserved2

func (m *GetDevConfigReq) GetReserved2() string

func (*GetDevConfigReq) GetSendTime

func (m *GetDevConfigReq) GetSendTime() *DateTime

func (*GetDevConfigReq) GetServerAddr

func (m *GetDevConfigReq) GetServerAddr() string

func (*GetDevConfigReq) ProtoMessage

func (*GetDevConfigReq) ProtoMessage()

func (*GetDevConfigReq) Reset

func (m *GetDevConfigReq) Reset()

func (*GetDevConfigReq) String

func (m *GetDevConfigReq) String() string

type GetDevVersionAns

type GetDevVersionAns struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	DevIndex  int32     `protobuf:"varint,2,opt,name=DevIndex,json=devIndex" json:"DevIndex,omitempty"`
	Version   string    `protobuf:"bytes,3,opt,name=Version,json=version" json:"Version,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

获取设备版本.响应(0x9A), D ->P

func (*GetDevVersionAns) Descriptor

func (*GetDevVersionAns) Descriptor() ([]byte, []int)

func (*GetDevVersionAns) GetDevIndex

func (m *GetDevVersionAns) GetDevIndex() int32

func (*GetDevVersionAns) GetReserved1

func (m *GetDevVersionAns) GetReserved1() string

func (*GetDevVersionAns) GetReserved2

func (m *GetDevVersionAns) GetReserved2() string

func (*GetDevVersionAns) GetSendTime

func (m *GetDevVersionAns) GetSendTime() *DateTime

func (*GetDevVersionAns) GetVersion

func (m *GetDevVersionAns) GetVersion() string

func (*GetDevVersionAns) ProtoMessage

func (*GetDevVersionAns) ProtoMessage()

func (*GetDevVersionAns) Reset

func (m *GetDevVersionAns) Reset()

func (*GetDevVersionAns) String

func (m *GetDevVersionAns) String() string

type GetDevVersionReq

type GetDevVersionReq struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	DevIndex  int32     `protobuf:"varint,2,opt,name=DevIndex,json=devIndex" json:"DevIndex,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

获取设备版本.请求(0x1A),P ->D

func (*GetDevVersionReq) Descriptor

func (*GetDevVersionReq) Descriptor() ([]byte, []int)

func (*GetDevVersionReq) GetDevIndex

func (m *GetDevVersionReq) GetDevIndex() int32

func (*GetDevVersionReq) GetReserved1

func (m *GetDevVersionReq) GetReserved1() string

func (*GetDevVersionReq) GetReserved2

func (m *GetDevVersionReq) GetReserved2() string

func (*GetDevVersionReq) GetSendTime

func (m *GetDevVersionReq) GetSendTime() *DateTime

func (*GetDevVersionReq) ProtoMessage

func (*GetDevVersionReq) ProtoMessage()

func (*GetDevVersionReq) Reset

func (m *GetDevVersionReq) Reset()

func (*GetDevVersionReq) String

func (m *GetDevVersionReq) String() string

type GunGroupInfoAns

type GunGroupInfoAns struct {
	GunNumber int32    `protobuf:"varint,1,opt,name=GunNumber,json=gunNumber" json:"GunNumber,omitempty"`
	MasterGun int32    `protobuf:"varint,2,opt,name=MasterGun,json=masterGun" json:"MasterGun,omitempty"`
	SlaveGun1 int32    `protobuf:"varint,3,opt,name=SlaveGun1,json=slaveGun1" json:"SlaveGun1,omitempty"`
	SlaveGun2 int32    `protobuf:"varint,4,opt,name=SlaveGun2,json=slaveGun2" json:"SlaveGun2,omitempty"`
	SlaveGun3 int32    `protobuf:"varint,5,opt,name=SlaveGun3,json=slaveGun3" json:"SlaveGun3,omitempty"`
	SlaveGun4 int32    `protobuf:"varint,6,opt,name=SlaveGun4,json=slaveGun4" json:"SlaveGun4,omitempty"`
	SlaveGun5 int32    `protobuf:"varint,7,opt,name=SlaveGun5,json=slaveGun5" json:"SlaveGun5,omitempty"`
	SlaveGun6 int32    `protobuf:"varint,8,opt,name=SlaveGun6,json=slaveGun6" json:"SlaveGun6,omitempty"`
	Finished  BoolEnum `protobuf:"varint,9,opt,name=Finished,json=finished,enum=charge.protobuf.BoolEnum" json:"Finished,omitempty"`
	Reserved1 string   `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string   `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

集控上传主副枪信息通知.响应 0xC2

func (*GunGroupInfoAns) Descriptor

func (*GunGroupInfoAns) Descriptor() ([]byte, []int)

func (*GunGroupInfoAns) GetFinished

func (m *GunGroupInfoAns) GetFinished() BoolEnum

func (*GunGroupInfoAns) GetGunNumber

func (m *GunGroupInfoAns) GetGunNumber() int32

func (*GunGroupInfoAns) GetMasterGun

func (m *GunGroupInfoAns) GetMasterGun() int32

func (*GunGroupInfoAns) GetReserved1

func (m *GunGroupInfoAns) GetReserved1() string

func (*GunGroupInfoAns) GetReserved2

func (m *GunGroupInfoAns) GetReserved2() string

func (*GunGroupInfoAns) GetSlaveGun1

func (m *GunGroupInfoAns) GetSlaveGun1() int32

func (*GunGroupInfoAns) GetSlaveGun2

func (m *GunGroupInfoAns) GetSlaveGun2() int32

func (*GunGroupInfoAns) GetSlaveGun3

func (m *GunGroupInfoAns) GetSlaveGun3() int32

func (*GunGroupInfoAns) GetSlaveGun4

func (m *GunGroupInfoAns) GetSlaveGun4() int32

func (*GunGroupInfoAns) GetSlaveGun5

func (m *GunGroupInfoAns) GetSlaveGun5() int32

func (*GunGroupInfoAns) GetSlaveGun6

func (m *GunGroupInfoAns) GetSlaveGun6() int32

func (*GunGroupInfoAns) ProtoMessage

func (*GunGroupInfoAns) ProtoMessage()

func (*GunGroupInfoAns) Reset

func (m *GunGroupInfoAns) Reset()

func (*GunGroupInfoAns) String

func (m *GunGroupInfoAns) String() string

type GunGroupInfoReq

type GunGroupInfoReq struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	GunNumber int32     `protobuf:"varint,2,opt,name=GunNumber,json=gunNumber" json:"GunNumber,omitempty"`
	MasterGun int32     `protobuf:"varint,3,opt,name=MasterGun,json=masterGun" json:"MasterGun,omitempty"`
	SlaveGun1 int32     `protobuf:"varint,4,opt,name=SlaveGun1,json=slaveGun1" json:"SlaveGun1,omitempty"`
	SlaveGun2 int32     `protobuf:"varint,5,opt,name=SlaveGun2,json=slaveGun2" json:"SlaveGun2,omitempty"`
	SlaveGun3 int32     `protobuf:"varint,6,opt,name=SlaveGun3,json=slaveGun3" json:"SlaveGun3,omitempty"`
	SlaveGun4 int32     `protobuf:"varint,7,opt,name=SlaveGun4,json=slaveGun4" json:"SlaveGun4,omitempty"`
	SlaveGun5 int32     `protobuf:"varint,8,opt,name=SlaveGun5,json=slaveGun5" json:"SlaveGun5,omitempty"`
	SlaveGun6 int32     `protobuf:"varint,9,opt,name=SlaveGun6,json=slaveGun6" json:"SlaveGun6,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

集控上传主副枪信息通知.请求 0x42

func (*GunGroupInfoReq) Descriptor

func (*GunGroupInfoReq) Descriptor() ([]byte, []int)

func (*GunGroupInfoReq) GetGunNumber

func (m *GunGroupInfoReq) GetGunNumber() int32

func (*GunGroupInfoReq) GetMasterGun

func (m *GunGroupInfoReq) GetMasterGun() int32

func (*GunGroupInfoReq) GetReserved1

func (m *GunGroupInfoReq) GetReserved1() string

func (*GunGroupInfoReq) GetReserved2

func (m *GunGroupInfoReq) GetReserved2() string

func (*GunGroupInfoReq) GetSendTime

func (m *GunGroupInfoReq) GetSendTime() *DateTime

func (*GunGroupInfoReq) GetSlaveGun1

func (m *GunGroupInfoReq) GetSlaveGun1() int32

func (*GunGroupInfoReq) GetSlaveGun2

func (m *GunGroupInfoReq) GetSlaveGun2() int32

func (*GunGroupInfoReq) GetSlaveGun3

func (m *GunGroupInfoReq) GetSlaveGun3() int32

func (*GunGroupInfoReq) GetSlaveGun4

func (m *GunGroupInfoReq) GetSlaveGun4() int32

func (*GunGroupInfoReq) GetSlaveGun5

func (m *GunGroupInfoReq) GetSlaveGun5() int32

func (*GunGroupInfoReq) GetSlaveGun6

func (m *GunGroupInfoReq) GetSlaveGun6() int32

func (*GunGroupInfoReq) ProtoMessage

func (*GunGroupInfoReq) ProtoMessage()

func (*GunGroupInfoReq) Reset

func (m *GunGroupInfoReq) Reset()

func (*GunGroupInfoReq) String

func (m *GunGroupInfoReq) String() string

type GunGroupType

type GunGroupType struct {
	Gun1CanIndex int32  `protobuf:"varint,1,opt,name=Gun1CanIndex,json=gun1CanIndex" json:"Gun1CanIndex,omitempty"`
	Gun2CanIndex int32  `protobuf:"varint,2,opt,name=Gun2CanIndex,json=gun2CanIndex" json:"Gun2CanIndex,omitempty"`
	Gun3CanIndex int32  `protobuf:"varint,3,opt,name=Gun3CanIndex,json=gun3CanIndex" json:"Gun3CanIndex,omitempty"`
	Gun4CanIndex int32  `protobuf:"varint,4,opt,name=Gun4CanIndex,json=gun4CanIndex" json:"Gun4CanIndex,omitempty"`
	Gun5CanIndex int32  `protobuf:"varint,5,opt,name=Gun5CanIndex,json=gun5CanIndex" json:"Gun5CanIndex,omitempty"`
	Gun6CanIndex int32  `protobuf:"varint,6,opt,name=Gun6CanIndex,json=gun6CanIndex" json:"Gun6CanIndex,omitempty"`
	Gun7CanIndex int32  `protobuf:"varint,7,opt,name=Gun7CanIndex,json=gun7CanIndex" json:"Gun7CanIndex,omitempty"`
	Reserved1    string `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2    string `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

多枪分组信息

func (*GunGroupType) Descriptor

func (*GunGroupType) Descriptor() ([]byte, []int)

func (*GunGroupType) GetGun1CanIndex

func (m *GunGroupType) GetGun1CanIndex() int32

func (*GunGroupType) GetGun2CanIndex

func (m *GunGroupType) GetGun2CanIndex() int32

func (*GunGroupType) GetGun3CanIndex

func (m *GunGroupType) GetGun3CanIndex() int32

func (*GunGroupType) GetGun4CanIndex

func (m *GunGroupType) GetGun4CanIndex() int32

func (*GunGroupType) GetGun5CanIndex

func (m *GunGroupType) GetGun5CanIndex() int32

func (*GunGroupType) GetGun6CanIndex

func (m *GunGroupType) GetGun6CanIndex() int32

func (*GunGroupType) GetGun7CanIndex

func (m *GunGroupType) GetGun7CanIndex() int32

func (*GunGroupType) GetReserved1

func (m *GunGroupType) GetReserved1() string

func (*GunGroupType) GetReserved2

func (m *GunGroupType) GetReserved2() string

func (*GunGroupType) ProtoMessage

func (*GunGroupType) ProtoMessage()

func (*GunGroupType) Reset

func (m *GunGroupType) Reset()

func (*GunGroupType) String

func (m *GunGroupType) String() string

type HLHTMessageReq

type HLHTMessageReq struct {
	CanIndex          int32  `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	HLHTProjectType   int32  `protobuf:"varint,2,opt,name=HLHTProjectType,json=hLHTProjectType" json:"HLHTProjectType,omitempty"`
	HLHTEncryptedData string `protobuf:"bytes,3,opt,name=HLHTEncryptedData,json=hLHTEncryptedData" json:"HLHTEncryptedData,omitempty"`
}

互联互通信息上送(0x39)

func (*HLHTMessageReq) Descriptor

func (*HLHTMessageReq) Descriptor() ([]byte, []int)

func (*HLHTMessageReq) GetCanIndex

func (m *HLHTMessageReq) GetCanIndex() int32

func (*HLHTMessageReq) GetHLHTEncryptedData

func (m *HLHTMessageReq) GetHLHTEncryptedData() string

func (*HLHTMessageReq) GetHLHTProjectType

func (m *HLHTMessageReq) GetHLHTProjectType() int32

func (*HLHTMessageReq) ProtoMessage

func (*HLHTMessageReq) ProtoMessage()

func (*HLHTMessageReq) Reset

func (m *HLHTMessageReq) Reset()

func (*HLHTMessageReq) String

func (m *HLHTMessageReq) String() string

type HeartbeatAns

type HeartbeatAns struct {
	CurrentTime *DateTime `protobuf:"bytes,1,opt,name=CurrentTime,json=currentTime" json:"CurrentTime,omitempty"`
}

心跳(0x80)

func (*HeartbeatAns) Descriptor

func (*HeartbeatAns) Descriptor() ([]byte, []int)

func (*HeartbeatAns) GetCurrentTime

func (m *HeartbeatAns) GetCurrentTime() *DateTime

func (*HeartbeatAns) ProtoMessage

func (*HeartbeatAns) ProtoMessage()

func (*HeartbeatAns) Reset

func (m *HeartbeatAns) Reset()

func (*HeartbeatAns) String

func (m *HeartbeatAns) String() string

type HeartbeatReq

type HeartbeatReq struct {
	CurrentTime *DateTime `protobuf:"bytes,1,opt,name=CurrentTime,json=currentTime" json:"CurrentTime,omitempty"`
}

20221103 Ctrl--FES V1.9.53 20180515 Fes-CM V1.4 心跳(0x00)

func (*HeartbeatReq) Descriptor

func (*HeartbeatReq) Descriptor() ([]byte, []int)

func (*HeartbeatReq) GetCurrentTime

func (m *HeartbeatReq) GetCurrentTime() *DateTime

func (*HeartbeatReq) ProtoMessage

func (*HeartbeatReq) ProtoMessage()

func (*HeartbeatReq) Reset

func (m *HeartbeatReq) Reset()

func (*HeartbeatReq) String

func (m *HeartbeatReq) String() string

type Int32Value

type Int32Value struct {
	Value int32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}

func (*Int32Value) Descriptor

func (*Int32Value) Descriptor() ([]byte, []int)

func (*Int32Value) GetValue

func (m *Int32Value) GetValue() int32

func (*Int32Value) ProtoMessage

func (*Int32Value) ProtoMessage()

func (*Int32Value) Reset

func (m *Int32Value) Reset()

func (*Int32Value) String

func (m *Int32Value) String() string

type LockCmdAck

type LockCmdAck struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	DeviceID  string    `protobuf:"bytes,2,opt,name=DeviceID,json=deviceID" json:"DeviceID,omitempty"`
	CtrlValue int32     `protobuf:"varint,3,opt,name=CtrlValue,json=ctrlValue" json:"CtrlValue,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备回复地锁遥控指令.确认(0xF4),D-> P

func (*LockCmdAck) Descriptor

func (*LockCmdAck) Descriptor() ([]byte, []int)

func (*LockCmdAck) GetCtrlValue

func (m *LockCmdAck) GetCtrlValue() int32

func (*LockCmdAck) GetDeviceID

func (m *LockCmdAck) GetDeviceID() string

func (*LockCmdAck) GetReserved1

func (m *LockCmdAck) GetReserved1() string

func (*LockCmdAck) GetReserved2

func (m *LockCmdAck) GetReserved2() string

func (*LockCmdAck) GetSendTime

func (m *LockCmdAck) GetSendTime() *DateTime

func (*LockCmdAck) ProtoMessage

func (*LockCmdAck) ProtoMessage()

func (*LockCmdAck) Reset

func (m *LockCmdAck) Reset()

func (*LockCmdAck) String

func (m *LockCmdAck) String() string

type LockCmdAns

type LockCmdAns struct {
	SendTime   *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	DeviceID   string    `protobuf:"bytes,2,opt,name=DeviceID,json=deviceID" json:"DeviceID,omitempty"`
	CtrlValue  int32     `protobuf:"varint,3,opt,name=CtrlValue,json=ctrlValue" json:"CtrlValue,omitempty"`
	Result     BoolEnum  `protobuf:"varint,4,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	FailReason int32     `protobuf:"varint,5,opt,name=FailReason,json=failReason" json:"FailReason,omitempty"`
	Reserved1  string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2  string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备上报地锁遥控指令执行结果.请求(0x06),D-> P

func (*LockCmdAns) Descriptor

func (*LockCmdAns) Descriptor() ([]byte, []int)

func (*LockCmdAns) GetCtrlValue

func (m *LockCmdAns) GetCtrlValue() int32

func (*LockCmdAns) GetDeviceID

func (m *LockCmdAns) GetDeviceID() string

func (*LockCmdAns) GetFailReason

func (m *LockCmdAns) GetFailReason() int32

func (*LockCmdAns) GetReserved1

func (m *LockCmdAns) GetReserved1() string

func (*LockCmdAns) GetReserved2

func (m *LockCmdAns) GetReserved2() string

func (*LockCmdAns) GetResult

func (m *LockCmdAns) GetResult() BoolEnum

func (*LockCmdAns) GetSendTime

func (m *LockCmdAns) GetSendTime() *DateTime

func (*LockCmdAns) ProtoMessage

func (*LockCmdAns) ProtoMessage()

func (*LockCmdAns) Reset

func (m *LockCmdAns) Reset()

func (*LockCmdAns) String

func (m *LockCmdAns) String() string

type LockCmdAnsAck

type LockCmdAnsAck struct {
	SendTime   *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	DeviceID   string    `protobuf:"bytes,2,opt,name=DeviceID,json=deviceID" json:"DeviceID,omitempty"`
	CtrlValue  int32     `protobuf:"varint,3,opt,name=CtrlValue,json=ctrlValue" json:"CtrlValue,omitempty"`
	Result     BoolEnum  `protobuf:"varint,4,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	FailReason int32     `protobuf:"varint,5,opt,name=FailReason,json=failReason" json:"FailReason,omitempty"`
	Confirm    BoolEnum  `protobuf:"varint,6,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
	Reserved1  string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2  string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台回复地锁遥控指令执行结果.确认(0x86),P-> D

func (*LockCmdAnsAck) Descriptor

func (*LockCmdAnsAck) Descriptor() ([]byte, []int)

func (*LockCmdAnsAck) GetConfirm

func (m *LockCmdAnsAck) GetConfirm() BoolEnum

func (*LockCmdAnsAck) GetCtrlValue

func (m *LockCmdAnsAck) GetCtrlValue() int32

func (*LockCmdAnsAck) GetDeviceID

func (m *LockCmdAnsAck) GetDeviceID() string

func (*LockCmdAnsAck) GetFailReason

func (m *LockCmdAnsAck) GetFailReason() int32

func (*LockCmdAnsAck) GetReserved1

func (m *LockCmdAnsAck) GetReserved1() string

func (*LockCmdAnsAck) GetReserved2

func (m *LockCmdAnsAck) GetReserved2() string

func (*LockCmdAnsAck) GetResult

func (m *LockCmdAnsAck) GetResult() BoolEnum

func (*LockCmdAnsAck) GetSendTime

func (m *LockCmdAnsAck) GetSendTime() *DateTime

func (*LockCmdAnsAck) ProtoMessage

func (*LockCmdAnsAck) ProtoMessage()

func (*LockCmdAnsAck) Reset

func (m *LockCmdAnsAck) Reset()

func (*LockCmdAnsAck) String

func (m *LockCmdAnsAck) String() string

type LockCmdReq

type LockCmdReq struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	DeviceID  string    `protobuf:"bytes,2,opt,name=DeviceID,json=deviceID" json:"DeviceID,omitempty"`
	CtrlValue int32     `protobuf:"varint,3,opt,name=CtrlValue,json=ctrlValue" json:"CtrlValue,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台下发地锁遥控指令.请求(0x74),P-> D

func (*LockCmdReq) Descriptor

func (*LockCmdReq) Descriptor() ([]byte, []int)

func (*LockCmdReq) GetCtrlValue

func (m *LockCmdReq) GetCtrlValue() int32

func (*LockCmdReq) GetDeviceID

func (m *LockCmdReq) GetDeviceID() string

func (*LockCmdReq) GetReserved1

func (m *LockCmdReq) GetReserved1() string

func (*LockCmdReq) GetReserved2

func (m *LockCmdReq) GetReserved2() string

func (*LockCmdReq) GetSendTime

func (m *LockCmdReq) GetSendTime() *DateTime

func (*LockCmdReq) ProtoMessage

func (*LockCmdReq) ProtoMessage()

func (*LockCmdReq) Reset

func (m *LockCmdReq) Reset()

func (*LockCmdReq) String

func (m *LockCmdReq) String() string

type LockParaSetAck

type LockParaSetAck struct {
	SendTime        *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	DeviceID        string    `protobuf:"bytes,2,opt,name=DeviceID,json=deviceID" json:"DeviceID,omitempty"`
	LockEnableState int32     `protobuf:"varint,3,opt,name=LockEnableState,json=lockEnableState" json:"LockEnableState,omitempty"`
	ExecSeconds     int32     `protobuf:"varint,4,opt,name=ExecSeconds,json=execSeconds" json:"ExecSeconds,omitempty"`
	Reserved1       string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2       string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备回复地锁参数设置指令.确认 0xF7 D-->P

func (*LockParaSetAck) Descriptor

func (*LockParaSetAck) Descriptor() ([]byte, []int)

func (*LockParaSetAck) GetDeviceID

func (m *LockParaSetAck) GetDeviceID() string

func (*LockParaSetAck) GetExecSeconds

func (m *LockParaSetAck) GetExecSeconds() int32

func (*LockParaSetAck) GetLockEnableState

func (m *LockParaSetAck) GetLockEnableState() int32

func (*LockParaSetAck) GetReserved1

func (m *LockParaSetAck) GetReserved1() string

func (*LockParaSetAck) GetReserved2

func (m *LockParaSetAck) GetReserved2() string

func (*LockParaSetAck) GetSendTime

func (m *LockParaSetAck) GetSendTime() *DateTime

func (*LockParaSetAck) ProtoMessage

func (*LockParaSetAck) ProtoMessage()

func (*LockParaSetAck) Reset

func (m *LockParaSetAck) Reset()

func (*LockParaSetAck) String

func (m *LockParaSetAck) String() string

type LockParaSetAns

type LockParaSetAns struct {
	SendTime   *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	DeviceID   string    `protobuf:"bytes,2,opt,name=DeviceID,json=deviceID" json:"DeviceID,omitempty"`
	Result     BoolEnum  `protobuf:"varint,3,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	FailReason int32     `protobuf:"varint,4,opt,name=FailReason,json=failReason" json:"FailReason,omitempty"`
	Reserved1  string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2  string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备回复地锁参数设置结果.请求 0x0A D-->P

func (*LockParaSetAns) Descriptor

func (*LockParaSetAns) Descriptor() ([]byte, []int)

func (*LockParaSetAns) GetDeviceID

func (m *LockParaSetAns) GetDeviceID() string

func (*LockParaSetAns) GetFailReason

func (m *LockParaSetAns) GetFailReason() int32

func (*LockParaSetAns) GetReserved1

func (m *LockParaSetAns) GetReserved1() string

func (*LockParaSetAns) GetReserved2

func (m *LockParaSetAns) GetReserved2() string

func (*LockParaSetAns) GetResult

func (m *LockParaSetAns) GetResult() BoolEnum

func (*LockParaSetAns) GetSendTime

func (m *LockParaSetAns) GetSendTime() *DateTime

func (*LockParaSetAns) ProtoMessage

func (*LockParaSetAns) ProtoMessage()

func (*LockParaSetAns) Reset

func (m *LockParaSetAns) Reset()

func (*LockParaSetAns) String

func (m *LockParaSetAns) String() string

type LockParaSetAnsAck

type LockParaSetAnsAck struct {
	SendTime   *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	DeviceID   string    `protobuf:"bytes,2,opt,name=DeviceID,json=deviceID" json:"DeviceID,omitempty"`
	Result     BoolEnum  `protobuf:"varint,3,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	FailReason int32     `protobuf:"varint,4,opt,name=FailReason,json=failReason" json:"FailReason,omitempty"`
	Confirm    BoolEnum  `protobuf:"varint,5,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
	Reserved1  string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2  string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台回复地锁参数设置结果.确认 0x8A P-->D

func (*LockParaSetAnsAck) Descriptor

func (*LockParaSetAnsAck) Descriptor() ([]byte, []int)

func (*LockParaSetAnsAck) GetConfirm

func (m *LockParaSetAnsAck) GetConfirm() BoolEnum

func (*LockParaSetAnsAck) GetDeviceID

func (m *LockParaSetAnsAck) GetDeviceID() string

func (*LockParaSetAnsAck) GetFailReason

func (m *LockParaSetAnsAck) GetFailReason() int32

func (*LockParaSetAnsAck) GetReserved1

func (m *LockParaSetAnsAck) GetReserved1() string

func (*LockParaSetAnsAck) GetReserved2

func (m *LockParaSetAnsAck) GetReserved2() string

func (*LockParaSetAnsAck) GetResult

func (m *LockParaSetAnsAck) GetResult() BoolEnum

func (*LockParaSetAnsAck) GetSendTime

func (m *LockParaSetAnsAck) GetSendTime() *DateTime

func (*LockParaSetAnsAck) ProtoMessage

func (*LockParaSetAnsAck) ProtoMessage()

func (*LockParaSetAnsAck) Reset

func (m *LockParaSetAnsAck) Reset()

func (*LockParaSetAnsAck) String

func (m *LockParaSetAnsAck) String() string

type LockParaSetReq

type LockParaSetReq struct {
	SendTime        *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	DeviceID        string    `protobuf:"bytes,2,opt,name=DeviceID,json=deviceID" json:"DeviceID,omitempty"`
	LockEnableState int32     `protobuf:"varint,3,opt,name=LockEnableState,json=lockEnableState" json:"LockEnableState,omitempty"`
	ExecSeconds     int32     `protobuf:"varint,4,opt,name=ExecSeconds,json=execSeconds" json:"ExecSeconds,omitempty"`
	Reserved1       string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2       string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台下发地锁参数设置指令.请求 0x77 P-->D

func (*LockParaSetReq) Descriptor

func (*LockParaSetReq) Descriptor() ([]byte, []int)

func (*LockParaSetReq) GetDeviceID

func (m *LockParaSetReq) GetDeviceID() string

func (*LockParaSetReq) GetExecSeconds

func (m *LockParaSetReq) GetExecSeconds() int32

func (*LockParaSetReq) GetLockEnableState

func (m *LockParaSetReq) GetLockEnableState() int32

func (*LockParaSetReq) GetReserved1

func (m *LockParaSetReq) GetReserved1() string

func (*LockParaSetReq) GetReserved2

func (m *LockParaSetReq) GetReserved2() string

func (*LockParaSetReq) GetSendTime

func (m *LockParaSetReq) GetSendTime() *DateTime

func (*LockParaSetReq) ProtoMessage

func (*LockParaSetReq) ProtoMessage()

func (*LockParaSetReq) Reset

func (m *LockParaSetReq) Reset()

func (*LockParaSetReq) String

func (m *LockParaSetReq) String() string

type LockStateChangeReq

type LockStateChangeReq struct {
	SendTime          *DateTime  `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	DeviceID          string     `protobuf:"bytes,2,opt,name=DeviceID,json=deviceID" json:"DeviceID,omitempty"`
	Reason            SendReason `protobuf:"varint,3,opt,name=Reason,json=reason,enum=charge.protobuf.SendReason" json:"Reason,omitempty"`
	LockState         int32      `protobuf:"varint,4,opt,name=LockState,json=lockState" json:"LockState,omitempty"`
	RockerState       int32      `protobuf:"varint,5,opt,name=RockerState,json=rockerState" json:"RockerState,omitempty"`
	BuzzerState       int32      `protobuf:"varint,6,opt,name=BuzzerState,json=buzzerState" json:"BuzzerState,omitempty"`
	GeomagnetismState int32      `protobuf:"varint,7,opt,name=GeomagnetismState,json=geomagnetismState" json:"GeomagnetismState,omitempty"`
	LockEnableState   int32      `protobuf:"varint,8,opt,name=LockEnableState,json=lockEnableState" json:"LockEnableState,omitempty"`
	ParkState         int32      `protobuf:"varint,9,opt,name=ParkState,json=parkState" json:"ParkState,omitempty"`
	SensorState       int32      `protobuf:"varint,10,opt,name=SensorState,json=sensorState" json:"SensorState,omitempty"`
	UltrasonicHead1   int32      `protobuf:"varint,11,opt,name=UltrasonicHead1,json=ultrasonicHead1" json:"UltrasonicHead1,omitempty"`
	UltrasonicHead2   int32      `protobuf:"varint,12,opt,name=UltrasonicHead2,json=ultrasonicHead2" json:"UltrasonicHead2,omitempty"`
	RockerArmState    int32      `protobuf:"varint,13,opt,name=RockerArmState,json=rockerArmState" json:"RockerArmState,omitempty"`
	RockerTimerState  int32      `protobuf:"varint,14,opt,name=RockerTimerState,json=rockerTimerState" json:"RockerTimerState,omitempty"`
	OtherFault        int32      `protobuf:"varint,15,opt,name=OtherFault,json=otherFault" json:"OtherFault,omitempty"`
	FaultLevel        int32      `protobuf:"varint,16,opt,name=FaultLevel,json=faultLevel" json:"FaultLevel,omitempty"`
	Reserved1         string     `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2         string     `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

地锁状态变化通知.请求 0x08 D->p

func (*LockStateChangeReq) Descriptor

func (*LockStateChangeReq) Descriptor() ([]byte, []int)

func (*LockStateChangeReq) GetBuzzerState

func (m *LockStateChangeReq) GetBuzzerState() int32

func (*LockStateChangeReq) GetDeviceID

func (m *LockStateChangeReq) GetDeviceID() string

func (*LockStateChangeReq) GetFaultLevel

func (m *LockStateChangeReq) GetFaultLevel() int32

func (*LockStateChangeReq) GetGeomagnetismState

func (m *LockStateChangeReq) GetGeomagnetismState() int32

func (*LockStateChangeReq) GetLockEnableState

func (m *LockStateChangeReq) GetLockEnableState() int32

func (*LockStateChangeReq) GetLockState

func (m *LockStateChangeReq) GetLockState() int32

func (*LockStateChangeReq) GetOtherFault

func (m *LockStateChangeReq) GetOtherFault() int32

func (*LockStateChangeReq) GetParkState

func (m *LockStateChangeReq) GetParkState() int32

func (*LockStateChangeReq) GetReason

func (m *LockStateChangeReq) GetReason() SendReason

func (*LockStateChangeReq) GetReserved1

func (m *LockStateChangeReq) GetReserved1() string

func (*LockStateChangeReq) GetReserved2

func (m *LockStateChangeReq) GetReserved2() string

func (*LockStateChangeReq) GetRockerArmState

func (m *LockStateChangeReq) GetRockerArmState() int32

func (*LockStateChangeReq) GetRockerState

func (m *LockStateChangeReq) GetRockerState() int32

func (*LockStateChangeReq) GetRockerTimerState

func (m *LockStateChangeReq) GetRockerTimerState() int32

func (*LockStateChangeReq) GetSendTime

func (m *LockStateChangeReq) GetSendTime() *DateTime

func (*LockStateChangeReq) GetSensorState

func (m *LockStateChangeReq) GetSensorState() int32

func (*LockStateChangeReq) GetUltrasonicHead1

func (m *LockStateChangeReq) GetUltrasonicHead1() int32

func (*LockStateChangeReq) GetUltrasonicHead2

func (m *LockStateChangeReq) GetUltrasonicHead2() int32

func (*LockStateChangeReq) ProtoMessage

func (*LockStateChangeReq) ProtoMessage()

func (*LockStateChangeReq) Reset

func (m *LockStateChangeReq) Reset()

func (*LockStateChangeReq) String

func (m *LockStateChangeReq) String() string

type LoginAns

type LoginAns struct {
	Status      RegistrationStatus `protobuf:"varint,1,opt,name=Status,json=status,enum=charge.protobuf.RegistrationStatus" json:"Status,omitempty"`
	CurrentTime *DateTime          `protobuf:"bytes,2,opt,name=CurrentTime,json=currentTime" json:"CurrentTime,omitempty"`
	Interval    int32              `protobuf:"varint,3,opt,name=Interval,json=interval" json:"Interval,omitempty"`
}

上线申请.响应(0x82)

func (*LoginAns) Descriptor

func (*LoginAns) Descriptor() ([]byte, []int)

func (*LoginAns) GetCurrentTime

func (m *LoginAns) GetCurrentTime() *DateTime

func (*LoginAns) GetInterval

func (m *LoginAns) GetInterval() int32

func (*LoginAns) GetStatus

func (m *LoginAns) GetStatus() RegistrationStatus

func (*LoginAns) ProtoMessage

func (*LoginAns) ProtoMessage()

func (*LoginAns) Reset

func (m *LoginAns) Reset()

func (*LoginAns) String

func (m *LoginAns) String() string

type LoginReq

type LoginReq struct {
	Key               string           `protobuf:"bytes,1,opt,name=Key,json=key" json:"Key,omitempty"`
	SendTime          *DateTime        `protobuf:"bytes,2,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	SerialNumber      string           `protobuf:"bytes,3,opt,name=SerialNumber,json=serialNumber" json:"SerialNumber,omitempty"`
	CtrlProtoVersion  string           `protobuf:"bytes,4,opt,name=CtrlProtoVersion,json=ctrlProtoVersion" json:"CtrlProtoVersion,omitempty"`
	CtrlVendor        string           `protobuf:"bytes,5,opt,name=CtrlVendor,json=ctrlVendor" json:"CtrlVendor,omitempty"`
	CtrlSwVersion     string           `protobuf:"bytes,6,opt,name=CtrlSwVersion,json=ctrlSwVersion" json:"CtrlSwVersion,omitempty"`
	CtrlHwType        CtrlHardwareType `protobuf:"varint,7,opt,name=CtrlHwType,json=ctrlHwType,enum=charge.protobuf.CtrlHardwareType" json:"CtrlHwType,omitempty"`
	DataCenter        string           `protobuf:"bytes,8,opt,name=DataCenter,json=dataCenter" json:"DataCenter,omitempty"`
	CtrlStatus        int32            `protobuf:"varint,9,opt,name=CtrlStatus,json=ctrlStatus" json:"CtrlStatus,omitempty"`
	BillCount         int32            `protobuf:"varint,10,opt,name=BillCount,json=billCount" json:"BillCount,omitempty"`
	LastOfflineReason OfflineReason    `` /* 140-byte string literal not displayed */
	Reserved1         string           `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2         string           `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

上线申请.请求(0x02)

func (*LoginReq) Descriptor

func (*LoginReq) Descriptor() ([]byte, []int)

func (*LoginReq) GetBillCount

func (m *LoginReq) GetBillCount() int32

func (*LoginReq) GetCtrlHwType

func (m *LoginReq) GetCtrlHwType() CtrlHardwareType

func (*LoginReq) GetCtrlProtoVersion

func (m *LoginReq) GetCtrlProtoVersion() string

func (*LoginReq) GetCtrlStatus

func (m *LoginReq) GetCtrlStatus() int32

func (*LoginReq) GetCtrlSwVersion

func (m *LoginReq) GetCtrlSwVersion() string

func (*LoginReq) GetCtrlVendor

func (m *LoginReq) GetCtrlVendor() string

func (*LoginReq) GetDataCenter

func (m *LoginReq) GetDataCenter() string

func (*LoginReq) GetKey

func (m *LoginReq) GetKey() string

func (*LoginReq) GetLastOfflineReason

func (m *LoginReq) GetLastOfflineReason() OfflineReason

func (*LoginReq) GetReserved1

func (m *LoginReq) GetReserved1() string

func (*LoginReq) GetReserved2

func (m *LoginReq) GetReserved2() string

func (*LoginReq) GetSendTime

func (m *LoginReq) GetSendTime() *DateTime

func (*LoginReq) GetSerialNumber

func (m *LoginReq) GetSerialNumber() string

func (*LoginReq) ProtoMessage

func (*LoginReq) ProtoMessage()

func (*LoginReq) Reset

func (m *LoginReq) Reset()

func (*LoginReq) String

func (m *LoginReq) String() string

type MasterSlaveInfo

type MasterSlaveInfo struct {
	GunNumber int32 `protobuf:"varint,1,opt,name=GunNumber,json=gunNumber" json:"GunNumber,omitempty"`
	MasterGun int32 `protobuf:"varint,2,opt,name=MasterGun,json=masterGun" json:"MasterGun,omitempty"`
	SlaveGun1 int32 `protobuf:"varint,3,opt,name=SlaveGun1,json=slaveGun1" json:"SlaveGun1,omitempty"`
	SlaveGun2 int32 `protobuf:"varint,4,opt,name=SlaveGun2,json=slaveGun2" json:"SlaveGun2,omitempty"`
	SlaveGun3 int32 `protobuf:"varint,5,opt,name=SlaveGun3,json=slaveGun3" json:"SlaveGun3,omitempty"`
	SlaveGun4 int32 `protobuf:"varint,6,opt,name=SlaveGun4,json=slaveGun4" json:"SlaveGun4,omitempty"`
	SlaveGun5 int32 `protobuf:"varint,7,opt,name=SlaveGun5,json=slaveGun5" json:"SlaveGun5,omitempty"`
	SlaveGun6 int32 `protobuf:"varint,8,opt,name=SlaveGun6,json=slaveGun6" json:"SlaveGun6,omitempty"`
}

MasterSlaveInfo-主备枪信息

func (*MasterSlaveInfo) Descriptor

func (*MasterSlaveInfo) Descriptor() ([]byte, []int)

func (*MasterSlaveInfo) GetGunNumber

func (m *MasterSlaveInfo) GetGunNumber() int32

func (*MasterSlaveInfo) GetMasterGun

func (m *MasterSlaveInfo) GetMasterGun() int32

func (*MasterSlaveInfo) GetSlaveGun1

func (m *MasterSlaveInfo) GetSlaveGun1() int32

func (*MasterSlaveInfo) GetSlaveGun2

func (m *MasterSlaveInfo) GetSlaveGun2() int32

func (*MasterSlaveInfo) GetSlaveGun3

func (m *MasterSlaveInfo) GetSlaveGun3() int32

func (*MasterSlaveInfo) GetSlaveGun4

func (m *MasterSlaveInfo) GetSlaveGun4() int32

func (*MasterSlaveInfo) GetSlaveGun5

func (m *MasterSlaveInfo) GetSlaveGun5() int32

func (*MasterSlaveInfo) GetSlaveGun6

func (m *MasterSlaveInfo) GetSlaveGun6() int32

func (*MasterSlaveInfo) ProtoMessage

func (*MasterSlaveInfo) ProtoMessage()

func (*MasterSlaveInfo) Reset

func (m *MasterSlaveInfo) Reset()

func (*MasterSlaveInfo) String

func (m *MasterSlaveInfo) String() string

type MeasureType

type MeasureType int32

遥测数据项枚举

const (
	MeasureType_DefaultMeasureType        MeasureType = 0
	MeasureType_Va                        MeasureType = 1
	MeasureType_Vb                        MeasureType = 2
	MeasureType_Vc                        MeasureType = 3
	MeasureType_Vdc                       MeasureType = 4
	MeasureType_Ia                        MeasureType = 17
	MeasureType_Ib                        MeasureType = 18
	MeasureType_Ic                        MeasureType = 19
	MeasureType_Idc                       MeasureType = 20
	MeasureType_N                         MeasureType = 21
	MeasureType_P                         MeasureType = 33
	MeasureType_Q                         MeasureType = 34
	MeasureType_PF                        MeasureType = 35
	MeasureType_VU                        MeasureType = 36
	MeasureType_CU                        MeasureType = 37
	MeasureType_Fap                       MeasureType = 49
	MeasureType_Rap                       MeasureType = 50
	MeasureType_Frp                       MeasureType = 51
	MeasureType_Rrp                       MeasureType = 52
	MeasureType_LimitI                    MeasureType = 53
	MeasureType_AlternateChargeVolume     MeasureType = 64
	MeasureType_AlternatePendingTime      MeasureType = 65
	MeasureType_AlternateRemainChargeTime MeasureType = 66
)

func (MeasureType) EnumDescriptor

func (MeasureType) EnumDescriptor() ([]byte, []int)

func (MeasureType) String

func (x MeasureType) String() string

type MeterActiveUploadReq

type MeterActiveUploadReq struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	MeterAddr string    `protobuf:"bytes,2,opt,name=MeterAddr,json=meterAddr" json:"MeterAddr,omitempty"`
	P         int32     `protobuf:"varint,3,opt,name=P,json=p" json:"P,omitempty"`
	Q         int32     `protobuf:"varint,4,opt,name=Q,json=q" json:"Q,omitempty"`
	Ia        int32     `protobuf:"varint,5,opt,name=Ia,json=ia" json:"Ia,omitempty"`
	Ib        int32     `protobuf:"varint,6,opt,name=Ib,json=ib" json:"Ib,omitempty"`
	Ic        int32     `protobuf:"varint,7,opt,name=Ic,json=ic" json:"Ic,omitempty"`
	Va        int32     `protobuf:"varint,8,opt,name=Va,json=va" json:"Va,omitempty"`
	Vb        int32     `protobuf:"varint,9,opt,name=Vb,json=vb" json:"Vb,omitempty"`
	Vc        int32     `protobuf:"varint,10,opt,name=Vc,json=vc" json:"Vc,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备侧主动上报电表数据.请求(0x29),D-> P

func (*MeterActiveUploadReq) Descriptor

func (*MeterActiveUploadReq) Descriptor() ([]byte, []int)

func (*MeterActiveUploadReq) GetIa

func (m *MeterActiveUploadReq) GetIa() int32

func (*MeterActiveUploadReq) GetIb

func (m *MeterActiveUploadReq) GetIb() int32

func (*MeterActiveUploadReq) GetIc

func (m *MeterActiveUploadReq) GetIc() int32

func (*MeterActiveUploadReq) GetMeterAddr

func (m *MeterActiveUploadReq) GetMeterAddr() string

func (*MeterActiveUploadReq) GetP

func (m *MeterActiveUploadReq) GetP() int32

func (*MeterActiveUploadReq) GetQ

func (m *MeterActiveUploadReq) GetQ() int32

func (*MeterActiveUploadReq) GetReserved1

func (m *MeterActiveUploadReq) GetReserved1() string

func (*MeterActiveUploadReq) GetReserved2

func (m *MeterActiveUploadReq) GetReserved2() string

func (*MeterActiveUploadReq) GetSendTime

func (m *MeterActiveUploadReq) GetSendTime() *DateTime

func (*MeterActiveUploadReq) GetVa

func (m *MeterActiveUploadReq) GetVa() int32

func (*MeterActiveUploadReq) GetVb

func (m *MeterActiveUploadReq) GetVb() int32

func (*MeterActiveUploadReq) GetVc

func (m *MeterActiveUploadReq) GetVc() int32

func (*MeterActiveUploadReq) ProtoMessage

func (*MeterActiveUploadReq) ProtoMessage()

func (*MeterActiveUploadReq) Reset

func (m *MeterActiveUploadReq) Reset()

func (*MeterActiveUploadReq) String

func (m *MeterActiveUploadReq) String() string

type MeterCallAck

type MeterCallAck struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	MeterAddr string    `protobuf:"bytes,2,opt,name=MeterAddr,json=meterAddr" json:"MeterAddr,omitempty"`
	CallType  int32     `protobuf:"varint,3,opt,name=CallType,json=callType" json:"CallType,omitempty"`
	CallTime  *DateTime `protobuf:"bytes,4,opt,name=CallTime,json=callTime" json:"CallTime,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备回复召唤电表数据.确认 0xFA D-->P

func (*MeterCallAck) Descriptor

func (*MeterCallAck) Descriptor() ([]byte, []int)

func (*MeterCallAck) GetCallTime

func (m *MeterCallAck) GetCallTime() *DateTime

func (*MeterCallAck) GetCallType

func (m *MeterCallAck) GetCallType() int32

func (*MeterCallAck) GetMeterAddr

func (m *MeterCallAck) GetMeterAddr() string

func (*MeterCallAck) GetReserved1

func (m *MeterCallAck) GetReserved1() string

func (*MeterCallAck) GetReserved2

func (m *MeterCallAck) GetReserved2() string

func (*MeterCallAck) GetSendTime

func (m *MeterCallAck) GetSendTime() *DateTime

func (*MeterCallAck) ProtoMessage

func (*MeterCallAck) ProtoMessage()

func (*MeterCallAck) Reset

func (m *MeterCallAck) Reset()

func (*MeterCallAck) String

func (m *MeterCallAck) String() string

type MeterCallAns

type MeterCallAns struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	MeterAddr string    `protobuf:"bytes,2,opt,name=MeterAddr,json=meterAddr" json:"MeterAddr,omitempty"`
	DataType  int32     `protobuf:"varint,3,opt,name=DataType,json=dataType" json:"DataType,omitempty"`
	CallTime  *DateTime `protobuf:"bytes,4,opt,name=CallTime,json=callTime" json:"CallTime,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台召唤电表数据.响应 0xFB D-->P

func (*MeterCallAns) Descriptor

func (*MeterCallAns) Descriptor() ([]byte, []int)

func (*MeterCallAns) GetCallTime

func (m *MeterCallAns) GetCallTime() *DateTime

func (*MeterCallAns) GetDataType

func (m *MeterCallAns) GetDataType() int32

func (*MeterCallAns) GetMeterAddr

func (m *MeterCallAns) GetMeterAddr() string

func (*MeterCallAns) GetReserved1

func (m *MeterCallAns) GetReserved1() string

func (*MeterCallAns) GetReserved2

func (m *MeterCallAns) GetReserved2() string

func (*MeterCallAns) GetSendTime

func (m *MeterCallAns) GetSendTime() *DateTime

func (*MeterCallAns) ProtoMessage

func (*MeterCallAns) ProtoMessage()

func (*MeterCallAns) Reset

func (m *MeterCallAns) Reset()

func (*MeterCallAns) String

func (m *MeterCallAns) String() string

type MeterCallReq

type MeterCallReq struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	MeterAddr string    `protobuf:"bytes,2,opt,name=MeterAddr,json=meterAddr" json:"MeterAddr,omitempty"`
	CallType  int32     `protobuf:"varint,3,opt,name=CallType,json=callType" json:"CallType,omitempty"`
	CallTime  *DateTime `protobuf:"bytes,4,opt,name=CallTime,json=callTime" json:"CallTime,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台下发召唤电表数据.请求 0x7A P-->D

func (*MeterCallReq) Descriptor

func (*MeterCallReq) Descriptor() ([]byte, []int)

func (*MeterCallReq) GetCallTime

func (m *MeterCallReq) GetCallTime() *DateTime

func (*MeterCallReq) GetCallType

func (m *MeterCallReq) GetCallType() int32

func (*MeterCallReq) GetMeterAddr

func (m *MeterCallReq) GetMeterAddr() string

func (*MeterCallReq) GetReserved1

func (m *MeterCallReq) GetReserved1() string

func (*MeterCallReq) GetReserved2

func (m *MeterCallReq) GetReserved2() string

func (*MeterCallReq) GetSendTime

func (m *MeterCallReq) GetSendTime() *DateTime

func (*MeterCallReq) ProtoMessage

func (*MeterCallReq) ProtoMessage()

func (*MeterCallReq) Reset

func (m *MeterCallReq) Reset()

func (*MeterCallReq) String

func (m *MeterCallReq) String() string

type MeterNotifyReq

type MeterNotifyReq struct {
	SendTime   *DateTime          `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	MeterAddr  string             `protobuf:"bytes,2,opt,name=MeterAddr,json=meterAddr" json:"MeterAddr,omitempty"`
	DataType   int32              `protobuf:"varint,3,opt,name=DataType,json=dataType" json:"DataType,omitempty"`
	CallTime   *DateTime          `protobuf:"bytes,4,opt,name=CallTime,json=callTime" json:"CallTime,omitempty"`
	Current    *AmmeterCurrent    `protobuf:"bytes,5,opt,name=Current,json=current" json:"Current,omitempty"`
	HourFreeze *AmmeterHourFreeze `protobuf:"bytes,6,opt,name=HourFreeze,json=hourFreeze" json:"HourFreeze,omitempty"`
	DayFreeze  *AmmeterDayFreeze  `protobuf:"bytes,7,opt,name=DayFreeze,json=dayFreeze" json:"DayFreeze,omitempty"`
	Settlement *AmmeterSettlement `protobuf:"bytes,8,opt,name=Settlement,json=settlement" json:"Settlement,omitempty"`
	History    *AmmeterCurrent    `protobuf:"bytes,9,opt,name=History,json=history" json:"History,omitempty"`
	Reserved1  string             `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2  string             `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备上报电表数据通知.请求(0x0E),D-> P

func (*MeterNotifyReq) Descriptor

func (*MeterNotifyReq) Descriptor() ([]byte, []int)

func (*MeterNotifyReq) GetCallTime

func (m *MeterNotifyReq) GetCallTime() *DateTime

func (*MeterNotifyReq) GetCurrent

func (m *MeterNotifyReq) GetCurrent() *AmmeterCurrent

func (*MeterNotifyReq) GetDataType

func (m *MeterNotifyReq) GetDataType() int32

func (*MeterNotifyReq) GetDayFreeze

func (m *MeterNotifyReq) GetDayFreeze() *AmmeterDayFreeze

func (*MeterNotifyReq) GetHistory

func (m *MeterNotifyReq) GetHistory() *AmmeterCurrent

func (*MeterNotifyReq) GetHourFreeze

func (m *MeterNotifyReq) GetHourFreeze() *AmmeterHourFreeze

func (*MeterNotifyReq) GetMeterAddr

func (m *MeterNotifyReq) GetMeterAddr() string

func (*MeterNotifyReq) GetReserved1

func (m *MeterNotifyReq) GetReserved1() string

func (*MeterNotifyReq) GetReserved2

func (m *MeterNotifyReq) GetReserved2() string

func (*MeterNotifyReq) GetSendTime

func (m *MeterNotifyReq) GetSendTime() *DateTime

func (*MeterNotifyReq) GetSettlement

func (m *MeterNotifyReq) GetSettlement() *AmmeterSettlement

func (*MeterNotifyReq) ProtoMessage

func (*MeterNotifyReq) ProtoMessage()

func (*MeterNotifyReq) Reset

func (m *MeterNotifyReq) Reset()

func (*MeterNotifyReq) String

func (m *MeterNotifyReq) String() string

type MeterParaSetAns

type MeterParaSetAns struct {
	SendTime   *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	MeterAddr  string    `protobuf:"bytes,2,opt,name=MeterAddr,json=meterAddr" json:"MeterAddr,omitempty"`
	Result     BoolEnum  `protobuf:"varint,3,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	FailReason int32     `protobuf:"varint,4,opt,name=FailReason,json=failReason" json:"FailReason,omitempty"`
	Reserved1  string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2  string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台下发电表地址参数设置指令.响应 0xFC D-->P

func (*MeterParaSetAns) Descriptor

func (*MeterParaSetAns) Descriptor() ([]byte, []int)

func (*MeterParaSetAns) GetFailReason

func (m *MeterParaSetAns) GetFailReason() int32

func (*MeterParaSetAns) GetMeterAddr

func (m *MeterParaSetAns) GetMeterAddr() string

func (*MeterParaSetAns) GetReserved1

func (m *MeterParaSetAns) GetReserved1() string

func (*MeterParaSetAns) GetReserved2

func (m *MeterParaSetAns) GetReserved2() string

func (*MeterParaSetAns) GetResult

func (m *MeterParaSetAns) GetResult() BoolEnum

func (*MeterParaSetAns) GetSendTime

func (m *MeterParaSetAns) GetSendTime() *DateTime

func (*MeterParaSetAns) ProtoMessage

func (*MeterParaSetAns) ProtoMessage()

func (*MeterParaSetAns) Reset

func (m *MeterParaSetAns) Reset()

func (*MeterParaSetAns) String

func (m *MeterParaSetAns) String() string

type MeterParaSetReq

type MeterParaSetReq struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	MeterAddr string    `protobuf:"bytes,2,opt,name=MeterAddr,json=meterAddr" json:"MeterAddr,omitempty"`
	Enabled   int32     `protobuf:"varint,3,opt,name=Enabled,json=enabled" json:"Enabled,omitempty"`
	VRatio    int32     `protobuf:"varint,4,opt,name=VRatio,json=vRatio" json:"VRatio,omitempty"`
	IRatio    int32     `protobuf:"varint,5,opt,name=IRatio,json=iRatio" json:"IRatio,omitempty"`
	ProtoType int32     `protobuf:"varint,6,opt,name=ProtoType,json=protoType" json:"ProtoType,omitempty"`
	MeterType int32     `protobuf:"varint,7,opt,name=MeterType,json=meterType" json:"MeterType,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台下发电表地址参数设置指令.请求 0x7C P-->D

func (*MeterParaSetReq) Descriptor

func (*MeterParaSetReq) Descriptor() ([]byte, []int)

func (*MeterParaSetReq) GetEnabled

func (m *MeterParaSetReq) GetEnabled() int32

func (*MeterParaSetReq) GetIRatio

func (m *MeterParaSetReq) GetIRatio() int32

func (*MeterParaSetReq) GetMeterAddr

func (m *MeterParaSetReq) GetMeterAddr() string

func (*MeterParaSetReq) GetMeterType

func (m *MeterParaSetReq) GetMeterType() int32

func (*MeterParaSetReq) GetProtoType

func (m *MeterParaSetReq) GetProtoType() int32

func (*MeterParaSetReq) GetReserved1

func (m *MeterParaSetReq) GetReserved1() string

func (*MeterParaSetReq) GetReserved2

func (m *MeterParaSetReq) GetReserved2() string

func (*MeterParaSetReq) GetSendTime

func (m *MeterParaSetReq) GetSendTime() *DateTime

func (*MeterParaSetReq) GetVRatio

func (m *MeterParaSetReq) GetVRatio() int32

func (*MeterParaSetReq) ProtoMessage

func (*MeterParaSetReq) ProtoMessage()

func (*MeterParaSetReq) Reset

func (m *MeterParaSetReq) Reset()

func (*MeterParaSetReq) String

func (m *MeterParaSetReq) String() string

type OfflineAns

type OfflineAns struct {
	Confirm BoolEnum `protobuf:"varint,1,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
}

离线通知.响应(0x84) 废弃 集控到前置不用该类型了,改用 通用响应(0xFE)

func (*OfflineAns) Descriptor

func (*OfflineAns) Descriptor() ([]byte, []int)

func (*OfflineAns) GetConfirm

func (m *OfflineAns) GetConfirm() BoolEnum

func (*OfflineAns) ProtoMessage

func (*OfflineAns) ProtoMessage()

func (*OfflineAns) Reset

func (m *OfflineAns) Reset()

func (*OfflineAns) String

func (m *OfflineAns) String() string

type OfflineLoadCtrlStrategy

type OfflineLoadCtrlStrategy struct {
	LimitPower           float64 `protobuf:"fixed64,1,opt,name=LimitPower,json=limitPower" json:"LimitPower,omitempty"`
	LimitPiles           []int32 `protobuf:"varint,2,rep,packed,name=LimitPiles,json=limitPiles" json:"LimitPiles,omitempty"`
	UnControlPiles       []int32 `protobuf:"varint,3,rep,packed,name=UnControlPiles,json=unControlPiles" json:"UnControlPiles,omitempty"`
	StrategyValidMinute  int32   `protobuf:"varint,4,opt,name=StrategyValidMinute,json=strategyValidMinute" json:"StrategyValidMinute,omitempty"`
	StrategyDelaySecond  int32   `protobuf:"varint,5,opt,name=StrategyDelaySecond,json=strategyDelaySecond" json:"StrategyDelaySecond,omitempty"`
	OnlineContinueSecond int32   `protobuf:"varint,6,opt,name=OnlineContinueSecond,json=onlineContinueSecond" json:"OnlineContinueSecond,omitempty"`
	Reserved1            string  `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2            string  `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

离网负荷约束信息

func (*OfflineLoadCtrlStrategy) Descriptor

func (*OfflineLoadCtrlStrategy) Descriptor() ([]byte, []int)

func (*OfflineLoadCtrlStrategy) GetLimitPiles

func (m *OfflineLoadCtrlStrategy) GetLimitPiles() []int32

func (*OfflineLoadCtrlStrategy) GetLimitPower

func (m *OfflineLoadCtrlStrategy) GetLimitPower() float64

func (*OfflineLoadCtrlStrategy) GetOnlineContinueSecond

func (m *OfflineLoadCtrlStrategy) GetOnlineContinueSecond() int32

func (*OfflineLoadCtrlStrategy) GetReserved1

func (m *OfflineLoadCtrlStrategy) GetReserved1() string

func (*OfflineLoadCtrlStrategy) GetReserved2

func (m *OfflineLoadCtrlStrategy) GetReserved2() string

func (*OfflineLoadCtrlStrategy) GetStrategyDelaySecond

func (m *OfflineLoadCtrlStrategy) GetStrategyDelaySecond() int32

func (*OfflineLoadCtrlStrategy) GetStrategyValidMinute

func (m *OfflineLoadCtrlStrategy) GetStrategyValidMinute() int32

func (*OfflineLoadCtrlStrategy) GetUnControlPiles

func (m *OfflineLoadCtrlStrategy) GetUnControlPiles() []int32

func (*OfflineLoadCtrlStrategy) ProtoMessage

func (*OfflineLoadCtrlStrategy) ProtoMessage()

func (*OfflineLoadCtrlStrategy) Reset

func (m *OfflineLoadCtrlStrategy) Reset()

func (*OfflineLoadCtrlStrategy) String

func (m *OfflineLoadCtrlStrategy) String() string

type OfflineReason

type OfflineReason int32

集控器离线原因

const (
	OfflineReason_DefaultOfflineReason OfflineReason = 0
	OfflineReason_ConnectionLost       OfflineReason = 1
	OfflineReason_PowerOff             OfflineReason = 2
	OfflineReason_HeartbeatTimeout     OfflineReason = 3
	OfflineReason_CloudActiveDown      OfflineReason = 4
	OfflineReason_TCPWriteError        OfflineReason = 5
	OfflineReason_DataCenterSwitch     OfflineReason = 6
	OfflineReason_RemoteRestartCmd     OfflineReason = 7
	OfflineReason_RemoteUpgrade        OfflineReason = 8
	OfflineReason_DoorOpenPowerOff     OfflineReason = 9
	OfflineReason_OtherReason          OfflineReason = 255
)

func (OfflineReason) EnumDescriptor

func (OfflineReason) EnumDescriptor() ([]byte, []int)

func (OfflineReason) String

func (x OfflineReason) String() string

type OfflineReq

type OfflineReq struct {
	Reason           OfflineReason `protobuf:"varint,1,opt,name=Reason,json=reason,enum=charge.protobuf.OfflineReason" json:"Reason,omitempty"`
	OfflineTime      *DateTime     `protobuf:"bytes,2,opt,name=OfflineTime,json=offlineTime" json:"OfflineTime,omitempty"`
	CtrlProtoVersion string        `protobuf:"bytes,3,opt,name=CtrlProtoVersion,json=ctrlProtoVersion" json:"CtrlProtoVersion,omitempty"`
	Reserved1        string        `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2        string        `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

离线通知.请求(0x04)

func (*OfflineReq) Descriptor

func (*OfflineReq) Descriptor() ([]byte, []int)

func (*OfflineReq) GetCtrlProtoVersion

func (m *OfflineReq) GetCtrlProtoVersion() string

func (*OfflineReq) GetOfflineTime

func (m *OfflineReq) GetOfflineTime() *DateTime

func (*OfflineReq) GetReason

func (m *OfflineReq) GetReason() OfflineReason

func (*OfflineReq) GetReserved1

func (m *OfflineReq) GetReserved1() string

func (*OfflineReq) GetReserved2

func (m *OfflineReq) GetReserved2() string

func (*OfflineReq) ProtoMessage

func (*OfflineReq) ProtoMessage()

func (*OfflineReq) Reset

func (m *OfflineReq) Reset()

func (*OfflineReq) String

func (m *OfflineReq) String() string

type OutputRelayYkAck

type OutputRelayYkAck struct {
	SendTime   *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	CtrlNo     int32     `protobuf:"varint,2,opt,name=CtrlNo,json=ctrlNo" json:"CtrlNo,omitempty"`
	CtrlValue  int32     `protobuf:"varint,3,opt,name=CtrlValue,json=ctrlValue" json:"CtrlValue,omitempty"`
	CtrlSecond int32     `protobuf:"varint,4,opt,name=CtrlSecond,json=ctrlSecond" json:"CtrlSecond,omitempty"`
	Reserved1  string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2  string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备回复继电器控制指令.确认 0xF9 D-->P

func (*OutputRelayYkAck) Descriptor

func (*OutputRelayYkAck) Descriptor() ([]byte, []int)

func (*OutputRelayYkAck) GetCtrlNo

func (m *OutputRelayYkAck) GetCtrlNo() int32

func (*OutputRelayYkAck) GetCtrlSecond

func (m *OutputRelayYkAck) GetCtrlSecond() int32

func (*OutputRelayYkAck) GetCtrlValue

func (m *OutputRelayYkAck) GetCtrlValue() int32

func (*OutputRelayYkAck) GetReserved1

func (m *OutputRelayYkAck) GetReserved1() string

func (*OutputRelayYkAck) GetReserved2

func (m *OutputRelayYkAck) GetReserved2() string

func (*OutputRelayYkAck) GetSendTime

func (m *OutputRelayYkAck) GetSendTime() *DateTime

func (*OutputRelayYkAck) ProtoMessage

func (*OutputRelayYkAck) ProtoMessage()

func (*OutputRelayYkAck) Reset

func (m *OutputRelayYkAck) Reset()

func (*OutputRelayYkAck) String

func (m *OutputRelayYkAck) String() string

type OutputRelayYkAns

type OutputRelayYkAns struct {
	SendTime   *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	CtrlNo     int32     `protobuf:"varint,2,opt,name=CtrlNo,json=ctrlNo" json:"CtrlNo,omitempty"`
	CtrlValue  int32     `protobuf:"varint,3,opt,name=CtrlValue,json=ctrlValue" json:"CtrlValue,omitempty"`
	Result     BoolEnum  `protobuf:"varint,4,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	FailReason int32     `protobuf:"varint,5,opt,name=FailReason,json=failReason" json:"FailReason,omitempty"`
	Reserved1  string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2  string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备上报输出继电器控制执行结果.请求 0x0C D-->P

func (*OutputRelayYkAns) Descriptor

func (*OutputRelayYkAns) Descriptor() ([]byte, []int)

func (*OutputRelayYkAns) GetCtrlNo

func (m *OutputRelayYkAns) GetCtrlNo() int32

func (*OutputRelayYkAns) GetCtrlValue

func (m *OutputRelayYkAns) GetCtrlValue() int32

func (*OutputRelayYkAns) GetFailReason

func (m *OutputRelayYkAns) GetFailReason() int32

func (*OutputRelayYkAns) GetReserved1

func (m *OutputRelayYkAns) GetReserved1() string

func (*OutputRelayYkAns) GetReserved2

func (m *OutputRelayYkAns) GetReserved2() string

func (*OutputRelayYkAns) GetResult

func (m *OutputRelayYkAns) GetResult() BoolEnum

func (*OutputRelayYkAns) GetSendTime

func (m *OutputRelayYkAns) GetSendTime() *DateTime

func (*OutputRelayYkAns) ProtoMessage

func (*OutputRelayYkAns) ProtoMessage()

func (*OutputRelayYkAns) Reset

func (m *OutputRelayYkAns) Reset()

func (*OutputRelayYkAns) String

func (m *OutputRelayYkAns) String() string

type OutputRelayYkAnsAck

type OutputRelayYkAnsAck struct {
	SendTime   *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	CtrlNo     int32     `protobuf:"varint,2,opt,name=CtrlNo,json=ctrlNo" json:"CtrlNo,omitempty"`
	CtrlValue  int32     `protobuf:"varint,3,opt,name=CtrlValue,json=ctrlValue" json:"CtrlValue,omitempty"`
	Result     BoolEnum  `protobuf:"varint,4,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	FailReason int32     `protobuf:"varint,5,opt,name=FailReason,json=failReason" json:"FailReason,omitempty"`
	Confirm    BoolEnum  `protobuf:"varint,6,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
	Reserved1  string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2  string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台回复输出继电器控制执行结果.确认 0x8C P-->D

func (*OutputRelayYkAnsAck) Descriptor

func (*OutputRelayYkAnsAck) Descriptor() ([]byte, []int)

func (*OutputRelayYkAnsAck) GetConfirm

func (m *OutputRelayYkAnsAck) GetConfirm() BoolEnum

func (*OutputRelayYkAnsAck) GetCtrlNo

func (m *OutputRelayYkAnsAck) GetCtrlNo() int32

func (*OutputRelayYkAnsAck) GetCtrlValue

func (m *OutputRelayYkAnsAck) GetCtrlValue() int32

func (*OutputRelayYkAnsAck) GetFailReason

func (m *OutputRelayYkAnsAck) GetFailReason() int32

func (*OutputRelayYkAnsAck) GetReserved1

func (m *OutputRelayYkAnsAck) GetReserved1() string

func (*OutputRelayYkAnsAck) GetReserved2

func (m *OutputRelayYkAnsAck) GetReserved2() string

func (*OutputRelayYkAnsAck) GetResult

func (m *OutputRelayYkAnsAck) GetResult() BoolEnum

func (*OutputRelayYkAnsAck) GetSendTime

func (m *OutputRelayYkAnsAck) GetSendTime() *DateTime

func (*OutputRelayYkAnsAck) ProtoMessage

func (*OutputRelayYkAnsAck) ProtoMessage()

func (*OutputRelayYkAnsAck) Reset

func (m *OutputRelayYkAnsAck) Reset()

func (*OutputRelayYkAnsAck) String

func (m *OutputRelayYkAnsAck) String() string

type OutputRelayYkCmqReq

type OutputRelayYkCmqReq struct {
	SendTime   *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	CtrlNo     int32     `protobuf:"varint,2,opt,name=CtrlNo,json=ctrlNo" json:"CtrlNo,omitempty"`
	CtrlValue  int32     `protobuf:"varint,3,opt,name=CtrlValue,json=ctrlValue" json:"CtrlValue,omitempty"`
	CtrlSecond int32     `protobuf:"varint,4,opt,name=CtrlSecond,json=ctrlSecond" json:"CtrlSecond,omitempty"`
	Reserved1  string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2  string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台下发输出继电器控制指令.请求 0x79 P-->D

func (*OutputRelayYkCmqReq) Descriptor

func (*OutputRelayYkCmqReq) Descriptor() ([]byte, []int)

func (*OutputRelayYkCmqReq) GetCtrlNo

func (m *OutputRelayYkCmqReq) GetCtrlNo() int32

func (*OutputRelayYkCmqReq) GetCtrlSecond

func (m *OutputRelayYkCmqReq) GetCtrlSecond() int32

func (*OutputRelayYkCmqReq) GetCtrlValue

func (m *OutputRelayYkCmqReq) GetCtrlValue() int32

func (*OutputRelayYkCmqReq) GetReserved1

func (m *OutputRelayYkCmqReq) GetReserved1() string

func (*OutputRelayYkCmqReq) GetReserved2

func (m *OutputRelayYkCmqReq) GetReserved2() string

func (*OutputRelayYkCmqReq) GetSendTime

func (m *OutputRelayYkCmqReq) GetSendTime() *DateTime

func (*OutputRelayYkCmqReq) ProtoMessage

func (*OutputRelayYkCmqReq) ProtoMessage()

func (*OutputRelayYkCmqReq) Reset

func (m *OutputRelayYkCmqReq) Reset()

func (*OutputRelayYkCmqReq) String

func (m *OutputRelayYkCmqReq) String() string

type ParkParaGetAns

type ParkParaGetAns struct {
	Confirm      BoolEnum       `protobuf:"varint,1,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
	ParkingParam *ParkParamInfo `protobuf:"bytes,2,opt,name=ParkingParam,json=parkingParam" json:"ParkingParam,omitempty"`
	Reserved1    string         `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2    string         `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

地磁/超声波设备参数获取.响应(0xF3),D-> P

func (*ParkParaGetAns) Descriptor

func (*ParkParaGetAns) Descriptor() ([]byte, []int)

func (*ParkParaGetAns) GetConfirm

func (m *ParkParaGetAns) GetConfirm() BoolEnum

func (*ParkParaGetAns) GetParkingParam

func (m *ParkParaGetAns) GetParkingParam() *ParkParamInfo

func (*ParkParaGetAns) GetReserved1

func (m *ParkParaGetAns) GetReserved1() string

func (*ParkParaGetAns) GetReserved2

func (m *ParkParaGetAns) GetReserved2() string

func (*ParkParaGetAns) ProtoMessage

func (*ParkParaGetAns) ProtoMessage()

func (*ParkParaGetAns) Reset

func (m *ParkParaGetAns) Reset()

func (*ParkParaGetAns) String

func (m *ParkParaGetAns) String() string

type ParkParaGetReq

type ParkParaGetReq struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	DeviceID  string    `protobuf:"bytes,2,opt,name=DeviceID,json=deviceID" json:"DeviceID,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

地磁/超声波设备参数获取.请求(0x73),P-> D

func (*ParkParaGetReq) Descriptor

func (*ParkParaGetReq) Descriptor() ([]byte, []int)

func (*ParkParaGetReq) GetDeviceID

func (m *ParkParaGetReq) GetDeviceID() string

func (*ParkParaGetReq) GetReserved1

func (m *ParkParaGetReq) GetReserved1() string

func (*ParkParaGetReq) GetReserved2

func (m *ParkParaGetReq) GetReserved2() string

func (*ParkParaGetReq) GetSendTime

func (m *ParkParaGetReq) GetSendTime() *DateTime

func (*ParkParaGetReq) ProtoMessage

func (*ParkParaGetReq) ProtoMessage()

func (*ParkParaGetReq) Reset

func (m *ParkParaGetReq) Reset()

func (*ParkParaGetReq) String

func (m *ParkParaGetReq) String() string

type ParkParamInfo

type ParkParamInfo struct {
	DeviceID        string `protobuf:"bytes,1,opt,name=DeviceID,json=deviceID" json:"DeviceID,omitempty"`
	Temperature     string `protobuf:"bytes,2,opt,name=Temperature,json=temperature" json:"Temperature,omitempty"`
	Humidity        string `protobuf:"bytes,3,opt,name=Humidity,json=humidity" json:"Humidity,omitempty"`
	BatteryCapacity string `protobuf:"bytes,4,opt,name=BatteryCapacity,json=batteryCapacity" json:"BatteryCapacity,omitempty"`
	Reserved1       string `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2       string `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

ParkParamInfo –地磁/超声波设备参数信息

func (*ParkParamInfo) Descriptor

func (*ParkParamInfo) Descriptor() ([]byte, []int)

func (*ParkParamInfo) GetBatteryCapacity

func (m *ParkParamInfo) GetBatteryCapacity() string

func (*ParkParamInfo) GetDeviceID

func (m *ParkParamInfo) GetDeviceID() string

func (*ParkParamInfo) GetHumidity

func (m *ParkParamInfo) GetHumidity() string

func (*ParkParamInfo) GetReserved1

func (m *ParkParamInfo) GetReserved1() string

func (*ParkParamInfo) GetReserved2

func (m *ParkParamInfo) GetReserved2() string

func (*ParkParamInfo) GetTemperature

func (m *ParkParamInfo) GetTemperature() string

func (*ParkParamInfo) ProtoMessage

func (*ParkParamInfo) ProtoMessage()

func (*ParkParamInfo) Reset

func (m *ParkParamInfo) Reset()

func (*ParkParamInfo) String

func (m *ParkParamInfo) String() string

type ParkStateCallReq

type ParkStateCallReq struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	DeviceID  string    `protobuf:"bytes,2,opt,name=DeviceID,json=deviceID" json:"DeviceID,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

地磁/超声波状态召唤.请求(0x71),P->D

func (*ParkStateCallReq) Descriptor

func (*ParkStateCallReq) Descriptor() ([]byte, []int)

func (*ParkStateCallReq) GetDeviceID

func (m *ParkStateCallReq) GetDeviceID() string

func (*ParkStateCallReq) GetReserved1

func (m *ParkStateCallReq) GetReserved1() string

func (*ParkStateCallReq) GetReserved2

func (m *ParkStateCallReq) GetReserved2() string

func (*ParkStateCallReq) GetSendTime

func (m *ParkStateCallReq) GetSendTime() *DateTime

func (*ParkStateCallReq) ProtoMessage

func (*ParkStateCallReq) ProtoMessage()

func (*ParkStateCallReq) Reset

func (m *ParkStateCallReq) Reset()

func (*ParkStateCallReq) String

func (m *ParkStateCallReq) String() string

type ParkStateChangeReq

type ParkStateChangeReq struct {
	SendTime      *DateTime         `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	DeviceID      string            `protobuf:"bytes,2,opt,name=DeviceID,json=deviceID" json:"DeviceID,omitempty"`
	ParkingAlarm  *ParkingAlarmType `protobuf:"bytes,3,opt,name=ParkingAlarm,json=parkingAlarm" json:"ParkingAlarm,omitempty"`
	ParkingState  ParkingStatusEnum `` /* 128-byte string literal not displayed */
	RemainBattery int32             `protobuf:"varint,5,opt,name=RemainBattery,json=remainBattery" json:"RemainBattery,omitempty"`
	Reserved1     string            `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2     string            `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

地磁/超声波状态变化通知.请求(0x44),D-> P

func (*ParkStateChangeReq) Descriptor

func (*ParkStateChangeReq) Descriptor() ([]byte, []int)

func (*ParkStateChangeReq) GetDeviceID

func (m *ParkStateChangeReq) GetDeviceID() string

func (*ParkStateChangeReq) GetParkingAlarm

func (m *ParkStateChangeReq) GetParkingAlarm() *ParkingAlarmType

func (*ParkStateChangeReq) GetParkingState

func (m *ParkStateChangeReq) GetParkingState() ParkingStatusEnum

func (*ParkStateChangeReq) GetRemainBattery

func (m *ParkStateChangeReq) GetRemainBattery() int32

func (*ParkStateChangeReq) GetReserved1

func (m *ParkStateChangeReq) GetReserved1() string

func (*ParkStateChangeReq) GetReserved2

func (m *ParkStateChangeReq) GetReserved2() string

func (*ParkStateChangeReq) GetSendTime

func (m *ParkStateChangeReq) GetSendTime() *DateTime

func (*ParkStateChangeReq) ProtoMessage

func (*ParkStateChangeReq) ProtoMessage()

func (*ParkStateChangeReq) Reset

func (m *ParkStateChangeReq) Reset()

func (*ParkStateChangeReq) String

func (m *ParkStateChangeReq) String() string

type ParkingAlarmCodeEnum

type ParkingAlarmCodeEnum int32

ParkingAlarmCodeEnum-地磁/超声波告警码枚举

const (
	ParkingAlarmCodeEnum_DefaultParkingAlarmEnum ParkingAlarmCodeEnum = 0
	ParkingAlarmCodeEnum_CameraFault             ParkingAlarmCodeEnum = 2
	ParkingAlarmCodeEnum_SensorFault             ParkingAlarmCodeEnum = 3
	ParkingAlarmCodeEnum_BuzzerFault             ParkingAlarmCodeEnum = 4
	ParkingAlarmCodeEnum_LowBattery              ParkingAlarmCodeEnum = 5
	ParkingAlarmCodeEnum_MotorFault              ParkingAlarmCodeEnum = 6
	ParkingAlarmCodeEnum_Reserved1               ParkingAlarmCodeEnum = 7
)

func (ParkingAlarmCodeEnum) EnumDescriptor

func (ParkingAlarmCodeEnum) EnumDescriptor() ([]byte, []int)

func (ParkingAlarmCodeEnum) String

func (x ParkingAlarmCodeEnum) String() string

type ParkingAlarmType

type ParkingAlarmType struct {
	SevereLevel      int32                  `protobuf:"varint,1,opt,name=SevereLevel,json=severeLevel" json:"SevereLevel,omitempty"`
	ParkingAlarmCode []ParkingAlarmCodeEnum `` /* 150-byte string literal not displayed */
}

ParkingAlarmType--地磁故障

func (*ParkingAlarmType) Descriptor

func (*ParkingAlarmType) Descriptor() ([]byte, []int)

func (*ParkingAlarmType) GetParkingAlarmCode

func (m *ParkingAlarmType) GetParkingAlarmCode() []ParkingAlarmCodeEnum

func (*ParkingAlarmType) GetSevereLevel

func (m *ParkingAlarmType) GetSevereLevel() int32

func (*ParkingAlarmType) ProtoMessage

func (*ParkingAlarmType) ProtoMessage()

func (*ParkingAlarmType) Reset

func (m *ParkingAlarmType) Reset()

func (*ParkingAlarmType) String

func (m *ParkingAlarmType) String() string

type ParkingStatusEnum

type ParkingStatusEnum int32

ParkingStatusEnum-地磁/超声波状态枚举

const (
	ParkingStatusEnum_Unknow        ParkingStatusEnum = 0
	ParkingStatusEnum_ParkingOccupy ParkingStatusEnum = 1
	ParkingStatusEnum_ParkingIdle   ParkingStatusEnum = 2
)

func (ParkingStatusEnum) EnumDescriptor

func (ParkingStatusEnum) EnumDescriptor() ([]byte, []int)

func (ParkingStatusEnum) String

func (x ParkingStatusEnum) String() string

type PowerCruveCmdAns

type PowerCruveCmdAns struct {
	Confirm BoolEnum   `protobuf:"varint,1,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
	Reason  FailReason `protobuf:"varint,2,opt,name=Reason,json=reason,enum=charge.protobuf.FailReason" json:"Reason,omitempty"`
}

充电功率计划曲线指令.响应(0xA3)

func (*PowerCruveCmdAns) Descriptor

func (*PowerCruveCmdAns) Descriptor() ([]byte, []int)

func (*PowerCruveCmdAns) GetConfirm

func (m *PowerCruveCmdAns) GetConfirm() BoolEnum

func (*PowerCruveCmdAns) GetReason

func (m *PowerCruveCmdAns) GetReason() FailReason

func (*PowerCruveCmdAns) ProtoMessage

func (*PowerCruveCmdAns) ProtoMessage()

func (*PowerCruveCmdAns) Reset

func (m *PowerCruveCmdAns) Reset()

func (*PowerCruveCmdAns) String

func (m *PowerCruveCmdAns) String() string

type PowerCruveCmdReq

type PowerCruveCmdReq struct {
	CanIndex      int32                `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Code          string               `protobuf:"bytes,2,opt,name=Code,json=code" json:"Code,omitempty"`
	CType         CruveType            `protobuf:"varint,3,opt,name=CType,json=cType,enum=charge.protobuf.CruveType" json:"CType,omitempty"`
	Strategy      []*ChargingStrategy  `protobuf:"bytes,4,rep,name=Strategy,json=strategy" json:"Strategy,omitempty"`
	StartStrategy *StartChargeStrategy `protobuf:"bytes,5,opt,name=StartStrategy,json=startStrategy" json:"StartStrategy,omitempty"`
	Reserved1     string               `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2     string               `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

充电功率计划曲线指令.下发(0x23)

func (*PowerCruveCmdReq) Descriptor

func (*PowerCruveCmdReq) Descriptor() ([]byte, []int)

func (*PowerCruveCmdReq) GetCType

func (m *PowerCruveCmdReq) GetCType() CruveType

func (*PowerCruveCmdReq) GetCanIndex

func (m *PowerCruveCmdReq) GetCanIndex() int32

func (*PowerCruveCmdReq) GetCode

func (m *PowerCruveCmdReq) GetCode() string

func (*PowerCruveCmdReq) GetReserved1

func (m *PowerCruveCmdReq) GetReserved1() string

func (*PowerCruveCmdReq) GetReserved2

func (m *PowerCruveCmdReq) GetReserved2() string

func (*PowerCruveCmdReq) GetStartStrategy

func (m *PowerCruveCmdReq) GetStartStrategy() *StartChargeStrategy

func (*PowerCruveCmdReq) GetStrategy

func (m *PowerCruveCmdReq) GetStrategy() []*ChargingStrategy

func (*PowerCruveCmdReq) ProtoMessage

func (*PowerCruveCmdReq) ProtoMessage()

func (*PowerCruveCmdReq) Reset

func (m *PowerCruveCmdReq) Reset()

func (*PowerCruveCmdReq) String

func (m *PowerCruveCmdReq) String() string

type QueryButtonStatusAns

type QueryButtonStatusAns struct {
	SendTime     *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	ButtonStatus int32     `protobuf:"varint,2,opt,name=ButtonStatus,json=buttonStatus" json:"ButtonStatus,omitempty"`
	Reserved1    string    `protobuf:"bytes,3,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2    string    `protobuf:"bytes,4,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备上送检修按钮状态(0xAA),D ->P

func (*QueryButtonStatusAns) Descriptor

func (*QueryButtonStatusAns) Descriptor() ([]byte, []int)

func (*QueryButtonStatusAns) GetButtonStatus

func (m *QueryButtonStatusAns) GetButtonStatus() int32

func (*QueryButtonStatusAns) GetReserved1

func (m *QueryButtonStatusAns) GetReserved1() string

func (*QueryButtonStatusAns) GetReserved2

func (m *QueryButtonStatusAns) GetReserved2() string

func (*QueryButtonStatusAns) GetSendTime

func (m *QueryButtonStatusAns) GetSendTime() *DateTime

func (*QueryButtonStatusAns) ProtoMessage

func (*QueryButtonStatusAns) ProtoMessage()

func (*QueryButtonStatusAns) Reset

func (m *QueryButtonStatusAns) Reset()

func (*QueryButtonStatusAns) String

func (m *QueryButtonStatusAns) String() string

type QueryButtonStatusReq

type QueryButtonStatusReq struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Reserved1 string    `protobuf:"bytes,2,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,3,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台查询检修按钮状态.下发(0x2A),P ->D

func (*QueryButtonStatusReq) Descriptor

func (*QueryButtonStatusReq) Descriptor() ([]byte, []int)

func (*QueryButtonStatusReq) GetReserved1

func (m *QueryButtonStatusReq) GetReserved1() string

func (*QueryButtonStatusReq) GetReserved2

func (m *QueryButtonStatusReq) GetReserved2() string

func (*QueryButtonStatusReq) GetSendTime

func (m *QueryButtonStatusReq) GetSendTime() *DateTime

func (*QueryButtonStatusReq) ProtoMessage

func (*QueryButtonStatusReq) ProtoMessage()

func (*QueryButtonStatusReq) Reset

func (m *QueryButtonStatusReq) Reset()

func (*QueryButtonStatusReq) String

func (m *QueryButtonStatusReq) String() string

type QueueSequence

type QueueSequence struct {
	CanIndex  int32 `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	QSequence int32 `protobuf:"varint,2,opt,name=QSequence,json=qSequence" json:"QSequence,omitempty"`
}

QueueSequence-终端排队序号

func (*QueueSequence) Descriptor

func (*QueueSequence) Descriptor() ([]byte, []int)

func (*QueueSequence) GetCanIndex

func (m *QueueSequence) GetCanIndex() int32

func (*QueueSequence) GetQSequence

func (m *QueueSequence) GetQSequence() int32

func (*QueueSequence) ProtoMessage

func (*QueueSequence) ProtoMessage()

func (*QueueSequence) Reset

func (m *QueueSequence) Reset()

func (*QueueSequence) String

func (m *QueueSequence) String() string

type RebootDevAns

type RebootDevAns struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	DevIndex  int32     `protobuf:"varint,2,opt,name=DevIndex,json=devIndex" json:"DevIndex,omitempty"`
	Confirm   BoolEnum  `protobuf:"varint,3,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
	ErrCode   int32     `protobuf:"varint,4,opt,name=ErrCode,json=errCode" json:"ErrCode,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

重启设备指令.响应 0x99 D->P

func (*RebootDevAns) Descriptor

func (*RebootDevAns) Descriptor() ([]byte, []int)

func (*RebootDevAns) GetConfirm

func (m *RebootDevAns) GetConfirm() BoolEnum

func (*RebootDevAns) GetDevIndex

func (m *RebootDevAns) GetDevIndex() int32

func (*RebootDevAns) GetErrCode

func (m *RebootDevAns) GetErrCode() int32

func (*RebootDevAns) GetReserved1

func (m *RebootDevAns) GetReserved1() string

func (*RebootDevAns) GetReserved2

func (m *RebootDevAns) GetReserved2() string

func (*RebootDevAns) GetSendTime

func (m *RebootDevAns) GetSendTime() *DateTime

func (*RebootDevAns) ProtoMessage

func (*RebootDevAns) ProtoMessage()

func (*RebootDevAns) Reset

func (m *RebootDevAns) Reset()

func (*RebootDevAns) String

func (m *RebootDevAns) String() string

type RebootDevReq

type RebootDevReq struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	DevIndex  int32     `protobuf:"varint,2,opt,name=DevIndex,json=devIndex" json:"DevIndex,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

重启设备指令.请求(0x19) P ->D

func (*RebootDevReq) Descriptor

func (*RebootDevReq) Descriptor() ([]byte, []int)

func (*RebootDevReq) GetDevIndex

func (m *RebootDevReq) GetDevIndex() int32

func (*RebootDevReq) GetReserved1

func (m *RebootDevReq) GetReserved1() string

func (*RebootDevReq) GetReserved2

func (m *RebootDevReq) GetReserved2() string

func (*RebootDevReq) GetSendTime

func (m *RebootDevReq) GetSendTime() *DateTime

func (*RebootDevReq) ProtoMessage

func (*RebootDevReq) ProtoMessage()

func (*RebootDevReq) Reset

func (m *RebootDevReq) Reset()

func (*RebootDevReq) String

func (m *RebootDevReq) String() string

type RegistrationStatus

type RegistrationStatus int32

注册结果

const (
	RegistrationStatus_DefaultRegistrationStatus RegistrationStatus = 0
	RegistrationStatus_Accepted                  RegistrationStatus = 1
	RegistrationStatus_Rejected                  RegistrationStatus = 2
)

func (RegistrationStatus) EnumDescriptor

func (RegistrationStatus) EnumDescriptor() ([]byte, []int)

func (RegistrationStatus) String

func (x RegistrationStatus) String() string

type ReqCarInfoFieldType

type ReqCarInfoFieldType int32

集控查询车辆信息的参数类型

const (
	ReqCarInfoFieldType_DefaultReqCarInfoFieldType ReqCarInfoFieldType = 0
	ReqCarInfoFieldType_VINType                    ReqCarInfoFieldType = 1
	ReqCarInfoFieldType_PlateType                  ReqCarInfoFieldType = 2
	ReqCarInfoFieldType_CarIDType                  ReqCarInfoFieldType = 3
)

func (ReqCarInfoFieldType) EnumDescriptor

func (ReqCarInfoFieldType) EnumDescriptor() ([]byte, []int)

func (ReqCarInfoFieldType) String

func (x ReqCarInfoFieldType) String() string

type ReserveChargingFailReason

type ReserveChargingFailReason int32

ReserveChargingFailReason-预约充电失败原因

const (
	ReserveChargingFailReason_DefaultReserveChargingReason ReserveChargingFailReason = 0
)

func (ReserveChargingFailReason) EnumDescriptor

func (ReserveChargingFailReason) EnumDescriptor() ([]byte, []int)

func (ReserveChargingFailReason) String

func (x ReserveChargingFailReason) String() string

type ReserveCmdAns

type ReserveCmdAns struct {
	CanIndex int32                     `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Confirm  BoolEnum                  `protobuf:"varint,2,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
	Reason   ReserveChargingFailReason `protobuf:"varint,3,opt,name=Reason,json=reason,enum=charge.protobuf.ReserveChargingFailReason" json:"Reason,omitempty"`
}

预约状态指令响应(0xFD),D-> P

func (*ReserveCmdAns) Descriptor

func (*ReserveCmdAns) Descriptor() ([]byte, []int)

func (*ReserveCmdAns) GetCanIndex

func (m *ReserveCmdAns) GetCanIndex() int32

func (*ReserveCmdAns) GetConfirm

func (m *ReserveCmdAns) GetConfirm() BoolEnum

func (*ReserveCmdAns) GetReason

func (*ReserveCmdAns) ProtoMessage

func (*ReserveCmdAns) ProtoMessage()

func (*ReserveCmdAns) Reset

func (m *ReserveCmdAns) Reset()

func (*ReserveCmdAns) String

func (m *ReserveCmdAns) String() string

type ReserveCmdReq

type ReserveCmdReq struct {
	CanIndex  int32     `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Status    int32     `protobuf:"varint,2,opt,name=Status,json=status" json:"Status,omitempty"`
	Phone     string    `protobuf:"bytes,3,opt,name=Phone,json=phone" json:"Phone,omitempty"`
	Plate     string    `protobuf:"bytes,4,opt,name=Plate,json=plate" json:"Plate,omitempty"`
	BeginTime *DateTime `protobuf:"bytes,5,opt,name=BeginTime,json=beginTime" json:"BeginTime,omitempty"`
	EndTime   *DateTime `protobuf:"bytes,6,opt,name=EndTime,json=endTime" json:"EndTime,omitempty"`
}

预约状态指令下发(0x7D),P-> D

func (*ReserveCmdReq) Descriptor

func (*ReserveCmdReq) Descriptor() ([]byte, []int)

func (*ReserveCmdReq) GetBeginTime

func (m *ReserveCmdReq) GetBeginTime() *DateTime

func (*ReserveCmdReq) GetCanIndex

func (m *ReserveCmdReq) GetCanIndex() int32

func (*ReserveCmdReq) GetEndTime

func (m *ReserveCmdReq) GetEndTime() *DateTime

func (*ReserveCmdReq) GetPhone

func (m *ReserveCmdReq) GetPhone() string

func (*ReserveCmdReq) GetPlate

func (m *ReserveCmdReq) GetPlate() string

func (*ReserveCmdReq) GetStatus

func (m *ReserveCmdReq) GetStatus() int32

func (*ReserveCmdReq) ProtoMessage

func (*ReserveCmdReq) ProtoMessage()

func (*ReserveCmdReq) Reset

func (m *ReserveCmdReq) Reset()

func (*ReserveCmdReq) String

func (m *ReserveCmdReq) String() string

type ResumeChargeAns

type ResumeChargeAns struct {
	CanIndex  int32      `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Code      string     `protobuf:"bytes,2,opt,name=Code,json=code" json:"Code,omitempty"`
	Result    BoolEnum   `protobuf:"varint,3,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	Reason    FailReason `protobuf:"varint,4,opt,name=Reason,json=reason,enum=charge.protobuf.FailReason" json:"Reason,omitempty"`
	SendTime  *DateTime  `protobuf:"bytes,5,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Reserved1 string     `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string     `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台侧恢复充电指令.响应(0x97)

func (*ResumeChargeAns) Descriptor

func (*ResumeChargeAns) Descriptor() ([]byte, []int)

func (*ResumeChargeAns) GetCanIndex

func (m *ResumeChargeAns) GetCanIndex() int32

func (*ResumeChargeAns) GetCode

func (m *ResumeChargeAns) GetCode() string

func (*ResumeChargeAns) GetReason

func (m *ResumeChargeAns) GetReason() FailReason

func (*ResumeChargeAns) GetReserved1

func (m *ResumeChargeAns) GetReserved1() string

func (*ResumeChargeAns) GetReserved2

func (m *ResumeChargeAns) GetReserved2() string

func (*ResumeChargeAns) GetResult

func (m *ResumeChargeAns) GetResult() BoolEnum

func (*ResumeChargeAns) GetSendTime

func (m *ResumeChargeAns) GetSendTime() *DateTime

func (*ResumeChargeAns) ProtoMessage

func (*ResumeChargeAns) ProtoMessage()

func (*ResumeChargeAns) Reset

func (m *ResumeChargeAns) Reset()

func (*ResumeChargeAns) String

func (m *ResumeChargeAns) String() string

type ResumeChargeReq

type ResumeChargeReq struct {
	CanIndex  int32  `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	BillCode  string `protobuf:"bytes,2,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	Reserved1 string `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台侧恢复充电指令.下发(0x17)

func (*ResumeChargeReq) Descriptor

func (*ResumeChargeReq) Descriptor() ([]byte, []int)

func (*ResumeChargeReq) GetBillCode

func (m *ResumeChargeReq) GetBillCode() string

func (*ResumeChargeReq) GetCanIndex

func (m *ResumeChargeReq) GetCanIndex() int32

func (*ResumeChargeReq) GetReserved1

func (m *ResumeChargeReq) GetReserved1() string

func (*ResumeChargeReq) GetReserved2

func (m *ResumeChargeReq) GetReserved2() string

func (*ResumeChargeReq) ProtoMessage

func (*ResumeChargeReq) ProtoMessage()

func (*ResumeChargeReq) Reset

func (m *ResumeChargeReq) Reset()

func (*ResumeChargeReq) String

func (m *ResumeChargeReq) String() string

type SendClosePowerFailureAns

type SendClosePowerFailureAns struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Result    BoolEnum  `protobuf:"varint,2,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	Reserved1 string    `protobuf:"bytes,3,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,4,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备响应平台关闭开门断电指令(0xAB),D ->P

func (*SendClosePowerFailureAns) Descriptor

func (*SendClosePowerFailureAns) Descriptor() ([]byte, []int)

func (*SendClosePowerFailureAns) GetReserved1

func (m *SendClosePowerFailureAns) GetReserved1() string

func (*SendClosePowerFailureAns) GetReserved2

func (m *SendClosePowerFailureAns) GetReserved2() string

func (*SendClosePowerFailureAns) GetResult

func (m *SendClosePowerFailureAns) GetResult() BoolEnum

func (*SendClosePowerFailureAns) GetSendTime

func (m *SendClosePowerFailureAns) GetSendTime() *DateTime

func (*SendClosePowerFailureAns) ProtoMessage

func (*SendClosePowerFailureAns) ProtoMessage()

func (*SendClosePowerFailureAns) Reset

func (m *SendClosePowerFailureAns) Reset()

func (*SendClosePowerFailureAns) String

func (m *SendClosePowerFailureAns) String() string

type SendClosePowerFailureReq

type SendClosePowerFailureReq struct {
	SendTime     *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	ButtonStatus int32     `protobuf:"varint,2,opt,name=ButtonStatus,json=buttonStatus" json:"ButtonStatus,omitempty"`
	Reserved1    string    `protobuf:"bytes,3,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2    string    `protobuf:"bytes,4,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台关闭开门断电指令.下发(0x2B),P ->D

func (*SendClosePowerFailureReq) Descriptor

func (*SendClosePowerFailureReq) Descriptor() ([]byte, []int)

func (*SendClosePowerFailureReq) GetButtonStatus

func (m *SendClosePowerFailureReq) GetButtonStatus() int32

func (*SendClosePowerFailureReq) GetReserved1

func (m *SendClosePowerFailureReq) GetReserved1() string

func (*SendClosePowerFailureReq) GetReserved2

func (m *SendClosePowerFailureReq) GetReserved2() string

func (*SendClosePowerFailureReq) GetSendTime

func (m *SendClosePowerFailureReq) GetSendTime() *DateTime

func (*SendClosePowerFailureReq) ProtoMessage

func (*SendClosePowerFailureReq) ProtoMessage()

func (*SendClosePowerFailureReq) Reset

func (m *SendClosePowerFailureReq) Reset()

func (*SendClosePowerFailureReq) String

func (m *SendClosePowerFailureReq) String() string

type SendReason

type SendReason int32

数据传送原因

const (
	SendReason_DefaultSendReason SendReason = 0
	SendReason_DataChange        SendReason = 1
	SendReason_CallAnswer        SendReason = 2
	SendReason_IntervalSend      SendReason = 3
)

func (SendReason) EnumDescriptor

func (SendReason) EnumDescriptor() ([]byte, []int)

func (SendReason) String

func (x SendReason) String() string

type SendShutDownLinkWithReasonAns

type SendShutDownLinkWithReasonAns struct {
	SendTime           *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	ShutdownLinkReason int32     `protobuf:"varint,2,opt,name=ShutdownLinkReason,json=shutdownLinkReason" json:"ShutdownLinkReason,omitempty"`
	Result             BoolEnum  `protobuf:"varint,3,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	Reserved1          string    `protobuf:"bytes,4,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2          string    `protobuf:"bytes,5,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台主动断开通信链路和原因.响应(0x87),D ->P

func (*SendShutDownLinkWithReasonAns) Descriptor

func (*SendShutDownLinkWithReasonAns) Descriptor() ([]byte, []int)

func (*SendShutDownLinkWithReasonAns) GetReserved1

func (m *SendShutDownLinkWithReasonAns) GetReserved1() string

func (*SendShutDownLinkWithReasonAns) GetReserved2

func (m *SendShutDownLinkWithReasonAns) GetReserved2() string

func (*SendShutDownLinkWithReasonAns) GetResult

func (m *SendShutDownLinkWithReasonAns) GetResult() BoolEnum

func (*SendShutDownLinkWithReasonAns) GetSendTime

func (m *SendShutDownLinkWithReasonAns) GetSendTime() *DateTime

func (*SendShutDownLinkWithReasonAns) GetShutdownLinkReason

func (m *SendShutDownLinkWithReasonAns) GetShutdownLinkReason() int32

func (*SendShutDownLinkWithReasonAns) ProtoMessage

func (*SendShutDownLinkWithReasonAns) ProtoMessage()

func (*SendShutDownLinkWithReasonAns) Reset

func (m *SendShutDownLinkWithReasonAns) Reset()

func (*SendShutDownLinkWithReasonAns) String

type SendShutDownLinkWithReasonReq

type SendShutDownLinkWithReasonReq struct {
	SendTime           *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	ShutdownLinkReason int32     `protobuf:"varint,2,opt,name=ShutdownLinkReason,json=shutdownLinkReason" json:"ShutdownLinkReason,omitempty"`
	Reserved1          string    `protobuf:"bytes,3,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2          string    `protobuf:"bytes,4,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台主动断开通信链路和原因(0x07),P ->D

func (*SendShutDownLinkWithReasonReq) Descriptor

func (*SendShutDownLinkWithReasonReq) Descriptor() ([]byte, []int)

func (*SendShutDownLinkWithReasonReq) GetReserved1

func (m *SendShutDownLinkWithReasonReq) GetReserved1() string

func (*SendShutDownLinkWithReasonReq) GetReserved2

func (m *SendShutDownLinkWithReasonReq) GetReserved2() string

func (*SendShutDownLinkWithReasonReq) GetSendTime

func (m *SendShutDownLinkWithReasonReq) GetSendTime() *DateTime

func (*SendShutDownLinkWithReasonReq) GetShutdownLinkReason

func (m *SendShutDownLinkWithReasonReq) GetShutdownLinkReason() int32

func (*SendShutDownLinkWithReasonReq) ProtoMessage

func (*SendShutDownLinkWithReasonReq) ProtoMessage()

func (*SendShutDownLinkWithReasonReq) Reset

func (m *SendShutDownLinkWithReasonReq) Reset()

func (*SendShutDownLinkWithReasonReq) String

type SetChargeModAns

type SetChargeModAns struct {
	CanIndex  int32    `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	ChargeMod int32    `protobuf:"varint,2,opt,name=ChargeMod,json=chargeMod" json:"ChargeMod,omitempty"`
	Confirm   BoolEnum `protobuf:"varint,3,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
	Reserved1 string   `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string   `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设置充电模式指令.响应 0x9E D->P

func (*SetChargeModAns) Descriptor

func (*SetChargeModAns) Descriptor() ([]byte, []int)

func (*SetChargeModAns) GetCanIndex

func (m *SetChargeModAns) GetCanIndex() int32

func (*SetChargeModAns) GetChargeMod

func (m *SetChargeModAns) GetChargeMod() int32

func (*SetChargeModAns) GetConfirm

func (m *SetChargeModAns) GetConfirm() BoolEnum

func (*SetChargeModAns) GetReserved1

func (m *SetChargeModAns) GetReserved1() string

func (*SetChargeModAns) GetReserved2

func (m *SetChargeModAns) GetReserved2() string

func (*SetChargeModAns) ProtoMessage

func (*SetChargeModAns) ProtoMessage()

func (*SetChargeModAns) Reset

func (m *SetChargeModAns) Reset()

func (*SetChargeModAns) String

func (m *SetChargeModAns) String() string

type SetChargeModReq

type SetChargeModReq struct {
	CanIndex  int32  `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	ChargeMod int32  `protobuf:"varint,2,opt,name=ChargeMod,json=chargeMod" json:"ChargeMod,omitempty"`
	Reserved1 string `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设置充电模式指令.下发 0x1E P ->D

func (*SetChargeModReq) Descriptor

func (*SetChargeModReq) Descriptor() ([]byte, []int)

func (*SetChargeModReq) GetCanIndex

func (m *SetChargeModReq) GetCanIndex() int32

func (*SetChargeModReq) GetChargeMod

func (m *SetChargeModReq) GetChargeMod() int32

func (*SetChargeModReq) GetReserved1

func (m *SetChargeModReq) GetReserved1() string

func (*SetChargeModReq) GetReserved2

func (m *SetChargeModReq) GetReserved2() string

func (*SetChargeModReq) ProtoMessage

func (*SetChargeModReq) ProtoMessage()

func (*SetChargeModReq) Reset

func (m *SetChargeModReq) Reset()

func (*SetChargeModReq) String

func (m *SetChargeModReq) String() string

type SetGroupStrategyAns

type SetGroupStrategyAns struct {
	CanIndex      int32  `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	GroupStrategy int32  `protobuf:"varint,2,opt,name=GroupStrategy,json=groupStrategy" json:"GroupStrategy,omitempty"`
	Result        int32  `protobuf:"varint,3,opt,name=Result,json=result" json:"Result,omitempty"`
	Reserved1     string `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2     string `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设置群充策略指令.响应 0x9F D->P

func (*SetGroupStrategyAns) Descriptor

func (*SetGroupStrategyAns) Descriptor() ([]byte, []int)

func (*SetGroupStrategyAns) GetCanIndex

func (m *SetGroupStrategyAns) GetCanIndex() int32

func (*SetGroupStrategyAns) GetGroupStrategy

func (m *SetGroupStrategyAns) GetGroupStrategy() int32

func (*SetGroupStrategyAns) GetReserved1

func (m *SetGroupStrategyAns) GetReserved1() string

func (*SetGroupStrategyAns) GetReserved2

func (m *SetGroupStrategyAns) GetReserved2() string

func (*SetGroupStrategyAns) GetResult

func (m *SetGroupStrategyAns) GetResult() int32

func (*SetGroupStrategyAns) ProtoMessage

func (*SetGroupStrategyAns) ProtoMessage()

func (*SetGroupStrategyAns) Reset

func (m *SetGroupStrategyAns) Reset()

func (*SetGroupStrategyAns) String

func (m *SetGroupStrategyAns) String() string

type SetGroupStrategyReq

type SetGroupStrategyReq struct {
	CanIndex      int32  `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	GroupStrategy int32  `protobuf:"varint,2,opt,name=GroupStrategy,json=groupStrategy" json:"GroupStrategy,omitempty"`
	Reserved1     string `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2     string `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设置群充策略指令.下发 0x1F P->D

func (*SetGroupStrategyReq) Descriptor

func (*SetGroupStrategyReq) Descriptor() ([]byte, []int)

func (*SetGroupStrategyReq) GetCanIndex

func (m *SetGroupStrategyReq) GetCanIndex() int32

func (*SetGroupStrategyReq) GetGroupStrategy

func (m *SetGroupStrategyReq) GetGroupStrategy() int32

func (*SetGroupStrategyReq) GetReserved1

func (m *SetGroupStrategyReq) GetReserved1() string

func (*SetGroupStrategyReq) GetReserved2

func (m *SetGroupStrategyReq) GetReserved2() string

func (*SetGroupStrategyReq) ProtoMessage

func (*SetGroupStrategyReq) ProtoMessage()

func (*SetGroupStrategyReq) Reset

func (m *SetGroupStrategyReq) Reset()

func (*SetGroupStrategyReq) String

func (m *SetGroupStrategyReq) String() string

type SetGunGroupInfoReq

type SetGunGroupInfoReq struct {
	GunGroupInfo []*GunGroupType `protobuf:"bytes,1,rep,name=GunGroupInfo,json=gunGroupInfo" json:"GunGroupInfo,omitempty"`
	Reserved1    string          `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2    string          `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台下发多枪分组信息(0x45)

func (*SetGunGroupInfoReq) Descriptor

func (*SetGunGroupInfoReq) Descriptor() ([]byte, []int)

func (*SetGunGroupInfoReq) GetGunGroupInfo

func (m *SetGunGroupInfoReq) GetGunGroupInfo() []*GunGroupType

func (*SetGunGroupInfoReq) GetReserved1

func (m *SetGunGroupInfoReq) GetReserved1() string

func (*SetGunGroupInfoReq) GetReserved2

func (m *SetGunGroupInfoReq) GetReserved2() string

func (*SetGunGroupInfoReq) ProtoMessage

func (*SetGunGroupInfoReq) ProtoMessage()

func (*SetGunGroupInfoReq) Reset

func (m *SetGunGroupInfoReq) Reset()

func (*SetGunGroupInfoReq) String

func (m *SetGunGroupInfoReq) String() string

type SetOfflineLoadCtrlStrategyAns

type SetOfflineLoadCtrlStrategyAns struct {
	Confirm BoolEnum   `protobuf:"varint,1,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
	Reason  FailReason `protobuf:"varint,2,opt,name=Reason,json=reason,enum=charge.protobuf.FailReason" json:"Reason,omitempty"`
}

离网负荷约束信息下发.响应

func (*SetOfflineLoadCtrlStrategyAns) Descriptor

func (*SetOfflineLoadCtrlStrategyAns) Descriptor() ([]byte, []int)

func (*SetOfflineLoadCtrlStrategyAns) GetConfirm

func (m *SetOfflineLoadCtrlStrategyAns) GetConfirm() BoolEnum

func (*SetOfflineLoadCtrlStrategyAns) GetReason

func (*SetOfflineLoadCtrlStrategyAns) ProtoMessage

func (*SetOfflineLoadCtrlStrategyAns) ProtoMessage()

func (*SetOfflineLoadCtrlStrategyAns) Reset

func (m *SetOfflineLoadCtrlStrategyAns) Reset()

func (*SetOfflineLoadCtrlStrategyAns) String

type SetOfflineLoadCtrlStrategyReq

type SetOfflineLoadCtrlStrategyReq struct {
	Strategy []*OfflineLoadCtrlStrategy `protobuf:"bytes,1,rep,name=Strategy,json=strategy" json:"Strategy,omitempty"`
}

离网负荷约束信息下发

func (*SetOfflineLoadCtrlStrategyReq) Descriptor

func (*SetOfflineLoadCtrlStrategyReq) Descriptor() ([]byte, []int)

func (*SetOfflineLoadCtrlStrategyReq) GetStrategy

func (*SetOfflineLoadCtrlStrategyReq) ProtoMessage

func (*SetOfflineLoadCtrlStrategyReq) ProtoMessage()

func (*SetOfflineLoadCtrlStrategyReq) Reset

func (m *SetOfflineLoadCtrlStrategyReq) Reset()

func (*SetOfflineLoadCtrlStrategyReq) String

type SpecificBillAns

type SpecificBillAns struct {
	Result    BoolEnum   `protobuf:"varint,1,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	Confirmed BoolEnum   `protobuf:"varint,2,opt,name=Confirmed,json=confirmed,enum=charge.protobuf.BoolEnum" json:"Confirmed,omitempty"`
	SendTime  *DateTime  `protobuf:"bytes,3,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Reason    FailReason `protobuf:"varint,4,opt,name=Reason,json=reason,enum=charge.protobuf.FailReason" json:"Reason,omitempty"`
}

指定编号订单召唤.响应(0xC3)

func (*SpecificBillAns) Descriptor

func (*SpecificBillAns) Descriptor() ([]byte, []int)

func (*SpecificBillAns) GetConfirmed

func (m *SpecificBillAns) GetConfirmed() BoolEnum

func (*SpecificBillAns) GetReason

func (m *SpecificBillAns) GetReason() FailReason

func (*SpecificBillAns) GetResult

func (m *SpecificBillAns) GetResult() BoolEnum

func (*SpecificBillAns) GetSendTime

func (m *SpecificBillAns) GetSendTime() *DateTime

func (*SpecificBillAns) ProtoMessage

func (*SpecificBillAns) ProtoMessage()

func (*SpecificBillAns) Reset

func (m *SpecificBillAns) Reset()

func (*SpecificBillAns) String

func (m *SpecificBillAns) String() string

type SpecificBillReq

type SpecificBillReq struct {
	CanIndex  int32  `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	BillCode  string `protobuf:"bytes,2,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	Reserved1 string `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

指定编号订单召唤(0x43)

func (*SpecificBillReq) Descriptor

func (*SpecificBillReq) Descriptor() ([]byte, []int)

func (*SpecificBillReq) GetBillCode

func (m *SpecificBillReq) GetBillCode() string

func (*SpecificBillReq) GetCanIndex

func (m *SpecificBillReq) GetCanIndex() int32

func (*SpecificBillReq) GetReserved1

func (m *SpecificBillReq) GetReserved1() string

func (*SpecificBillReq) GetReserved2

func (m *SpecificBillReq) GetReserved2() string

func (*SpecificBillReq) ProtoMessage

func (*SpecificBillReq) ProtoMessage()

func (*SpecificBillReq) Reset

func (m *SpecificBillReq) Reset()

func (*SpecificBillReq) String

func (m *SpecificBillReq) String() string

type StartChargeAns

type StartChargeAns struct {
	CanIndex  int32             `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Type      ChargeRequestType `protobuf:"varint,2,opt,name=Type,json=type,enum=charge.protobuf.ChargeRequestType" json:"Type,omitempty"`
	Result    BoolEnum          `protobuf:"varint,3,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	Reason    int32             `protobuf:"varint,4,opt,name=Reason,json=reason" json:"Reason,omitempty"`
	Reserved1 string            `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string            `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备侧启动充电申请.响应(0x90)

func (*StartChargeAns) Descriptor

func (*StartChargeAns) Descriptor() ([]byte, []int)

func (*StartChargeAns) GetCanIndex

func (m *StartChargeAns) GetCanIndex() int32

func (*StartChargeAns) GetReason

func (m *StartChargeAns) GetReason() int32

func (*StartChargeAns) GetReserved1

func (m *StartChargeAns) GetReserved1() string

func (*StartChargeAns) GetReserved2

func (m *StartChargeAns) GetReserved2() string

func (*StartChargeAns) GetResult

func (m *StartChargeAns) GetResult() BoolEnum

func (*StartChargeAns) GetType

func (m *StartChargeAns) GetType() ChargeRequestType

func (*StartChargeAns) ProtoMessage

func (*StartChargeAns) ProtoMessage()

func (*StartChargeAns) Reset

func (m *StartChargeAns) Reset()

func (*StartChargeAns) String

func (m *StartChargeAns) String() string

type StartChargeCmdAns

type StartChargeCmdAns struct {
	CanIndex  int32      `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	BillCode  string     `protobuf:"bytes,2,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	Result    BoolEnum   `protobuf:"varint,3,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	Reason    FailReason `protobuf:"varint,4,opt,name=Reason,json=reason,enum=charge.protobuf.FailReason" json:"Reason,omitempty"`
	SendTime  *DateTime  `protobuf:"bytes,5,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Reserved1 string     `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string     `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台侧启动充电指令.响应(0x91)

func (*StartChargeCmdAns) Descriptor

func (*StartChargeCmdAns) Descriptor() ([]byte, []int)

func (*StartChargeCmdAns) GetBillCode

func (m *StartChargeCmdAns) GetBillCode() string

func (*StartChargeCmdAns) GetCanIndex

func (m *StartChargeCmdAns) GetCanIndex() int32

func (*StartChargeCmdAns) GetReason

func (m *StartChargeCmdAns) GetReason() FailReason

func (*StartChargeCmdAns) GetReserved1

func (m *StartChargeCmdAns) GetReserved1() string

func (*StartChargeCmdAns) GetReserved2

func (m *StartChargeCmdAns) GetReserved2() string

func (*StartChargeCmdAns) GetResult

func (m *StartChargeCmdAns) GetResult() BoolEnum

func (*StartChargeCmdAns) GetSendTime

func (m *StartChargeCmdAns) GetSendTime() *DateTime

func (*StartChargeCmdAns) ProtoMessage

func (*StartChargeCmdAns) ProtoMessage()

func (*StartChargeCmdAns) Reset

func (m *StartChargeCmdAns) Reset()

func (*StartChargeCmdAns) String

func (m *StartChargeCmdAns) String() string

type StartChargeCmdReq

type StartChargeCmdReq struct {
	CanIndex              int32                   `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Type                  StartChargeType         `protobuf:"varint,2,opt,name=Type,json=type,enum=charge.protobuf.StartChargeType" json:"Type,omitempty"`
	BillCode              string                  `protobuf:"bytes,3,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	Account               *AccountInfo            `protobuf:"bytes,4,opt,name=Account,json=account" json:"Account,omitempty"`
	CType                 CruveType               `protobuf:"varint,5,opt,name=CType,json=cType,enum=charge.protobuf.CruveType" json:"CType,omitempty"`
	Cruve                 []*ChargingStrategy     `protobuf:"bytes,6,rep,name=Cruve,json=cruve" json:"Cruve,omitempty"`
	AllowedSecond         int32                   `protobuf:"varint,7,opt,name=AllowedSecond,json=allowedSecond" json:"AllowedSecond,omitempty"`
	AllowedkWh            int32                   `protobuf:"varint,8,opt,name=AllowedkWh,json=allowedkWh" json:"AllowedkWh,omitempty"`
	AllowedRmb            int32                   `protobuf:"varint,9,opt,name=AllowedRmb,json=allowedRmb" json:"AllowedRmb,omitempty"`
	Strategy              []*AccountingStrategy   `protobuf:"bytes,10,rep,name=Strategy,json=strategy" json:"Strategy,omitempty"`
	Sequence              *QueueSequence          `protobuf:"bytes,11,opt,name=Sequence,json=sequence" json:"Sequence,omitempty"`
	Currency              int32                   `protobuf:"varint,12,opt,name=Currency,json=currency" json:"Currency,omitempty"`
	ControlWay            int32                   `protobuf:"varint,13,opt,name=ControlWay,json=controlWay" json:"ControlWay,omitempty"`
	IfBalanceCheck        BoolEnum                `` /* 126-byte string literal not displayed */
	KWhFee                *DoubleValue            `protobuf:"bytes,15,opt,name=kWhFee" json:"kWhFee,omitempty"`
	ServiceFee            *DoubleValue            `protobuf:"bytes,16,opt,name=ServiceFee,json=serviceFee" json:"ServiceFee,omitempty"`
	SumFee                *DoubleValue            `protobuf:"bytes,17,opt,name=SumFee,json=sumFee" json:"SumFee,omitempty"`
	StartWay              int32                   `protobuf:"varint,18,opt,name=StartWay,json=startWay" json:"StartWay,omitempty"`
	TimeChargeSpan        []*TimeChargeActionType `protobuf:"bytes,19,rep,name=TimeChargeSpan,json=timeChargeSpan" json:"TimeChargeSpan,omitempty"`
	DisChargeStrategy     []*AccountingStrategy   `protobuf:"bytes,20,rep,name=DisChargeStrategy,json=disChargeStrategy" json:"DisChargeStrategy,omitempty"`
	IfOfflineBalanceCheck BoolEnum                `` /* 147-byte string literal not displayed */
	MaxSumFee             *DoubleValue            `protobuf:"bytes,22,opt,name=MaxSumFee,json=maxSumFee" json:"MaxSumFee,omitempty"`
	MaxkWhFee             *DoubleValue            `protobuf:"bytes,23,opt,name=MaxkWhFee,json=maxkWhFee" json:"MaxkWhFee,omitempty"`
	MaxServiceFee         *DoubleValue            `protobuf:"bytes,24,opt,name=MaxServiceFee,json=maxServiceFee" json:"MaxServiceFee,omitempty"`
	Reserved1             string                  `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2             string                  `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
	Reserved3             string                  `protobuf:"bytes,103,opt,name=Reserved3,json=reserved3" json:"Reserved3,omitempty"`
}

平台侧启动充电指令.下发(0x11)

func (*StartChargeCmdReq) Descriptor

func (*StartChargeCmdReq) Descriptor() ([]byte, []int)

func (*StartChargeCmdReq) GetAccount

func (m *StartChargeCmdReq) GetAccount() *AccountInfo

func (*StartChargeCmdReq) GetAllowedRmb

func (m *StartChargeCmdReq) GetAllowedRmb() int32

func (*StartChargeCmdReq) GetAllowedSecond

func (m *StartChargeCmdReq) GetAllowedSecond() int32

func (*StartChargeCmdReq) GetAllowedkWh

func (m *StartChargeCmdReq) GetAllowedkWh() int32

func (*StartChargeCmdReq) GetBillCode

func (m *StartChargeCmdReq) GetBillCode() string

func (*StartChargeCmdReq) GetCType

func (m *StartChargeCmdReq) GetCType() CruveType

func (*StartChargeCmdReq) GetCanIndex

func (m *StartChargeCmdReq) GetCanIndex() int32

func (*StartChargeCmdReq) GetControlWay

func (m *StartChargeCmdReq) GetControlWay() int32

func (*StartChargeCmdReq) GetCruve

func (m *StartChargeCmdReq) GetCruve() []*ChargingStrategy

func (*StartChargeCmdReq) GetCurrency

func (m *StartChargeCmdReq) GetCurrency() int32

func (*StartChargeCmdReq) GetDisChargeStrategy

func (m *StartChargeCmdReq) GetDisChargeStrategy() []*AccountingStrategy

func (*StartChargeCmdReq) GetIfBalanceCheck

func (m *StartChargeCmdReq) GetIfBalanceCheck() BoolEnum

func (*StartChargeCmdReq) GetIfOfflineBalanceCheck

func (m *StartChargeCmdReq) GetIfOfflineBalanceCheck() BoolEnum

func (*StartChargeCmdReq) GetKWhFee

func (m *StartChargeCmdReq) GetKWhFee() *DoubleValue

func (*StartChargeCmdReq) GetMaxServiceFee

func (m *StartChargeCmdReq) GetMaxServiceFee() *DoubleValue

func (*StartChargeCmdReq) GetMaxSumFee

func (m *StartChargeCmdReq) GetMaxSumFee() *DoubleValue

func (*StartChargeCmdReq) GetMaxkWhFee

func (m *StartChargeCmdReq) GetMaxkWhFee() *DoubleValue

func (*StartChargeCmdReq) GetReserved1

func (m *StartChargeCmdReq) GetReserved1() string

func (*StartChargeCmdReq) GetReserved2

func (m *StartChargeCmdReq) GetReserved2() string

func (*StartChargeCmdReq) GetReserved3

func (m *StartChargeCmdReq) GetReserved3() string

func (*StartChargeCmdReq) GetSequence

func (m *StartChargeCmdReq) GetSequence() *QueueSequence

func (*StartChargeCmdReq) GetServiceFee

func (m *StartChargeCmdReq) GetServiceFee() *DoubleValue

func (*StartChargeCmdReq) GetStartWay

func (m *StartChargeCmdReq) GetStartWay() int32

func (*StartChargeCmdReq) GetStrategy

func (m *StartChargeCmdReq) GetStrategy() []*AccountingStrategy

func (*StartChargeCmdReq) GetSumFee

func (m *StartChargeCmdReq) GetSumFee() *DoubleValue

func (*StartChargeCmdReq) GetTimeChargeSpan

func (m *StartChargeCmdReq) GetTimeChargeSpan() []*TimeChargeActionType

func (*StartChargeCmdReq) GetType

func (m *StartChargeCmdReq) GetType() StartChargeType

func (*StartChargeCmdReq) ProtoMessage

func (*StartChargeCmdReq) ProtoMessage()

func (*StartChargeCmdReq) Reset

func (m *StartChargeCmdReq) Reset()

func (*StartChargeCmdReq) String

func (m *StartChargeCmdReq) String() string

type StartChargeReq

type StartChargeReq struct {
	CanIndex  int32             `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Type      ChargeRequestType `protobuf:"varint,2,opt,name=Type,json=type,enum=charge.protobuf.ChargeRequestType" json:"Type,omitempty"`
	SendTime  *DateTime         `protobuf:"bytes,3,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Vin       string            `protobuf:"bytes,4,opt,name=Vin,json=vin" json:"Vin,omitempty"`
	Plate     string            `protobuf:"bytes,5,opt,name=Plate,json=plate" json:"Plate,omitempty"`
	Card      *CardInfo         `protobuf:"bytes,6,opt,name=Card,json=card" json:"Card,omitempty"`
	UserCode  string            `protobuf:"bytes,7,opt,name=UserCode,json=userCode" json:"UserCode,omitempty"`
	Reserved1 string            `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string            `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
	Reserved3 string            `protobuf:"bytes,103,opt,name=Reserved3,json=reserved3" json:"Reserved3,omitempty"`
}

设备侧启动充电申请(0x10)

func (*StartChargeReq) Descriptor

func (*StartChargeReq) Descriptor() ([]byte, []int)

func (*StartChargeReq) GetCanIndex

func (m *StartChargeReq) GetCanIndex() int32

func (*StartChargeReq) GetCard

func (m *StartChargeReq) GetCard() *CardInfo

func (*StartChargeReq) GetPlate

func (m *StartChargeReq) GetPlate() string

func (*StartChargeReq) GetReserved1

func (m *StartChargeReq) GetReserved1() string

func (*StartChargeReq) GetReserved2

func (m *StartChargeReq) GetReserved2() string

func (*StartChargeReq) GetReserved3

func (m *StartChargeReq) GetReserved3() string

func (*StartChargeReq) GetSendTime

func (m *StartChargeReq) GetSendTime() *DateTime

func (*StartChargeReq) GetType

func (m *StartChargeReq) GetType() ChargeRequestType

func (*StartChargeReq) GetUserCode

func (m *StartChargeReq) GetUserCode() string

func (*StartChargeReq) GetVin

func (m *StartChargeReq) GetVin() string

func (*StartChargeReq) ProtoMessage

func (*StartChargeReq) ProtoMessage()

func (*StartChargeReq) Reset

func (m *StartChargeReq) Reset()

func (*StartChargeReq) String

func (m *StartChargeReq) String() string

type StartChargeStrategy

type StartChargeStrategy struct {
	LimitPower     float64 `protobuf:"fixed64,1,opt,name=LimitPower,json=limitPower" json:"LimitPower,omitempty"`
	LimitCurrent   float64 `protobuf:"fixed64,2,opt,name=LimitCurrent,json=limitCurrent" json:"LimitCurrent,omitempty"`
	LimitIndate    int32   `protobuf:"varint,3,opt,name=LimitIndate,json=limitIndate" json:"LimitIndate,omitempty"`
	StrategyIndate int32   `protobuf:"varint,4,opt,name=StrategyIndate,json=strategyIndate" json:"StrategyIndate,omitempty"`
}

启动充电约束负荷策略

func (*StartChargeStrategy) Descriptor

func (*StartChargeStrategy) Descriptor() ([]byte, []int)

func (*StartChargeStrategy) GetLimitCurrent

func (m *StartChargeStrategy) GetLimitCurrent() float64

func (*StartChargeStrategy) GetLimitIndate

func (m *StartChargeStrategy) GetLimitIndate() int32

func (*StartChargeStrategy) GetLimitPower

func (m *StartChargeStrategy) GetLimitPower() float64

func (*StartChargeStrategy) GetStrategyIndate

func (m *StartChargeStrategy) GetStrategyIndate() int32

func (*StartChargeStrategy) ProtoMessage

func (*StartChargeStrategy) ProtoMessage()

func (*StartChargeStrategy) Reset

func (m *StartChargeStrategy) Reset()

func (*StartChargeStrategy) String

func (m *StartChargeStrategy) String() string

type StartChargeType

type StartChargeType int32

充电类型

const (
	StartChargeType_DefaultChargeType StartChargeType = 0
	StartChargeType_ImmediatelyCharge StartChargeType = 1
	StartChargeType_SaveCharge        StartChargeType = 2
	StartChargeType_UrgentCharge      StartChargeType = 3
	StartChargeType_AllowedSecond     StartChargeType = 4
	StartChargeType_AllowedKwh        StartChargeType = 5
	StartChargeType_AllowedRMB        StartChargeType = 6
	StartChargeType_AlternateCharge   StartChargeType = 7
	StartChargeType_Discharge         StartChargeType = 8
	StartChargeType_TimingCharge      StartChargeType = 9
)

func (StartChargeType) EnumDescriptor

func (StartChargeType) EnumDescriptor() ([]byte, []int)

func (StartChargeType) String

func (x StartChargeType) String() string

type StartChargeWay

type StartChargeWay int32

启动方式

const (
	StartChargeWay_DefaultStartChargeWay StartChargeWay = 0
	StartChargeWay_ClouldStart           StartChargeWay = 1
	StartChargeWay_CardStart             StartChargeWay = 2
	StartChargeWay_VinStart              StartChargeWay = 3
	StartChargeWay_PlateStart            StartChargeWay = 4
	StartChargeWay_DefaultCustomeStart   StartChargeWay = 6
	StartChargeWay_DirectStart           StartChargeWay = 7
	StartChargeWay_APPEmergecyStart      StartChargeWay = 8
)

func (StartChargeWay) EnumDescriptor

func (StartChargeWay) EnumDescriptor() ([]byte, []int)

func (StartChargeWay) String

func (x StartChargeWay) String() string

type StateAns

type StateAns struct {
	Confirm BoolEnum `protobuf:"varint,1,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
}

状态数据召唤.响应(0xB3) 集控到前置不用该类型了,改用 通用响应(0xFE)

func (*StateAns) Descriptor

func (*StateAns) Descriptor() ([]byte, []int)

func (*StateAns) GetConfirm

func (m *StateAns) GetConfirm() BoolEnum

func (*StateAns) ProtoMessage

func (*StateAns) ProtoMessage()

func (*StateAns) Reset

func (m *StateAns) Reset()

func (*StateAns) String

func (m *StateAns) String() string

type StateNotifyAns

type StateNotifyAns struct {
	Confirm []BoolEnum `protobuf:"varint,1,rep,packed,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
}

状态数据变化通知.响应(0xB4) 集控到前置不用该类型了,改用 通用响应(0xFE)

func (*StateNotifyAns) Descriptor

func (*StateNotifyAns) Descriptor() ([]byte, []int)

func (*StateNotifyAns) GetConfirm

func (m *StateNotifyAns) GetConfirm() []BoolEnum

func (*StateNotifyAns) ProtoMessage

func (*StateNotifyAns) ProtoMessage()

func (*StateNotifyAns) Reset

func (m *StateNotifyAns) Reset()

func (*StateNotifyAns) String

func (m *StateNotifyAns) String() string

type StateNotifyReq

type StateNotifyReq struct {
	CanIndex     int32       `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	DeviceType   int32       `protobuf:"varint,2,opt,name=DeviceType,json=deviceType" json:"DeviceType,omitempty"`
	Reason       SendReason  `protobuf:"varint,3,opt,name=Reason,json=reason,enum=charge.protobuf.SendReason" json:"Reason,omitempty"`
	SendTime     *DateTime   `protobuf:"bytes,4,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Type         []StateType `protobuf:"varint,5,rep,packed,name=Type,json=type,enum=charge.protobuf.StateType" json:"Type,omitempty"`
	Value        []int32     `protobuf:"varint,6,rep,packed,name=Value,json=value" json:"Value,omitempty"`
	BillCode     string      `protobuf:"bytes,7,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	CtrlBillCode string      `protobuf:"bytes,8,opt,name=CtrlBillCode,json=ctrlBillCode" json:"CtrlBillCode,omitempty"`
	BillIdPlt    string      `protobuf:"bytes,9,opt,name=BillIdPlt,json=billIdPlt" json:"BillIdPlt,omitempty"`
	Reserved1    string      `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2    string      `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

状态数据变化通知.请求(0x34)

func (*StateNotifyReq) Descriptor

func (*StateNotifyReq) Descriptor() ([]byte, []int)

func (*StateNotifyReq) GetBillCode

func (m *StateNotifyReq) GetBillCode() string

func (*StateNotifyReq) GetBillIdPlt

func (m *StateNotifyReq) GetBillIdPlt() string

func (*StateNotifyReq) GetCanIndex

func (m *StateNotifyReq) GetCanIndex() int32

func (*StateNotifyReq) GetCtrlBillCode

func (m *StateNotifyReq) GetCtrlBillCode() string

func (*StateNotifyReq) GetDeviceType

func (m *StateNotifyReq) GetDeviceType() int32

func (*StateNotifyReq) GetReason

func (m *StateNotifyReq) GetReason() SendReason

func (*StateNotifyReq) GetReserved1

func (m *StateNotifyReq) GetReserved1() string

func (*StateNotifyReq) GetReserved2

func (m *StateNotifyReq) GetReserved2() string

func (*StateNotifyReq) GetSendTime

func (m *StateNotifyReq) GetSendTime() *DateTime

func (*StateNotifyReq) GetType

func (m *StateNotifyReq) GetType() []StateType

func (*StateNotifyReq) GetValue

func (m *StateNotifyReq) GetValue() []int32

func (*StateNotifyReq) ProtoMessage

func (*StateNotifyReq) ProtoMessage()

func (*StateNotifyReq) Reset

func (m *StateNotifyReq) Reset()

func (*StateNotifyReq) String

func (m *StateNotifyReq) String() string

type StateReq

type StateReq struct {
	CanIndex  []int32 `protobuf:"varint,1,rep,packed,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Reserved1 string  `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string  `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

状态数据召唤.请求(0x33)

func (*StateReq) Descriptor

func (*StateReq) Descriptor() ([]byte, []int)

func (*StateReq) GetCanIndex

func (m *StateReq) GetCanIndex() []int32

func (*StateReq) GetReserved1

func (m *StateReq) GetReserved1() string

func (*StateReq) GetReserved2

func (m *StateReq) GetReserved2() string

func (*StateReq) ProtoMessage

func (*StateReq) ProtoMessage()

func (*StateReq) Reset

func (m *StateReq) Reset()

func (*StateReq) String

func (m *StateReq) String() string

type StateType

type StateType int32

StateType-状态数据类型

const (
	StateType_DefaultSignalType StateType = 0
	StateType_Interface         StateType = 1
	StateType_Connect           StateType = 2
	StateType_Relay             StateType = 3
	StateType_Parking           StateType = 4
	StateType_Charger           StateType = 5
	StateType_StateTypeFault    StateType = 6
	StateType_BmsFault          StateType = 7
	StateType_Reason            StateType = 8
	StateType_Stategy           StateType = 9
	StateType_AuxType           StateType = 10
	StateType_ControlMode       StateType = 17
	StateType_GunHoming         StateType = 18
	StateType_DCModuleUsed      StateType = 19
	StateType_DCModuleFault     StateType = 20
)

func (StateType) EnumDescriptor

func (StateType) EnumDescriptor() ([]byte, []int)

func (StateType) String

func (x StateType) String() string

type StopChargeAns

type StopChargeAns struct {
	CanIndex  int32      `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	BillCode  string     `protobuf:"bytes,2,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	Result    BoolEnum   `protobuf:"varint,3,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	Reason    FailReason `protobuf:"varint,4,opt,name=Reason,json=reason,enum=charge.protobuf.FailReason" json:"Reason,omitempty"`
	Reserved1 string     `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string     `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备侧停止充电申请.响应(0x92)

func (*StopChargeAns) Descriptor

func (*StopChargeAns) Descriptor() ([]byte, []int)

func (*StopChargeAns) GetBillCode

func (m *StopChargeAns) GetBillCode() string

func (*StopChargeAns) GetCanIndex

func (m *StopChargeAns) GetCanIndex() int32

func (*StopChargeAns) GetReason

func (m *StopChargeAns) GetReason() FailReason

func (*StopChargeAns) GetReserved1

func (m *StopChargeAns) GetReserved1() string

func (*StopChargeAns) GetReserved2

func (m *StopChargeAns) GetReserved2() string

func (*StopChargeAns) GetResult

func (m *StopChargeAns) GetResult() BoolEnum

func (*StopChargeAns) ProtoMessage

func (*StopChargeAns) ProtoMessage()

func (*StopChargeAns) Reset

func (m *StopChargeAns) Reset()

func (*StopChargeAns) String

func (m *StopChargeAns) String() string

type StopChargeCmdAns

type StopChargeCmdAns struct {
	CanIndex  int32      `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	BillCode  string     `protobuf:"bytes,2,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	Result    BoolEnum   `protobuf:"varint,3,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	Reason    FailReason `protobuf:"varint,4,opt,name=Reason,json=reason,enum=charge.protobuf.FailReason" json:"Reason,omitempty"`
	SendTime  *DateTime  `protobuf:"bytes,5,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Reserved1 string     `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string     `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台侧停止充电指令.响应(0x93)

func (*StopChargeCmdAns) Descriptor

func (*StopChargeCmdAns) Descriptor() ([]byte, []int)

func (*StopChargeCmdAns) GetBillCode

func (m *StopChargeCmdAns) GetBillCode() string

func (*StopChargeCmdAns) GetCanIndex

func (m *StopChargeCmdAns) GetCanIndex() int32

func (*StopChargeCmdAns) GetReason

func (m *StopChargeCmdAns) GetReason() FailReason

func (*StopChargeCmdAns) GetReserved1

func (m *StopChargeCmdAns) GetReserved1() string

func (*StopChargeCmdAns) GetReserved2

func (m *StopChargeCmdAns) GetReserved2() string

func (*StopChargeCmdAns) GetResult

func (m *StopChargeCmdAns) GetResult() BoolEnum

func (*StopChargeCmdAns) GetSendTime

func (m *StopChargeCmdAns) GetSendTime() *DateTime

func (*StopChargeCmdAns) ProtoMessage

func (*StopChargeCmdAns) ProtoMessage()

func (*StopChargeCmdAns) Reset

func (m *StopChargeCmdAns) Reset()

func (*StopChargeCmdAns) String

func (m *StopChargeCmdAns) String() string

type StopChargeCmdReq

type StopChargeCmdReq struct {
	CanIndex   int32             `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	BillCode   string            `protobuf:"bytes,2,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	StopType   ChargeRequestType `protobuf:"varint,3,opt,name=StopType,json=stopType,enum=charge.protobuf.ChargeRequestType" json:"StopType,omitempty"`
	ChargeType ChargeDischarge   `protobuf:"varint,4,opt,name=ChargeType,json=chargeType,enum=charge.protobuf.ChargeDischarge" json:"ChargeType,omitempty"`
	Vin        string            `protobuf:"bytes,5,opt,name=Vin,json=vin" json:"Vin,omitempty"`
	Plate      string            `protobuf:"bytes,6,opt,name=Plate,json=plate" json:"Plate,omitempty"`
	Card       *CardInfo         `protobuf:"bytes,7,opt,name=Card,json=card" json:"Card,omitempty"`
	UserCode   string            `protobuf:"bytes,8,opt,name=UserCode,json=userCode" json:"UserCode,omitempty"`
	StopReason int32             `protobuf:"varint,9,opt,name=StopReason,json=stopReason" json:"StopReason,omitempty"`
	Reserved1  string            `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2  string            `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台侧停止充电指令(0x13)

func (*StopChargeCmdReq) Descriptor

func (*StopChargeCmdReq) Descriptor() ([]byte, []int)

func (*StopChargeCmdReq) GetBillCode

func (m *StopChargeCmdReq) GetBillCode() string

func (*StopChargeCmdReq) GetCanIndex

func (m *StopChargeCmdReq) GetCanIndex() int32

func (*StopChargeCmdReq) GetCard

func (m *StopChargeCmdReq) GetCard() *CardInfo

func (*StopChargeCmdReq) GetChargeType

func (m *StopChargeCmdReq) GetChargeType() ChargeDischarge

func (*StopChargeCmdReq) GetPlate

func (m *StopChargeCmdReq) GetPlate() string

func (*StopChargeCmdReq) GetReserved1

func (m *StopChargeCmdReq) GetReserved1() string

func (*StopChargeCmdReq) GetReserved2

func (m *StopChargeCmdReq) GetReserved2() string

func (*StopChargeCmdReq) GetStopReason

func (m *StopChargeCmdReq) GetStopReason() int32

func (*StopChargeCmdReq) GetStopType

func (m *StopChargeCmdReq) GetStopType() ChargeRequestType

func (*StopChargeCmdReq) GetUserCode

func (m *StopChargeCmdReq) GetUserCode() string

func (*StopChargeCmdReq) GetVin

func (m *StopChargeCmdReq) GetVin() string

func (*StopChargeCmdReq) ProtoMessage

func (*StopChargeCmdReq) ProtoMessage()

func (*StopChargeCmdReq) Reset

func (m *StopChargeCmdReq) Reset()

func (*StopChargeCmdReq) String

func (m *StopChargeCmdReq) String() string

type StopChargeReq

type StopChargeReq struct {
	CanIndex   int32             `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	BillCode   string            `protobuf:"bytes,2,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	StopType   ChargeRequestType `protobuf:"varint,3,opt,name=StopType,json=stopType,enum=charge.protobuf.ChargeRequestType" json:"StopType,omitempty"`
	ChargeType ChargeDischarge   `protobuf:"varint,4,opt,name=ChargeType,json=chargeType,enum=charge.protobuf.ChargeDischarge" json:"ChargeType,omitempty"`
	SendTime   *DateTime         `protobuf:"bytes,5,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Vin        string            `protobuf:"bytes,6,opt,name=Vin,json=vin" json:"Vin,omitempty"`
	Plate      string            `protobuf:"bytes,7,opt,name=Plate,json=plate" json:"Plate,omitempty"`
	Card       *CardInfo         `protobuf:"bytes,8,opt,name=Card,json=card" json:"Card,omitempty"`
	UserCode   string            `protobuf:"bytes,9,opt,name=UserCode,json=userCode" json:"UserCode,omitempty"`
	Reserved1  string            `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2  string            `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备侧停止充电申请.请求(0x12)

func (*StopChargeReq) Descriptor

func (*StopChargeReq) Descriptor() ([]byte, []int)

func (*StopChargeReq) GetBillCode

func (m *StopChargeReq) GetBillCode() string

func (*StopChargeReq) GetCanIndex

func (m *StopChargeReq) GetCanIndex() int32

func (*StopChargeReq) GetCard

func (m *StopChargeReq) GetCard() *CardInfo

func (*StopChargeReq) GetChargeType

func (m *StopChargeReq) GetChargeType() ChargeDischarge

func (*StopChargeReq) GetPlate

func (m *StopChargeReq) GetPlate() string

func (*StopChargeReq) GetReserved1

func (m *StopChargeReq) GetReserved1() string

func (*StopChargeReq) GetReserved2

func (m *StopChargeReq) GetReserved2() string

func (*StopChargeReq) GetSendTime

func (m *StopChargeReq) GetSendTime() *DateTime

func (*StopChargeReq) GetStopType

func (m *StopChargeReq) GetStopType() ChargeRequestType

func (*StopChargeReq) GetUserCode

func (m *StopChargeReq) GetUserCode() string

func (*StopChargeReq) GetVin

func (m *StopChargeReq) GetVin() string

func (*StopChargeReq) ProtoMessage

func (*StopChargeReq) ProtoMessage()

func (*StopChargeReq) Reset

func (m *StopChargeReq) Reset()

func (*StopChargeReq) String

func (m *StopChargeReq) String() string

type SuspendChargeAns

type SuspendChargeAns struct {
	CanIndex  int32      `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	BillCode  string     `protobuf:"bytes,2,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	Result    BoolEnum   `protobuf:"varint,3,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	Reason    FailReason `protobuf:"varint,4,opt,name=Reason,json=reason,enum=charge.protobuf.FailReason" json:"Reason,omitempty"`
	SendTime  *DateTime  `protobuf:"bytes,5,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Reserved1 string     `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string     `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台侧暂停充电指令.响应(0x95)

func (*SuspendChargeAns) Descriptor

func (*SuspendChargeAns) Descriptor() ([]byte, []int)

func (*SuspendChargeAns) GetBillCode

func (m *SuspendChargeAns) GetBillCode() string

func (*SuspendChargeAns) GetCanIndex

func (m *SuspendChargeAns) GetCanIndex() int32

func (*SuspendChargeAns) GetReason

func (m *SuspendChargeAns) GetReason() FailReason

func (*SuspendChargeAns) GetReserved1

func (m *SuspendChargeAns) GetReserved1() string

func (*SuspendChargeAns) GetReserved2

func (m *SuspendChargeAns) GetReserved2() string

func (*SuspendChargeAns) GetResult

func (m *SuspendChargeAns) GetResult() BoolEnum

func (*SuspendChargeAns) GetSendTime

func (m *SuspendChargeAns) GetSendTime() *DateTime

func (*SuspendChargeAns) ProtoMessage

func (*SuspendChargeAns) ProtoMessage()

func (*SuspendChargeAns) Reset

func (m *SuspendChargeAns) Reset()

func (*SuspendChargeAns) String

func (m *SuspendChargeAns) String() string

type SuspendChargeReq

type SuspendChargeReq struct {
	CanIndex  int32  `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	BillCode  string `protobuf:"bytes,2,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	Reserved1 string `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台侧暂停充电指令.下发(0x15)

func (*SuspendChargeReq) Descriptor

func (*SuspendChargeReq) Descriptor() ([]byte, []int)

func (*SuspendChargeReq) GetBillCode

func (m *SuspendChargeReq) GetBillCode() string

func (*SuspendChargeReq) GetCanIndex

func (m *SuspendChargeReq) GetCanIndex() int32

func (*SuspendChargeReq) GetReserved1

func (m *SuspendChargeReq) GetReserved1() string

func (*SuspendChargeReq) GetReserved2

func (m *SuspendChargeReq) GetReserved2() string

func (*SuspendChargeReq) ProtoMessage

func (*SuspendChargeReq) ProtoMessage()

func (*SuspendChargeReq) Reset

func (m *SuspendChargeReq) Reset()

func (*SuspendChargeReq) String

func (m *SuspendChargeReq) String() string

type SwitchAuxPowerAns

type SwitchAuxPowerAns struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	CanIndex  int32     `protobuf:"varint,2,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Result    BoolEnum  `protobuf:"varint,3,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	Reserved1 string    `protobuf:"bytes,4,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,5,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备响应切换辅源指令(0xAC) D ->P

func (*SwitchAuxPowerAns) Descriptor

func (*SwitchAuxPowerAns) Descriptor() ([]byte, []int)

func (*SwitchAuxPowerAns) GetCanIndex

func (m *SwitchAuxPowerAns) GetCanIndex() int32

func (*SwitchAuxPowerAns) GetReserved1

func (m *SwitchAuxPowerAns) GetReserved1() string

func (*SwitchAuxPowerAns) GetReserved2

func (m *SwitchAuxPowerAns) GetReserved2() string

func (*SwitchAuxPowerAns) GetResult

func (m *SwitchAuxPowerAns) GetResult() BoolEnum

func (*SwitchAuxPowerAns) GetSendTime

func (m *SwitchAuxPowerAns) GetSendTime() *DateTime

func (*SwitchAuxPowerAns) ProtoMessage

func (*SwitchAuxPowerAns) ProtoMessage()

func (*SwitchAuxPowerAns) Reset

func (m *SwitchAuxPowerAns) Reset()

func (*SwitchAuxPowerAns) String

func (m *SwitchAuxPowerAns) String() string

type SwitchAuxPowerReq

type SwitchAuxPowerReq struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	CanIndex  int32     `protobuf:"varint,2,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	AuxType   int32     `protobuf:"varint,3,opt,name=AuxType,json=auxType" json:"AuxType,omitempty"`
	Reserved1 string    `protobuf:"bytes,4,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,5,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

平台下发切换辅源指令(0x2C),P ->D

func (*SwitchAuxPowerReq) Descriptor

func (*SwitchAuxPowerReq) Descriptor() ([]byte, []int)

func (*SwitchAuxPowerReq) GetAuxType

func (m *SwitchAuxPowerReq) GetAuxType() int32

func (*SwitchAuxPowerReq) GetCanIndex

func (m *SwitchAuxPowerReq) GetCanIndex() int32

func (*SwitchAuxPowerReq) GetReserved1

func (m *SwitchAuxPowerReq) GetReserved1() string

func (*SwitchAuxPowerReq) GetReserved2

func (m *SwitchAuxPowerReq) GetReserved2() string

func (*SwitchAuxPowerReq) GetSendTime

func (m *SwitchAuxPowerReq) GetSendTime() *DateTime

func (*SwitchAuxPowerReq) ProtoMessage

func (*SwitchAuxPowerReq) ProtoMessage()

func (*SwitchAuxPowerReq) Reset

func (m *SwitchAuxPowerReq) Reset()

func (*SwitchAuxPowerReq) String

func (m *SwitchAuxPowerReq) String() string

type SyncAccountType

type SyncAccountType int32

同步账户类型

const (
	SyncAccountType_DefaultSyncAccountType SyncAccountType = 0
	SyncAccountType_CustomerCard           SyncAccountType = 1
	SyncAccountType_Car                    SyncAccountType = 2
)

func (SyncAccountType) EnumDescriptor

func (SyncAccountType) EnumDescriptor() ([]byte, []int)

func (SyncAccountType) String

func (x SyncAccountType) String() string

type TelemetryAns

type TelemetryAns struct {
	Confirm BoolEnum `protobuf:"varint,1,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
}

遥测数据召唤.响应(0xB1) 集控到前置不用该类型了,改用 通用响应(0xFE)

func (*TelemetryAns) Descriptor

func (*TelemetryAns) Descriptor() ([]byte, []int)

func (*TelemetryAns) GetConfirm

func (m *TelemetryAns) GetConfirm() BoolEnum

func (*TelemetryAns) ProtoMessage

func (*TelemetryAns) ProtoMessage()

func (*TelemetryAns) Reset

func (m *TelemetryAns) Reset()

func (*TelemetryAns) String

func (m *TelemetryAns) String() string

type TelemetryNotifyAns

type TelemetryNotifyAns struct {
	Confirm []BoolEnum `protobuf:"varint,1,rep,packed,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
}

遥测数据变化通知.响应(0xB2) 集控到前置不用该类型了,改用 通用响应(0xFE)

func (*TelemetryNotifyAns) Descriptor

func (*TelemetryNotifyAns) Descriptor() ([]byte, []int)

func (*TelemetryNotifyAns) GetConfirm

func (m *TelemetryNotifyAns) GetConfirm() []BoolEnum

func (*TelemetryNotifyAns) ProtoMessage

func (*TelemetryNotifyAns) ProtoMessage()

func (*TelemetryNotifyAns) Reset

func (m *TelemetryNotifyAns) Reset()

func (*TelemetryNotifyAns) String

func (m *TelemetryNotifyAns) String() string

type TelemetryNotifyReq

type TelemetryNotifyReq struct {
	CanIndex     int32         `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	DeviceType   int32         `protobuf:"varint,2,opt,name=DeviceType,json=deviceType" json:"DeviceType,omitempty"`
	Reason       SendReason    `protobuf:"varint,3,opt,name=Reason,json=reason,enum=charge.protobuf.SendReason" json:"Reason,omitempty"`
	SendTime     *DateTime     `protobuf:"bytes,4,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Type         []MeasureType `protobuf:"varint,5,rep,packed,name=Type,json=type,enum=charge.protobuf.MeasureType" json:"Type,omitempty"`
	Value        []float64     `protobuf:"fixed64,6,rep,packed,name=Value,json=value" json:"Value,omitempty"`
	BillCode     string        `protobuf:"bytes,7,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	CtrlBillCode string        `protobuf:"bytes,8,opt,name=CtrlBillCode,json=ctrlBillCode" json:"CtrlBillCode,omitempty"`
	BillIdPlt    string        `protobuf:"bytes,9,opt,name=BillIdPlt,json=billIdPlt" json:"BillIdPlt,omitempty"`
	Reserved1    string        `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2    string        `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

遥测数据通知.请求(0x32)

func (*TelemetryNotifyReq) Descriptor

func (*TelemetryNotifyReq) Descriptor() ([]byte, []int)

func (*TelemetryNotifyReq) GetBillCode

func (m *TelemetryNotifyReq) GetBillCode() string

func (*TelemetryNotifyReq) GetBillIdPlt

func (m *TelemetryNotifyReq) GetBillIdPlt() string

func (*TelemetryNotifyReq) GetCanIndex

func (m *TelemetryNotifyReq) GetCanIndex() int32

func (*TelemetryNotifyReq) GetCtrlBillCode

func (m *TelemetryNotifyReq) GetCtrlBillCode() string

func (*TelemetryNotifyReq) GetDeviceType

func (m *TelemetryNotifyReq) GetDeviceType() int32

func (*TelemetryNotifyReq) GetReason

func (m *TelemetryNotifyReq) GetReason() SendReason

func (*TelemetryNotifyReq) GetReserved1

func (m *TelemetryNotifyReq) GetReserved1() string

func (*TelemetryNotifyReq) GetReserved2

func (m *TelemetryNotifyReq) GetReserved2() string

func (*TelemetryNotifyReq) GetSendTime

func (m *TelemetryNotifyReq) GetSendTime() *DateTime

func (*TelemetryNotifyReq) GetType

func (m *TelemetryNotifyReq) GetType() []MeasureType

func (*TelemetryNotifyReq) GetValue

func (m *TelemetryNotifyReq) GetValue() []float64

func (*TelemetryNotifyReq) ProtoMessage

func (*TelemetryNotifyReq) ProtoMessage()

func (*TelemetryNotifyReq) Reset

func (m *TelemetryNotifyReq) Reset()

func (*TelemetryNotifyReq) String

func (m *TelemetryNotifyReq) String() string

type TelemetryReq

type TelemetryReq struct {
	CanIndex  []int32 `protobuf:"varint,1,rep,packed,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Reserved1 string  `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string  `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

遥测数据召唤.请求(0x31)

func (*TelemetryReq) Descriptor

func (*TelemetryReq) Descriptor() ([]byte, []int)

func (*TelemetryReq) GetCanIndex

func (m *TelemetryReq) GetCanIndex() []int32

func (*TelemetryReq) GetReserved1

func (m *TelemetryReq) GetReserved1() string

func (*TelemetryReq) GetReserved2

func (m *TelemetryReq) GetReserved2() string

func (*TelemetryReq) ProtoMessage

func (*TelemetryReq) ProtoMessage()

func (*TelemetryReq) Reset

func (m *TelemetryReq) Reset()

func (*TelemetryReq) String

func (m *TelemetryReq) String() string

type TimeChargeActionType

type TimeChargeActionType struct {
	Hour       int32 `protobuf:"varint,1,opt,name=Hour,json=hour" json:"Hour,omitempty"`
	Minute     int32 `protobuf:"varint,2,opt,name=Minute,json=minute" json:"Minute,omitempty"`
	ActionType int32 `protobuf:"varint,3,opt,name=ActionType,json=actionType" json:"ActionType,omitempty"`
}

充电时间区间自定义类型

func (*TimeChargeActionType) Descriptor

func (*TimeChargeActionType) Descriptor() ([]byte, []int)

func (*TimeChargeActionType) GetActionType

func (m *TimeChargeActionType) GetActionType() int32

func (*TimeChargeActionType) GetHour

func (m *TimeChargeActionType) GetHour() int32

func (*TimeChargeActionType) GetMinute

func (m *TimeChargeActionType) GetMinute() int32

func (*TimeChargeActionType) ProtoMessage

func (*TimeChargeActionType) ProtoMessage()

func (*TimeChargeActionType) Reset

func (m *TimeChargeActionType) Reset()

func (*TimeChargeActionType) String

func (m *TimeChargeActionType) String() string

type TurnToEmergencyCmdAns

type TurnToEmergencyCmdAns struct {
	Confirm   BoolEnum `protobuf:"varint,1,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
	SetFlag   int32    `protobuf:"varint,2,opt,name=SetFlag,json=setFlag" json:"SetFlag,omitempty"`
	Reserved1 string   `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string   `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
	Reserved3 string   `protobuf:"bytes,103,opt,name=Reserved3,json=reserved3" json:"Reserved3,omitempty"`
}

平台要求集控主动转为本地应急充电指令.响应 0xC7

func (*TurnToEmergencyCmdAns) Descriptor

func (*TurnToEmergencyCmdAns) Descriptor() ([]byte, []int)

func (*TurnToEmergencyCmdAns) GetConfirm

func (m *TurnToEmergencyCmdAns) GetConfirm() BoolEnum

func (*TurnToEmergencyCmdAns) GetReserved1

func (m *TurnToEmergencyCmdAns) GetReserved1() string

func (*TurnToEmergencyCmdAns) GetReserved2

func (m *TurnToEmergencyCmdAns) GetReserved2() string

func (*TurnToEmergencyCmdAns) GetReserved3

func (m *TurnToEmergencyCmdAns) GetReserved3() string

func (*TurnToEmergencyCmdAns) GetSetFlag

func (m *TurnToEmergencyCmdAns) GetSetFlag() int32

func (*TurnToEmergencyCmdAns) ProtoMessage

func (*TurnToEmergencyCmdAns) ProtoMessage()

func (*TurnToEmergencyCmdAns) Reset

func (m *TurnToEmergencyCmdAns) Reset()

func (*TurnToEmergencyCmdAns) String

func (m *TurnToEmergencyCmdAns) String() string

type TurnToEmergencyCmdReq

type TurnToEmergencyCmdReq struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	SetFlag   int32     `protobuf:"varint,2,opt,name=SetFlag,json=setFlag" json:"SetFlag,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
	Reserved3 string    `protobuf:"bytes,103,opt,name=Reserved3,json=reserved3" json:"Reserved3,omitempty"`
}

平台要求集控主动转为本地应急充电指令.下发 0x47

func (*TurnToEmergencyCmdReq) Descriptor

func (*TurnToEmergencyCmdReq) Descriptor() ([]byte, []int)

func (*TurnToEmergencyCmdReq) GetReserved1

func (m *TurnToEmergencyCmdReq) GetReserved1() string

func (*TurnToEmergencyCmdReq) GetReserved2

func (m *TurnToEmergencyCmdReq) GetReserved2() string

func (*TurnToEmergencyCmdReq) GetReserved3

func (m *TurnToEmergencyCmdReq) GetReserved3() string

func (*TurnToEmergencyCmdReq) GetSendTime

func (m *TurnToEmergencyCmdReq) GetSendTime() *DateTime

func (*TurnToEmergencyCmdReq) GetSetFlag

func (m *TurnToEmergencyCmdReq) GetSetFlag() int32

func (*TurnToEmergencyCmdReq) ProtoMessage

func (*TurnToEmergencyCmdReq) ProtoMessage()

func (*TurnToEmergencyCmdReq) Reset

func (m *TurnToEmergencyCmdReq) Reset()

func (*TurnToEmergencyCmdReq) String

func (m *TurnToEmergencyCmdReq) String() string

type V2GCurve

type V2GCurve struct {
	BeginTime *DateTime    `protobuf:"bytes,1,opt,name=BeginTime,json=beginTime" json:"BeginTime,omitempty"`
	EndTime   *DateTime    `protobuf:"bytes,2,opt,name=EndTime,json=endTime" json:"EndTime,omitempty"`
	State     int32        `protobuf:"varint,3,opt,name=State,json=state" json:"State,omitempty"`
	P         *DoubleValue `protobuf:"bytes,4,opt,name=P,json=p" json:"P,omitempty"`
}

V2GCurve-V2G计划曲线信息

func (*V2GCurve) Descriptor

func (*V2GCurve) Descriptor() ([]byte, []int)

func (*V2GCurve) GetBeginTime

func (m *V2GCurve) GetBeginTime() *DateTime

func (*V2GCurve) GetEndTime

func (m *V2GCurve) GetEndTime() *DateTime

func (*V2GCurve) GetP

func (m *V2GCurve) GetP() *DoubleValue

func (*V2GCurve) GetState

func (m *V2GCurve) GetState() int32

func (*V2GCurve) ProtoMessage

func (*V2GCurve) ProtoMessage()

func (*V2GCurve) Reset

func (m *V2GCurve) Reset()

func (*V2GCurve) String

func (m *V2GCurve) String() string

type V2GCurveCancelReason

type V2GCurveCancelReason int32

V2G曲线取消原因

const (
	V2GCurveCancelReason_DefaultV2GCurveCancelReason V2GCurveCancelReason = 0
	V2GCurveCancelReason_ExpectIncomeLow             V2GCurveCancelReason = 1
)

func (V2GCurveCancelReason) EnumDescriptor

func (V2GCurveCancelReason) EnumDescriptor() ([]byte, []int)

func (V2GCurveCancelReason) String

func (x V2GCurveCancelReason) String() string

type V2GCurveGenerateFailReason

type V2GCurveGenerateFailReason int32

V2G曲线生成失败原因

const (
	V2GCurveGenerateFailReason_DefaultV2GCurveGenerateFailReason V2GCurveGenerateFailReason = 0
	V2GCurveGenerateFailReason_IllegalConditions                 V2GCurveGenerateFailReason = 1
	V2GCurveGenerateFailReason_UnabelMeeetDemand                 V2GCurveGenerateFailReason = 2
	V2GCurveGenerateFailReason_UnrecognizedGun                   V2GCurveGenerateFailReason = 3
	V2GCurveGenerateFailReason_MissingCarInitInfo                V2GCurveGenerateFailReason = 4
)

func (V2GCurveGenerateFailReason) EnumDescriptor

func (V2GCurveGenerateFailReason) EnumDescriptor() ([]byte, []int)

func (V2GCurveGenerateFailReason) String

type V2GCurveResultAns

type V2GCurveResultAns struct {
	CanIndex  int32                 `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Type      StartChargeType       `protobuf:"varint,2,opt,name=Type,json=type,enum=charge.protobuf.StartChargeType" json:"Type,omitempty"`
	BillCode  string                `protobuf:"bytes,3,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	Result    BoolEnum              `protobuf:"varint,4,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	Reason    V2GCurveSetFailReason `protobuf:"varint,5,opt,name=Reason,json=reason,enum=charge.protobuf.V2GCurveSetFailReason" json:"Reason,omitempty"`
	SendTime  *DateTime             `protobuf:"bytes,6,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Reserved1 string                `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string                `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

V2G计划曲线确认结果响应.上传(0xF2),D-> P

func (*V2GCurveResultAns) Descriptor

func (*V2GCurveResultAns) Descriptor() ([]byte, []int)

func (*V2GCurveResultAns) GetBillCode

func (m *V2GCurveResultAns) GetBillCode() string

func (*V2GCurveResultAns) GetCanIndex

func (m *V2GCurveResultAns) GetCanIndex() int32

func (*V2GCurveResultAns) GetReason

func (*V2GCurveResultAns) GetReserved1

func (m *V2GCurveResultAns) GetReserved1() string

func (*V2GCurveResultAns) GetReserved2

func (m *V2GCurveResultAns) GetReserved2() string

func (*V2GCurveResultAns) GetResult

func (m *V2GCurveResultAns) GetResult() BoolEnum

func (*V2GCurveResultAns) GetSendTime

func (m *V2GCurveResultAns) GetSendTime() *DateTime

func (*V2GCurveResultAns) GetType

func (m *V2GCurveResultAns) GetType() StartChargeType

func (*V2GCurveResultAns) ProtoMessage

func (*V2GCurveResultAns) ProtoMessage()

func (*V2GCurveResultAns) Reset

func (m *V2GCurveResultAns) Reset()

func (*V2GCurveResultAns) String

func (m *V2GCurveResultAns) String() string

type V2GCurveResultReq

type V2GCurveResultReq struct {
	CanIndex  int32                `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	Type      StartChargeType      `protobuf:"varint,2,opt,name=Type,json=type,enum=charge.protobuf.StartChargeType" json:"Type,omitempty"`
	BillCode  string               `protobuf:"bytes,3,opt,name=BillCode,json=billCode" json:"BillCode,omitempty"`
	Result    BoolEnum             `protobuf:"varint,4,opt,name=Result,json=result,enum=charge.protobuf.BoolEnum" json:"Result,omitempty"`
	Reason    V2GCurveCancelReason `protobuf:"varint,5,opt,name=Reason,json=reason,enum=charge.protobuf.V2GCurveCancelReason" json:"Reason,omitempty"`
	Reserved1 string               `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string               `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

V2G计划曲线确认结果.下发(0x72),P -> D

func (*V2GCurveResultReq) Descriptor

func (*V2GCurveResultReq) Descriptor() ([]byte, []int)

func (*V2GCurveResultReq) GetBillCode

func (m *V2GCurveResultReq) GetBillCode() string

func (*V2GCurveResultReq) GetCanIndex

func (m *V2GCurveResultReq) GetCanIndex() int32

func (*V2GCurveResultReq) GetReason

func (m *V2GCurveResultReq) GetReason() V2GCurveCancelReason

func (*V2GCurveResultReq) GetReserved1

func (m *V2GCurveResultReq) GetReserved1() string

func (*V2GCurveResultReq) GetReserved2

func (m *V2GCurveResultReq) GetReserved2() string

func (*V2GCurveResultReq) GetResult

func (m *V2GCurveResultReq) GetResult() BoolEnum

func (*V2GCurveResultReq) GetType

func (m *V2GCurveResultReq) GetType() StartChargeType

func (*V2GCurveResultReq) ProtoMessage

func (*V2GCurveResultReq) ProtoMessage()

func (*V2GCurveResultReq) Reset

func (m *V2GCurveResultReq) Reset()

func (*V2GCurveResultReq) String

func (m *V2GCurveResultReq) String() string

type V2GCurveSetFailReason

type V2GCurveSetFailReason int32

V2G曲线设置失败原因

const (
	V2GCurveSetFailReason_DefaulV2GCurveSetFailReason V2GCurveSetFailReason = 0
	V2GCurveSetFailReason_CurveSettingException       V2GCurveSetFailReason = 1
	V2GCurveSetFailReason_MGCFault                    V2GCurveSetFailReason = 2
	V2GCurveSetFailReason_UnrecognizedChargeGun       V2GCurveSetFailReason = 3
	V2GCurveSetFailReason_MissingV2GCurve             V2GCurveSetFailReason = 4
)

func (V2GCurveSetFailReason) EnumDescriptor

func (V2GCurveSetFailReason) EnumDescriptor() ([]byte, []int)

func (V2GCurveSetFailReason) String

func (x V2GCurveSetFailReason) String() string

type VinPlateNotiftAns

type VinPlateNotiftAns struct {
	SendTime  *DateTime `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	CanIndex  int32     `protobuf:"varint,2,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	DataType  int32     `protobuf:"varint,3,opt,name=DataType,json=dataType" json:"DataType,omitempty"`
	Value     string    `protobuf:"bytes,4,opt,name=Value,json=value" json:"Value,omitempty"`
	Confirm   BoolEnum  `protobuf:"varint,5,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
	Reserved1 string    `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string    `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备侧上报VIN/车牌号.响应(0xA8),P ->D

func (*VinPlateNotiftAns) Descriptor

func (*VinPlateNotiftAns) Descriptor() ([]byte, []int)

func (*VinPlateNotiftAns) GetCanIndex

func (m *VinPlateNotiftAns) GetCanIndex() int32

func (*VinPlateNotiftAns) GetConfirm

func (m *VinPlateNotiftAns) GetConfirm() BoolEnum

func (*VinPlateNotiftAns) GetDataType

func (m *VinPlateNotiftAns) GetDataType() int32

func (*VinPlateNotiftAns) GetReserved1

func (m *VinPlateNotiftAns) GetReserved1() string

func (*VinPlateNotiftAns) GetReserved2

func (m *VinPlateNotiftAns) GetReserved2() string

func (*VinPlateNotiftAns) GetSendTime

func (m *VinPlateNotiftAns) GetSendTime() *DateTime

func (*VinPlateNotiftAns) GetValue

func (m *VinPlateNotiftAns) GetValue() string

func (*VinPlateNotiftAns) ProtoMessage

func (*VinPlateNotiftAns) ProtoMessage()

func (*VinPlateNotiftAns) Reset

func (m *VinPlateNotiftAns) Reset()

func (*VinPlateNotiftAns) String

func (m *VinPlateNotiftAns) String() string

type VinPlateNotiftReq

type VinPlateNotiftReq struct {
	SendTime  *DateTime   `protobuf:"bytes,1,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	CanIndex  int32       `protobuf:"varint,2,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	DataType  int32       `protobuf:"varint,3,opt,name=DataType,json=dataType" json:"DataType,omitempty"`
	Value     string      `protobuf:"bytes,4,opt,name=Value,json=value" json:"Value,omitempty"`
	StartSoc  *Int32Value `protobuf:"bytes,5,opt,name=StartSoc,json=startSoc" json:"StartSoc,omitempty"`
	Reserved1 string      `protobuf:"bytes,101,opt,name=Reserved1,json=reserved1" json:"Reserved1,omitempty"`
	Reserved2 string      `protobuf:"bytes,102,opt,name=Reserved2,json=reserved2" json:"Reserved2,omitempty"`
}

设备侧上报VIN/车牌号.通知(0x28),D->P

func (*VinPlateNotiftReq) Descriptor

func (*VinPlateNotiftReq) Descriptor() ([]byte, []int)

func (*VinPlateNotiftReq) GetCanIndex

func (m *VinPlateNotiftReq) GetCanIndex() int32

func (*VinPlateNotiftReq) GetDataType

func (m *VinPlateNotiftReq) GetDataType() int32

func (*VinPlateNotiftReq) GetReserved1

func (m *VinPlateNotiftReq) GetReserved1() string

func (*VinPlateNotiftReq) GetReserved2

func (m *VinPlateNotiftReq) GetReserved2() string

func (*VinPlateNotiftReq) GetSendTime

func (m *VinPlateNotiftReq) GetSendTime() *DateTime

func (*VinPlateNotiftReq) GetStartSoc

func (m *VinPlateNotiftReq) GetStartSoc() *Int32Value

func (*VinPlateNotiftReq) GetValue

func (m *VinPlateNotiftReq) GetValue() string

func (*VinPlateNotiftReq) ProtoMessage

func (*VinPlateNotiftReq) ProtoMessage()

func (*VinPlateNotiftReq) Reset

func (m *VinPlateNotiftReq) Reset()

func (*VinPlateNotiftReq) String

func (m *VinPlateNotiftReq) String() string

type VirtualLoadCheckAns

type VirtualLoadCheckAns struct {
	CanIndex int32     `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	OperType int32     `protobuf:"varint,2,opt,name=OperType,json=operType" json:"OperType,omitempty"`
	SendTime *DateTime `protobuf:"bytes,3,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Confirm  BoolEnum  `protobuf:"varint,4,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
}

虚负荷检定.指令下发确认(0x8B)

func (*VirtualLoadCheckAns) Descriptor

func (*VirtualLoadCheckAns) Descriptor() ([]byte, []int)

func (*VirtualLoadCheckAns) GetCanIndex

func (m *VirtualLoadCheckAns) GetCanIndex() int32

func (*VirtualLoadCheckAns) GetConfirm

func (m *VirtualLoadCheckAns) GetConfirm() BoolEnum

func (*VirtualLoadCheckAns) GetOperType

func (m *VirtualLoadCheckAns) GetOperType() int32

func (*VirtualLoadCheckAns) GetSendTime

func (m *VirtualLoadCheckAns) GetSendTime() *DateTime

func (*VirtualLoadCheckAns) ProtoMessage

func (*VirtualLoadCheckAns) ProtoMessage()

func (*VirtualLoadCheckAns) Reset

func (m *VirtualLoadCheckAns) Reset()

func (*VirtualLoadCheckAns) String

func (m *VirtualLoadCheckAns) String() string

type VirtualLoadCheckReq

type VirtualLoadCheckReq struct {
	CanIndex int32     `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	OperType int32     `protobuf:"varint,2,opt,name=OperType,json=operType" json:"OperType,omitempty"`
	SendTime *DateTime `protobuf:"bytes,3,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
}

虚负荷检定.指令下发(0x0B)

func (*VirtualLoadCheckReq) Descriptor

func (*VirtualLoadCheckReq) Descriptor() ([]byte, []int)

func (*VirtualLoadCheckReq) GetCanIndex

func (m *VirtualLoadCheckReq) GetCanIndex() int32

func (*VirtualLoadCheckReq) GetOperType

func (m *VirtualLoadCheckReq) GetOperType() int32

func (*VirtualLoadCheckReq) GetSendTime

func (m *VirtualLoadCheckReq) GetSendTime() *DateTime

func (*VirtualLoadCheckReq) ProtoMessage

func (*VirtualLoadCheckReq) ProtoMessage()

func (*VirtualLoadCheckReq) Reset

func (m *VirtualLoadCheckReq) Reset()

func (*VirtualLoadCheckReq) String

func (m *VirtualLoadCheckReq) String() string

type VirtualLoadMeterAns

type VirtualLoadMeterAns struct {
	CanIndex int32     `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	OperType int32     `protobuf:"varint,2,opt,name=OperType,json=operType" json:"OperType,omitempty"`
	SendTime *DateTime `protobuf:"bytes,3,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	Confirm  BoolEnum  `protobuf:"varint,4,opt,name=Confirm,json=confirm,enum=charge.protobuf.BoolEnum" json:"Confirm,omitempty"`
}

虚负荷电量上送确认(0x8D)

func (*VirtualLoadMeterAns) Descriptor

func (*VirtualLoadMeterAns) Descriptor() ([]byte, []int)

func (*VirtualLoadMeterAns) GetCanIndex

func (m *VirtualLoadMeterAns) GetCanIndex() int32

func (*VirtualLoadMeterAns) GetConfirm

func (m *VirtualLoadMeterAns) GetConfirm() BoolEnum

func (*VirtualLoadMeterAns) GetOperType

func (m *VirtualLoadMeterAns) GetOperType() int32

func (*VirtualLoadMeterAns) GetSendTime

func (m *VirtualLoadMeterAns) GetSendTime() *DateTime

func (*VirtualLoadMeterAns) ProtoMessage

func (*VirtualLoadMeterAns) ProtoMessage()

func (*VirtualLoadMeterAns) Reset

func (m *VirtualLoadMeterAns) Reset()

func (*VirtualLoadMeterAns) String

func (m *VirtualLoadMeterAns) String() string

type VirtualLoadMeterReq

type VirtualLoadMeterReq struct {
	CanIndex   int32        `protobuf:"varint,1,opt,name=CanIndex,json=canIndex" json:"CanIndex,omitempty"`
	OperType   int32        `protobuf:"varint,2,opt,name=OperType,json=operType" json:"OperType,omitempty"`
	SendTime   *DateTime    `protobuf:"bytes,3,opt,name=SendTime,json=sendTime" json:"SendTime,omitempty"`
	VirtualKwh *DoubleValue `protobuf:"bytes,4,opt,name=VirtualKwh,json=virtualKwh" json:"VirtualKwh,omitempty"`
}

虚负荷电量上送(0x0D)

func (*VirtualLoadMeterReq) Descriptor

func (*VirtualLoadMeterReq) Descriptor() ([]byte, []int)

func (*VirtualLoadMeterReq) GetCanIndex

func (m *VirtualLoadMeterReq) GetCanIndex() int32

func (*VirtualLoadMeterReq) GetOperType

func (m *VirtualLoadMeterReq) GetOperType() int32

func (*VirtualLoadMeterReq) GetSendTime

func (m *VirtualLoadMeterReq) GetSendTime() *DateTime

func (*VirtualLoadMeterReq) GetVirtualKwh

func (m *VirtualLoadMeterReq) GetVirtualKwh() *DoubleValue

func (*VirtualLoadMeterReq) ProtoMessage

func (*VirtualLoadMeterReq) ProtoMessage()

func (*VirtualLoadMeterReq) Reset

func (m *VirtualLoadMeterReq) Reset()

func (*VirtualLoadMeterReq) String

func (m *VirtualLoadMeterReq) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL