日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

MQ訂閱消息

更新時(shí)間:

通過(guò)MQ訂閱系統(tǒng)消息格式說(shuō)明。

消息定義

消息體

字段

類型

說(shuō)明

EventCatgory

String

事件分類,取值范圍:

"DEVICE":設(shè)備事件

"BIZ": 業(yè)務(wù)事件

Event

String

事件說(shuō)明:

"DEVICE_OFFLINE": 設(shè)備下線

"DEVICE_PROPERTY":設(shè)備屬性變更

"BIZ_REFRESH_DELAY":顯示延遲

"BIZ_BATTERY_LOW":缺電

"BIZ_EVENT_STATUS_CHANGE": 事件狀態(tài)變更

"BIZ_PING": 連通性測(cè)試消息

"BIZ_SEND":價(jià)簽已發(fā)送指令

"BIZ_SEND_FAILED":價(jià)簽發(fā)送指令失敗

"BIZ_DISPLAY_RETRYING":價(jià)簽顯示重試中

"BIZ_DISPLAY_TEMPO_FAILED":價(jià)簽顯示重試失敗

"BIZ_DISPLAY_SUCCESS":價(jià)簽顯示成功

"BIZ_DISPLAY_FAILED":價(jià)簽顯示失敗

EventId

String

事件唯一id

EventTime

Long

事件發(fā)生時(shí)間

Payload

JsonObject

詳見(jiàn)各消息說(shuō)明

Payload字段定義

字段

類型

說(shuō)明

Type

String

分類,取值范圍:

AP:基站

ESL:價(jià)簽

DeviceBarCode

String

設(shè)備條碼

StoreId

String

門店id

ItemBarCode

String

商品條碼

ItemId

String

自定義商品編碼

ItemTitle

String

商品title

PropertyKey

String

變更的屬性名稱

目前支持的是BatteryLevel

PropertyVal

String

變更的屬性值

BatteryLevel

String

電量值

WarningLevel

String

配置的閾值

ProcessedInfo

JsonObject

事件處理結(jié)果

ProcessedInfo字段定義

字段

類型

說(shuō)明

Staff

String

處理的員工名稱

Time

Long

處理時(shí)間

Reason

String

處理定位原因和采取的操作

Status

String

當(dāng)前狀態(tài),取值:

新建:"New"

處理中:"Processing"

已取消:"Cancel"

已完結(jié):"Close"

重新開啟:"Reopen"

消息內(nèi)容

基站離線

基站與云價(jià)簽系統(tǒng)連接中斷后觸發(fā)消息,例如:門店網(wǎng)絡(luò)故障或基站故障

{
  "EventCatgory":"DEVICE",
  "Event":"DEVICE_OFFLINE",
  "EventId":"abfhjkfsbeuyftfkhjlj",
  "EventTime":1648096954000,
  "Payload":{
    "Type":"AP",
    "DeviceBarCode":"abcdefg",
    "StoreId":"s-123456"
  }
}

價(jià)簽電量變更

云價(jià)簽電量發(fā)生變化時(shí)觸發(fā)消息

{
  "EventCatgory":"DEVICE",
  "Event":"DEVICE_PROPERTY",
  "EventId":"abfhjkfsbeuyftfkhjlj",
  "EventTime":1648096954000,
  "Payload":{
    "Type":"ESL",
    "PropertyKey":"BatteryLevel",
    "PropertyVal":"30",
    "DeviceBarCode":"abcdefg",
    "StoreId":"s-123456",
    "ItemBarCode":"1245677966",
    "ItemId":"1245677966",
    "ItemTitle":"澳洲大龍蝦"
  }
}

價(jià)簽顯示延遲

云價(jià)簽在下發(fā)商品信息后超過(guò)設(shè)定時(shí)間還未顯示成功時(shí)觸發(fā)消息

{
  "EventCatgory":"BIZ",
  "Event":"BIZ_REFRESH_DELAY",
  "EventId":"abfhjkfsbeuyftfkhjlj",
  "EventTime":1648096954000,
  "Payload":{
    "Type":"ESL",
    "DeviceBarCode":"abcdefg",
    "StoreId":"s-123456",
    "ItemBarCode":"1245677966",
    "ItemId":"1245677966",
    "ItemTitle":"澳洲大龍蝦",
    "DelayTime":30000
  }
}

價(jià)簽缺電

云價(jià)簽電量低于設(shè)定最低閾值時(shí)觸發(fā)消息

