[
  {
    "id": "9000000000000001",
    "type": "tab",
    "label": "資料運算轉換",
    "disabled": false,
    "info": "以資料運算式轉換手動提供的溫度範例。",
    "env": []
  },
  {
    "id": "9000000000000002",
    "type": "inject",
    "z": "9000000000000001",
    "name": "手動送出溫度資料",
    "props": [
      {
        "p": "payload"
      },
      {
        "p": "topic",
        "vt": "str"
      }
    ],
    "repeat": "",
    "crontab": "",
    "once": false,
    "onceDelay": 0.1,
    "topic": "",
    "payload": "{\"temperature\":25}",
    "payloadType": "json",
    "x": 160,
    "y": 100,
    "wires": [
      [
        "9000000000000003"
      ]
    ]
  },
  {
    "id": "9000000000000003",
    "type": "change",
    "z": "9000000000000001",
    "name": "轉換溫度資料",
    "rules": [
      {
        "t": "set",
        "p": "payload",
        "pt": "msg",
        "to": "{\"攝氏\": payload.temperature, \"華氏\": payload.temperature * 9 / 5 + 32}",
        "tot": "jsonata"
      }
    ],
    "action": "",
    "property": "",
    "from": "",
    "to": "",
    "reg": false,
    "x": 390,
    "y": 100,
    "wires": [
      [
        "9000000000000004"
      ]
    ]
  },
  {
    "id": "9000000000000004",
    "type": "debug",
    "z": "9000000000000001",
    "name": "檢視轉換資料",
    "active": true,
    "tosidebar": true,
    "console": false,
    "tostatus": false,
    "complete": "payload",
    "targetType": "msg",
    "statusVal": "",
    "statusType": "auto",
    "x": 700,
    "y": 100,
    "wires": []
  }
]
