1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- package model
- const (
- RepeatedPrompts = "编码不能重复,请重新填写!"
- GatewayHasRelation = "该网关存在关联设备,请先移除设备!"
- RepeatedName = "列表中存在重名,请更改灯杆分组名称!"
- ZigbeeSelect = "集中器(ZigBee)选取异常!"
- ControlNONull = "编号不能为空!!"
- ControlNOInvalid = "编号不符合规则,最小值为1-1,最大值为255-255!"
- EnableInvalid = "启用禁用参数错误"
- ParamsInvalid = "非法参数!"
- )
- const (
- ControlType_Default = iota // 灯控
- ControlType_NBIoT //NB-IoT
- ControlType_485 //485灯控
- ControlType_ZigBee //ZigBee
- ControlType_ZigBeeHL //ZigBeeHL
- )
- const (
- Enable_Enable = 1 // 启用
- Enable_Disable = 2 //停用
- )
- const (
- CameraType_Ball = 1 //球机
- CameraType_Gun = 2 //枪机
- CameraType_Ball_Name = "球机"
- CameraType_Gun_Name = "枪机"
- )
- type AlarmTerminal struct {
- }
- type CaptureUnit struct {
- }
- type Gateway struct {
- }
- type IpBroadcast struct {
- }
- type LightControl struct {
- }
- type Sensor struct {
- }
- type Zigbee struct {
- }
- type OptoSensor struct {
- }
- type Camera struct {
- }
- type SwitchBox struct {
- }
- type InfoBoard struct {
- }
|