This commit is contained in:
suyl
2021-07-20 17:29:35 +08:00
parent 0cb262dace
commit 807f16107a
2 changed files with 3 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ const (
printerStatusOnlineWithoutPaper = 2 //在线缺纸
printerStatusOnline = 1 //在线
printerStatusOffline = -1 //离线
printerStatusOverFlow = -2 //流量超了
)
//标签

View File

@@ -19,7 +19,8 @@ type Printer struct {
Name string `json:"name"` //打印机备注名
Status int `json:"status"` //打印机状态
IsOnline int `json:"is_online"` //1在线0离线
SIM string `orm:"column(sim)" json:"sim"` //sim卡号
IccID string `orm:"column(icc_id)" json:"iccid"` //sim卡号
Sound string `json:"sound"` //声音类型 sounda ,b,c,d,e,f,g
Volume int `json:"volume"` //音量1-5 对应打印机2-10
FlowFlag int `json:"flowFlag"` //是否超流量了1表示超了
}