{
  "$schema": "https://service.metason.net/ar/schemas/action.json",
  "items": [
    {
      "id": "net.metason.samples.gaugepanel",
      "type": "Spot",
      "subtype": "Panel",
      "name": "Panel",
      "vertices": [
        [
          0.0,
          0.0,
          0.0
        ]
      ],
      "assetData": "<b>Data Gauges</b><br>Display dynamic data using <br>data items.<br><small><br><i>Coding Keywords:</i><br> <code>Label, Lamp, Level, Needle, Arc<br>getValue, setValue</code></small>",
      "assetMeta": "color:#000000; bgcolor:#EEEEEECC; scale:1.0",
      "isLocked": true
    },
    {
      "id": "net.metason.samples.back",
      "type": "Spot",
      "subtype": "Panel",
      "name": "Panel",
      "vertices": [
        [
          0.0,
          0.0,
          0.0
        ]
      ],
      "assetData": "https://service.metason.net/ar/extension/images/back.png",
      "assetMeta": "wxdxh:0.25x0.0x0.25",
      "content": "ontap=function('net.metason.samples.*', 'delete'); function('https://service.metason.net/ar/content/samples/interaction.json', 'getJSON')",
      "isLocked": true
    },
    {
      "id": "net.metason.samples.next",
      "type": "Spot",
      "subtype": "Panel",
      "name": "Panel",
      "vertices": [
        [
          0.0,
          0.0,
          0.0
        ]
      ],
      "assetData": "https://service.metason.net/ar/extension/images/next.png",
      "assetMeta": "wxdxh:0.25x0.0x0.25",
      "content": "ontap=function('net.metason.samples.*', 'delete'); function('https://service.metason.net/ar/content/samples/3DUI.json', 'getJSON')",
      "isLocked": true
    },
    {
      "id": "net.metason.samples.needle",
      "type": "Data",
      "subtype": "Needle",
      "isLocked": true,
      "assetData": "https://service.metason.net/ar/content/images/radialRPM.png",
      "assetMeta": "wxdxh:0.5x0.05x0.5;color:#DD0000;bgcolor:#999999;ratio:0.845;start:-0.75;value:-0.3;dx:0.0;dy:0.0;"
    },
    {
      "id": "net.metason.samples.level",
      "type": "Data",
      "subtype": "Level",
      "name": "Label",
      "vertices": [
        [
          0.0,
          0.0,
          0.0
        ]
      ],
      "isLocked": true,
      "assetData": "https://service.metason.net/ar/content/images/verticalgauge10.png",
      "assetMeta": "wxdxh:0.2x0.03x0.5;color:#1111CC;bgcolor:#999999FF;ratio:0.14;dx:-0.018;dy:0.036;"
    }
  ],
  "tasks": [
    {
      "dispatch": "atstart",
      "do": "execute",
      "op": "function('data.intval', 'assign:', 5);"
    },
    {
      "do": "add",
      "id": "net.metason.samples.gaugepanel",
      "ahead": "0.0 1.3 -1.5"
    },
    {
      "do": "add",
      "id": "net.metason.samples.back",
      "ahead": "-0.35 1.0 -1.5"
    },
    {
      "do": "add",
      "id": "net.metason.samples.next",
      "ahead": "0.35 1.0 -1.5"
    },
    {
      "do": "add",
      "id": "net.metason.samples.level",
      "ahead": "0.38 0.3 -1.5"
    },
    {
      "do": "add",
      "id": "net.metason.samples.needle",
      "ahead": "-0.3 0.3 -1.5"
    },
    {
      "dispatch": "always",
      "do": "execute",
      "op": "function('data.intval', 'increase:', 1)"
    },
    {
      "dispatch": "always",
      "do": "setValue",
      "id": "net.metason.samples.needle",
      "expression": "function(time.runtime, 'cosinus')*0.55 + 0.1"
    },
    {
      "dispatch": "repeated",
      "each": "1",
      "do": "setValue",
      "id": "net.metason.samples.level",
      "expression": "modulus:by:(data.intval, 70) / 69.0"
    }
  ]
}