Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ModelMap = map[Model]struct{}{ VU4004_01: {}, VU4005_01: {}, VU40E4_00: {}, VU40E4_20: {}, VU4105_00: {}, VU4105_01: {}, VU4105_11: {}, DTVL3100_RSU: {}, DTVL3110EB_RSU: {}, DTVL3110E_RSU: {}, DTVL3110_RSU: {}, DTVL5000E_RSU: {}, DTVL5000_RSU: {}, DTVL3100_VBOX: {}, }
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
type Metadata struct { // 设备类型 Type Type `json:"type"` // 设备型号 Model Model `json:"model"` // 设备序列号 SerialNumber string `json:"serial_number"` // 模组型号 ModuleModel ModuleModel `json:"module_model"` // 模组序列号 ModuleSerialNumber string `json:"module_serial_number"` // 软件版本号 SoftwareVersion string `json:"software_version"` // 设备版本号 DeviceVersion string `json:"device_version"` // 参数版本号 PMVersion string `json:"pm_version"` }
type Model ¶
type Model string
Model 定义设备型号的数据类型
const ( // OBU型号 VU4004_01 Model = "VU4004-01" VU4005_01 Model = "VU4005-01" VU40E4_00 Model = "VU40E4-00" VU40E4_20 Model = "VU40E4-20" VU4105_00 Model = "VU4105-00" VU4105_01 Model = "VU4105-01" VU4105_11 Model = "VU4105-11" // RSU 型号 DTVL3100_RSU Model = "DTVL3100-RSU" DTVL3110_RSU Model = "DTVL3110-RSU" DTVL3110E_RSU Model = "DTVL3110E-RSU" DTVL3110EB_RSU Model = "DTVL3110EB-RSU" DTVL5000_RSU Model = "DTVL5000-RSU" DTVL5000E_RSU Model = "DTVL5000E-RSU" // VBOX 型号 DTVL3100_VBOX Model = "DTVL3100-VBOX" )
type ModuleModel ¶
type ModuleModel string
ModuleModel 定义模组型号的数据类型
const ( MODULE_MODEL_DMD31 ModuleModel = "DMD31" MODULE_MODEL_DMD3A ModuleModel = "DMD3A" MODULE_MODEL_UNDEFINED ModuleModel = "UNDEFINED" )
Click to show internal directories.
Click to hide internal directories.