{
  "topic": "BACnet Object Identifier",
  "origin": "本文原创合成数据，未采集真实设备",
  "cases": [
    {
      "case_id": "模拟输入12",
      "kind": "正例",
      "input": {
        "hex": "00 00 00 0C"
      },
      "expected": {
        "object_type": 0,
        "instance": 12,
        "roundtrip_hex": "0000000c"
      }
    },
    {
      "case_id": "设备4001",
      "kind": "正例",
      "input": {
        "hex": "02 00 0F A1"
      },
      "expected": {
        "object_type": 8,
        "instance": 4001,
        "roundtrip_hex": "02000fa1"
      }
    },
    {
      "case_id": "最大字段",
      "kind": "正例",
      "input": {
        "hex": "FF FF FF FF"
      },
      "expected": {
        "object_type": 1023,
        "instance": 4194303,
        "roundtrip_hex": "ffffffff"
      }
    },
    {
      "case_id": "截短",
      "kind": "显式负例",
      "input": {
        "hex": "02 00 0F"
      },
      "expected_error": "对象标识必须四字节"
    }
  ]
}