{
  "EventCatgory":"DEVICE",
  "Event":"BIZ_BATTERY_LOW",
  "EventId":"abfhjkfsbeuyftfkhjlj",
  "EventTime":1648096954000,
  "Payload":{
    "Type":"ESL",
    "DeviceBarCode":"abcdefg",
    "StoreId":"s-123456",
    "ItemBarCode":"1245677966",
    "ItemId":"1245677966",
    "ItemTitle":"澳洲大龍蝦",
    "WarningLevel":30,
    "BatteryLevel":25
  }
}

事件處理結(jié)果

通過(guò)預(yù)警規(guī)則生成的事件被處理時(shí)觸發(fā)消息

{
  "EventCatgory":"DEVICE",
  "Event":"BIZ_BATTERY_LOW",
  "EventId":"abfhjkfsbeuyftfkhjlj",
  "EventTime":1648096954000,
  "Payload":{
    "Type":"ESL",
    "DeviceBarCode":"abcdefg",
    "StoreId":"s-123456",
    "ItemBarCode":"1245677966",
    "ItemId":"1245677966",
    "ItemTitle":"澳洲大龍蝦",
    "WarningLevel":30,
    "BatteryLevel":25,
    "ProcessedInfo":{
      "Staff":"林老板",
      "Time":1648097054000,
      "Reason":"更換價(jià)簽",
      "Status":"Close"
    }
  }
}

連通性測(cè)試

驗(yàn)證MQ配置正確性時(shí)觸發(fā)消息,消費(fèi)方可以忽略該消息,僅用于連通性測(cè)試

{
  "EventCatgory":"BIZ",
  "Event":"BIZ_PING",
  "EventId":"abfhjkfsbeuyftfkhjlj",
  "EventTime":1648096954000,
  "Payload":{
  }
}

價(jià)簽顯示重試中

當(dāng)價(jià)簽系統(tǒng)進(jìn)行重新下發(fā)內(nèi)容時(shí)觸發(fā)消息,系統(tǒng)會(huì)在有效期內(nèi)不斷進(jìn)行重試,消費(fèi)方可能收到多次重試消息

{
  "EventCatgory":"BIZ",
  "Event":"BIZ_DISPLAY_RETRYING",
  "EventId":"abfhjkfsbeuyftfkhjlj",
  "EventTime":1648096954000,
  "Payload":{
    "Type":"ESL",
    "DeviceBarCode":"abcdefg",
    "StoreId":"s-123456",
    "ItemBarCode":"1245677966",
    "ItemId":"1245677966",
    "ItemTitle":"澳洲大龍蝦"
  }
}

價(jià)簽顯示重試失敗

當(dāng)價(jià)簽系統(tǒng)進(jìn)行重新下發(fā)內(nèi)容后再次失敗時(shí)觸發(fā)消息,該消息不是顯示內(nèi)容的最終態(tài),僅表示當(dāng)前重試過(guò)程失敗,后續(xù)會(huì)繼續(xù)發(fā)起重試操作

{
  "EventCatgory":"BIZ",
  "Event":"BIZ_DISPLAY_TEMPO_FAILED",
  "EventId":"abfhjkfsbeuyftfkhjlj",
  "EventTime":1648096954000,
  "Payload":{
    "Type":"ESL",
    "DeviceBarCode":"abcdefg",
    "StoreId":"s-123456",
    "ItemBarCode":"1245677966",
    "ItemId":"1245677966",
    "ItemTitle":"澳洲大龍蝦"
  }
}

價(jià)簽顯示成功

當(dāng)價(jià)簽顯示內(nèi)容成功后觸發(fā)消息

{
  "EventCatgory":"BIZ",
  "Event":"BIZ_DISPLAY_SUCCESS",
  "EventId":"abfhjkfsbeuyftfkhjlj",
  "EventTime":1648096954000,
  "Payload":{
    "Type":"ESL",
    "DeviceBarCode":"abcdefg",
    "StoreId":"s-123456",
    "ItemBarCode":"1245677966",
    "ItemId":"1245677966",
    "ItemTitle":"澳洲大龍蝦"
  }
}

價(jià)簽顯示失敗

當(dāng)價(jià)簽顯示內(nèi)容失敗后觸發(fā)消息,該消息為失敗最終態(tài),消費(fèi)方收到該消息,可以判定為再次下發(fā)過(guò)程已經(jīng)失敗,系統(tǒng)不會(huì)再重新下發(fā)

{
  "EventCatgory":"BIZ",
  "Event":"BIZ_DISPLAY_FAILED",
  "EventId":"abfhjkfsbeuyftfkhjlj",
  "EventTime":1648096954000,
  "Payload":{
    "Type":"ESL",
    "DeviceBarCode":"abcdefg",
    "StoreId":"s-123456",
    "ItemBarCode":"1245677966",
    "ItemId":"1245677966",
    "ItemTitle":"澳洲大龍蝦"
  }
}