From cd7dbdfa0de42b74902439ed1f2ed8579ed883e3 Mon Sep 17 00:00:00 2001 From: Charlie <30303272+charliefoxtwo@users.noreply.github.com> Date: Mon, 10 Jun 2024 19:55:59 -0700 Subject: [PATCH] Generate json files prior to release (#706) This ensures the json files are always up to date prior to a release and allows us remove these files from the repository. --- .github/workflows/release-nightly.yml | 10 + .../DCS-BIOS/doc/doc_assets/VNAO_Room.jsonp | 699 ------------------ Scripts/DCS-BIOS/doc/json/VNAO_Room.json | 698 ----------------- 3 files changed, 10 insertions(+), 1397 deletions(-) delete mode 100644 Scripts/DCS-BIOS/doc/doc_assets/VNAO_Room.jsonp delete mode 100644 Scripts/DCS-BIOS/doc/json/VNAO_Room.json diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml index 4e446ef97..4d02fc8e4 100644 --- a/.github/workflows/release-nightly.yml +++ b/.github/workflows/release-nightly.yml @@ -48,6 +48,16 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Set up lua + uses: leafo/gh-actions-lua@v10 + with: + luaVersion: "5.1.5" + + # recompile, so the generated files are always up-to-date + - name: compile + run: | + lua ./Scripts/DCS-BIOS/test/compile/LocalCompile.lua + - name: Archive Release uses: thedoctor0/zip-release@0.7.6 with: diff --git a/Scripts/DCS-BIOS/doc/doc_assets/VNAO_Room.jsonp b/Scripts/DCS-BIOS/doc/doc_assets/VNAO_Room.jsonp deleted file mode 100644 index b30f53cd1..000000000 --- a/Scripts/DCS-BIOS/doc/doc_assets/VNAO_Room.jsonp +++ /dev/null @@ -1,699 +0,0 @@ -docdata["VNAO_Room"] = -{ - "Gauges": { - "CLOCK_H": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Clock Hour", - "identifier": "CLOCK_H", - "inputs": [ ], - "outputs": [ { - "address": 1292, - "address_identifier": "VNAO_Room_CLOCK_H_A", - "address_mask_shift_identifier": "VNAO_Room_CLOCK_H", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "CLOCK_M": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Clock Minutes", - "identifier": "CLOCK_M", - "inputs": [ ], - "outputs": [ { - "address": 1294, - "address_identifier": "VNAO_Room_CLOCK_M_A", - "address_mask_shift_identifier": "VNAO_Room_CLOCK_M", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "CLOCK_S": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Clock Seconds", - "identifier": "CLOCK_S", - "inputs": [ ], - "outputs": [ { - "address": 1296, - "address_identifier": "VNAO_Room_CLOCK_S_A", - "address_mask_shift_identifier": "VNAO_Room_CLOCK_S", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "FAN1": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Fan 1 Spin", - "identifier": "FAN1", - "inputs": [ ], - "outputs": [ { - "address": 1284, - "address_identifier": "VNAO_Room_FAN1_A", - "address_mask_shift_identifier": "VNAO_Room_FAN1", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "FAN2": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Fan 2 Spin", - "identifier": "FAN2", - "inputs": [ ], - "outputs": [ { - "address": 1286, - "address_identifier": "VNAO_Room_FAN2_A", - "address_mask_shift_identifier": "VNAO_Room_FAN2", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "FAN3": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Fan 3 Spin", - "identifier": "FAN3", - "inputs": [ ], - "outputs": [ { - "address": 1288, - "address_identifier": "VNAO_Room_FAN3_A", - "address_mask_shift_identifier": "VNAO_Room_FAN3", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "FAN4": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Fan 4 Spin", - "identifier": "FAN4", - "inputs": [ ], - "outputs": [ { - "address": 1290, - "address_identifier": "VNAO_Room_FAN4_A", - "address_mask_shift_identifier": "VNAO_Room_FAN4", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "INSTRUCTOR": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Instructor", - "identifier": "INSTRUCTOR", - "inputs": [ ], - "outputs": [ { - "address": 1300, - "address_identifier": "VNAO_Room_INSTRUCTOR_A", - "address_mask_shift_identifier": "VNAO_Room_INSTRUCTOR", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "LIGHTS_INT": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Lights Intensity", - "identifier": "LIGHTS_INT", - "inputs": [ ], - "outputs": [ { - "address": 1298, - "address_identifier": "VNAO_Room_LIGHTS_INT_A", - "address_mask_shift_identifier": "VNAO_Room_LIGHTS_INT", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_01": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 01", - "identifier": "PILOT_01", - "inputs": [ ], - "outputs": [ { - "address": 1302, - "address_identifier": "VNAO_Room_PILOT_01_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_01", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_02": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 02", - "identifier": "PILOT_02", - "inputs": [ ], - "outputs": [ { - "address": 1304, - "address_identifier": "VNAO_Room_PILOT_02_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_02", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_03": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 03", - "identifier": "PILOT_03", - "inputs": [ ], - "outputs": [ { - "address": 1306, - "address_identifier": "VNAO_Room_PILOT_03_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_03", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_04": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 04", - "identifier": "PILOT_04", - "inputs": [ ], - "outputs": [ { - "address": 1308, - "address_identifier": "VNAO_Room_PILOT_04_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_04", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_05": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 05", - "identifier": "PILOT_05", - "inputs": [ ], - "outputs": [ { - "address": 1310, - "address_identifier": "VNAO_Room_PILOT_05_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_05", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_06": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 06", - "identifier": "PILOT_06", - "inputs": [ ], - "outputs": [ { - "address": 1312, - "address_identifier": "VNAO_Room_PILOT_06_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_06", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_07": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 07", - "identifier": "PILOT_07", - "inputs": [ ], - "outputs": [ { - "address": 1314, - "address_identifier": "VNAO_Room_PILOT_07_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_07", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_08": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 08", - "identifier": "PILOT_08", - "inputs": [ ], - "outputs": [ { - "address": 1316, - "address_identifier": "VNAO_Room_PILOT_08_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_08", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_09": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 09", - "identifier": "PILOT_09", - "inputs": [ ], - "outputs": [ { - "address": 1318, - "address_identifier": "VNAO_Room_PILOT_09_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_09", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_10": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 10", - "identifier": "PILOT_10", - "inputs": [ ], - "outputs": [ { - "address": 1320, - "address_identifier": "VNAO_Room_PILOT_10_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_10", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_11": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 11", - "identifier": "PILOT_11", - "inputs": [ ], - "outputs": [ { - "address": 1322, - "address_identifier": "VNAO_Room_PILOT_11_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_11", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_12": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 12", - "identifier": "PILOT_12", - "inputs": [ ], - "outputs": [ { - "address": 1324, - "address_identifier": "VNAO_Room_PILOT_12_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_12", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_13": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 13", - "identifier": "PILOT_13", - "inputs": [ ], - "outputs": [ { - "address": 1326, - "address_identifier": "VNAO_Room_PILOT_13_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_13", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_14": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 14", - "identifier": "PILOT_14", - "inputs": [ ], - "outputs": [ { - "address": 1328, - "address_identifier": "VNAO_Room_PILOT_14_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_14", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_15": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 15", - "identifier": "PILOT_15", - "inputs": [ ], - "outputs": [ { - "address": 1330, - "address_identifier": "VNAO_Room_PILOT_15_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_15", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_16": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 16", - "identifier": "PILOT_16", - "inputs": [ ], - "outputs": [ { - "address": 1332, - "address_identifier": "VNAO_Room_PILOT_16_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_16", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_17": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 17", - "identifier": "PILOT_17", - "inputs": [ ], - "outputs": [ { - "address": 1334, - "address_identifier": "VNAO_Room_PILOT_17_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_17", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_18": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 18", - "identifier": "PILOT_18", - "inputs": [ ], - "outputs": [ { - "address": 1336, - "address_identifier": "VNAO_Room_PILOT_18_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_18", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_19": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 19", - "identifier": "PILOT_19", - "inputs": [ ], - "outputs": [ { - "address": 1338, - "address_identifier": "VNAO_Room_PILOT_19_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_19", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_20": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 20", - "identifier": "PILOT_20", - "inputs": [ ], - "outputs": [ { - "address": 1340, - "address_identifier": "VNAO_Room_PILOT_20_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_20", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_21": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 21", - "identifier": "PILOT_21", - "inputs": [ ], - "outputs": [ { - "address": 1342, - "address_identifier": "VNAO_Room_PILOT_21_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_21", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_22": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 22", - "identifier": "PILOT_22", - "inputs": [ ], - "outputs": [ { - "address": 1344, - "address_identifier": "VNAO_Room_PILOT_22_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_22", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_23": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 23", - "identifier": "PILOT_23", - "inputs": [ ], - "outputs": [ { - "address": 1346, - "address_identifier": "VNAO_Room_PILOT_23_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_23", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - } - }, - "Systems": { - "LIGHTS": { - "category": "Systems", - "control_type": "selector", - "description": "Light Switch", - "identifier": "LIGHTS", - "inputs": [ { - "description": "switch to previous or next state", - "interface": "fixed_step" - }, { - "description": "set position", - "interface": "set_state", - "max_value": 1 - }, { - "argument": "TOGGLE", - "description": "Toggle switch state", - "interface": "action" - } ], - "outputs": [ { - "address": 1280, - "address_mask_identifier": "VNAO_Room_LIGHTS_AM", - "address_mask_shift_identifier": "VNAO_Room_LIGHTS", - "description": "selector position", - "mask": 4, - "max_value": 1, - "shift_by": 2, - "suffix": "", - "type": "integer" - } ] - }, - "LIGHT_DIM": { - "category": "Systems", - "control_type": "limited_dial", - "description": "Light Dimming", - "identifier": "LIGHT_DIM", - "inputs": [ { - "description": "set the position of the dial", - "interface": "set_state", - "max_value": 65535 - }, { - "description": "turn the dial left or right", - "interface": "variable_step", - "max_value": 65535, - "suggested_step": 3200 - } ], - "outputs": [ { - "address": 1282, - "address_identifier": "VNAO_Room_LIGHT_DIM_A", - "address_mask_shift_identifier": "VNAO_Room_LIGHT_DIM", - "description": "position of the potentiometer", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "SLIDE_NEXT": { - "api_variant": "momentary_last_position", - "category": "Systems", - "control_type": "selector", - "description": "Next Slide", - "identifier": "SLIDE_NEXT", - "inputs": [ { - "description": "switch to previous or next state", - "interface": "fixed_step" - }, { - "description": "set position", - "interface": "set_state", - "max_value": 1 - }, { - "argument": "TOGGLE", - "description": "Toggle switch state", - "interface": "action" - } ], - "outputs": [ { - "address": 1280, - "address_mask_identifier": "VNAO_Room_SLIDE_NEXT_AM", - "address_mask_shift_identifier": "VNAO_Room_SLIDE_NEXT", - "description": "selector position", - "mask": 2, - "max_value": 1, - "shift_by": 1, - "suffix": "", - "type": "integer" - } ] - }, - "SLIDE_PREV": { - "api_variant": "momentary_last_position", - "category": "Systems", - "control_type": "selector", - "description": "Previous Slide", - "identifier": "SLIDE_PREV", - "inputs": [ { - "description": "switch to previous or next state", - "interface": "fixed_step" - }, { - "description": "set position", - "interface": "set_state", - "max_value": 1 - }, { - "argument": "TOGGLE", - "description": "Toggle switch state", - "interface": "action" - } ], - "outputs": [ { - "address": 1280, - "address_mask_identifier": "VNAO_Room_SLIDE_PREV_AM", - "address_mask_shift_identifier": "VNAO_Room_SLIDE_PREV", - "description": "selector position", - "mask": 1, - "max_value": 1, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - } - } -}; diff --git a/Scripts/DCS-BIOS/doc/json/VNAO_Room.json b/Scripts/DCS-BIOS/doc/json/VNAO_Room.json deleted file mode 100644 index 3eed76134..000000000 --- a/Scripts/DCS-BIOS/doc/json/VNAO_Room.json +++ /dev/null @@ -1,698 +0,0 @@ -{ - "Gauges": { - "CLOCK_H": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Clock Hour", - "identifier": "CLOCK_H", - "inputs": [ ], - "outputs": [ { - "address": 1292, - "address_identifier": "VNAO_Room_CLOCK_H_A", - "address_mask_shift_identifier": "VNAO_Room_CLOCK_H", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "CLOCK_M": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Clock Minutes", - "identifier": "CLOCK_M", - "inputs": [ ], - "outputs": [ { - "address": 1294, - "address_identifier": "VNAO_Room_CLOCK_M_A", - "address_mask_shift_identifier": "VNAO_Room_CLOCK_M", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "CLOCK_S": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Clock Seconds", - "identifier": "CLOCK_S", - "inputs": [ ], - "outputs": [ { - "address": 1296, - "address_identifier": "VNAO_Room_CLOCK_S_A", - "address_mask_shift_identifier": "VNAO_Room_CLOCK_S", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "FAN1": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Fan 1 Spin", - "identifier": "FAN1", - "inputs": [ ], - "outputs": [ { - "address": 1284, - "address_identifier": "VNAO_Room_FAN1_A", - "address_mask_shift_identifier": "VNAO_Room_FAN1", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "FAN2": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Fan 2 Spin", - "identifier": "FAN2", - "inputs": [ ], - "outputs": [ { - "address": 1286, - "address_identifier": "VNAO_Room_FAN2_A", - "address_mask_shift_identifier": "VNAO_Room_FAN2", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "FAN3": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Fan 3 Spin", - "identifier": "FAN3", - "inputs": [ ], - "outputs": [ { - "address": 1288, - "address_identifier": "VNAO_Room_FAN3_A", - "address_mask_shift_identifier": "VNAO_Room_FAN3", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "FAN4": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Fan 4 Spin", - "identifier": "FAN4", - "inputs": [ ], - "outputs": [ { - "address": 1290, - "address_identifier": "VNAO_Room_FAN4_A", - "address_mask_shift_identifier": "VNAO_Room_FAN4", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "INSTRUCTOR": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Instructor", - "identifier": "INSTRUCTOR", - "inputs": [ ], - "outputs": [ { - "address": 1300, - "address_identifier": "VNAO_Room_INSTRUCTOR_A", - "address_mask_shift_identifier": "VNAO_Room_INSTRUCTOR", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "LIGHTS_INT": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Lights Intensity", - "identifier": "LIGHTS_INT", - "inputs": [ ], - "outputs": [ { - "address": 1298, - "address_identifier": "VNAO_Room_LIGHTS_INT_A", - "address_mask_shift_identifier": "VNAO_Room_LIGHTS_INT", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_01": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 01", - "identifier": "PILOT_01", - "inputs": [ ], - "outputs": [ { - "address": 1302, - "address_identifier": "VNAO_Room_PILOT_01_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_01", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_02": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 02", - "identifier": "PILOT_02", - "inputs": [ ], - "outputs": [ { - "address": 1304, - "address_identifier": "VNAO_Room_PILOT_02_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_02", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_03": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 03", - "identifier": "PILOT_03", - "inputs": [ ], - "outputs": [ { - "address": 1306, - "address_identifier": "VNAO_Room_PILOT_03_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_03", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_04": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 04", - "identifier": "PILOT_04", - "inputs": [ ], - "outputs": [ { - "address": 1308, - "address_identifier": "VNAO_Room_PILOT_04_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_04", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_05": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 05", - "identifier": "PILOT_05", - "inputs": [ ], - "outputs": [ { - "address": 1310, - "address_identifier": "VNAO_Room_PILOT_05_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_05", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_06": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 06", - "identifier": "PILOT_06", - "inputs": [ ], - "outputs": [ { - "address": 1312, - "address_identifier": "VNAO_Room_PILOT_06_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_06", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_07": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 07", - "identifier": "PILOT_07", - "inputs": [ ], - "outputs": [ { - "address": 1314, - "address_identifier": "VNAO_Room_PILOT_07_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_07", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_08": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 08", - "identifier": "PILOT_08", - "inputs": [ ], - "outputs": [ { - "address": 1316, - "address_identifier": "VNAO_Room_PILOT_08_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_08", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_09": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 09", - "identifier": "PILOT_09", - "inputs": [ ], - "outputs": [ { - "address": 1318, - "address_identifier": "VNAO_Room_PILOT_09_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_09", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_10": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 10", - "identifier": "PILOT_10", - "inputs": [ ], - "outputs": [ { - "address": 1320, - "address_identifier": "VNAO_Room_PILOT_10_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_10", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_11": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 11", - "identifier": "PILOT_11", - "inputs": [ ], - "outputs": [ { - "address": 1322, - "address_identifier": "VNAO_Room_PILOT_11_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_11", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_12": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 12", - "identifier": "PILOT_12", - "inputs": [ ], - "outputs": [ { - "address": 1324, - "address_identifier": "VNAO_Room_PILOT_12_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_12", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_13": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 13", - "identifier": "PILOT_13", - "inputs": [ ], - "outputs": [ { - "address": 1326, - "address_identifier": "VNAO_Room_PILOT_13_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_13", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_14": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 14", - "identifier": "PILOT_14", - "inputs": [ ], - "outputs": [ { - "address": 1328, - "address_identifier": "VNAO_Room_PILOT_14_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_14", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_15": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 15", - "identifier": "PILOT_15", - "inputs": [ ], - "outputs": [ { - "address": 1330, - "address_identifier": "VNAO_Room_PILOT_15_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_15", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_16": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 16", - "identifier": "PILOT_16", - "inputs": [ ], - "outputs": [ { - "address": 1332, - "address_identifier": "VNAO_Room_PILOT_16_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_16", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_17": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 17", - "identifier": "PILOT_17", - "inputs": [ ], - "outputs": [ { - "address": 1334, - "address_identifier": "VNAO_Room_PILOT_17_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_17", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_18": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 18", - "identifier": "PILOT_18", - "inputs": [ ], - "outputs": [ { - "address": 1336, - "address_identifier": "VNAO_Room_PILOT_18_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_18", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_19": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 19", - "identifier": "PILOT_19", - "inputs": [ ], - "outputs": [ { - "address": 1338, - "address_identifier": "VNAO_Room_PILOT_19_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_19", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_20": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 20", - "identifier": "PILOT_20", - "inputs": [ ], - "outputs": [ { - "address": 1340, - "address_identifier": "VNAO_Room_PILOT_20_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_20", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_21": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 21", - "identifier": "PILOT_21", - "inputs": [ ], - "outputs": [ { - "address": 1342, - "address_identifier": "VNAO_Room_PILOT_21_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_21", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_22": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 22", - "identifier": "PILOT_22", - "inputs": [ ], - "outputs": [ { - "address": 1344, - "address_identifier": "VNAO_Room_PILOT_22_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_22", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "PILOT_23": { - "category": "Gauges", - "control_type": "analog_gauge", - "description": "Pilot 23", - "identifier": "PILOT_23", - "inputs": [ ], - "outputs": [ { - "address": 1346, - "address_identifier": "VNAO_Room_PILOT_23_A", - "address_mask_shift_identifier": "VNAO_Room_PILOT_23", - "description": "gauge position", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - } - }, - "Systems": { - "LIGHTS": { - "category": "Systems", - "control_type": "selector", - "description": "Light Switch", - "identifier": "LIGHTS", - "inputs": [ { - "description": "switch to previous or next state", - "interface": "fixed_step" - }, { - "description": "set position", - "interface": "set_state", - "max_value": 1 - }, { - "argument": "TOGGLE", - "description": "Toggle switch state", - "interface": "action" - } ], - "outputs": [ { - "address": 1280, - "address_mask_identifier": "VNAO_Room_LIGHTS_AM", - "address_mask_shift_identifier": "VNAO_Room_LIGHTS", - "description": "selector position", - "mask": 4, - "max_value": 1, - "shift_by": 2, - "suffix": "", - "type": "integer" - } ] - }, - "LIGHT_DIM": { - "category": "Systems", - "control_type": "limited_dial", - "description": "Light Dimming", - "identifier": "LIGHT_DIM", - "inputs": [ { - "description": "set the position of the dial", - "interface": "set_state", - "max_value": 65535 - }, { - "description": "turn the dial left or right", - "interface": "variable_step", - "max_value": 65535, - "suggested_step": 3200 - } ], - "outputs": [ { - "address": 1282, - "address_identifier": "VNAO_Room_LIGHT_DIM_A", - "address_mask_shift_identifier": "VNAO_Room_LIGHT_DIM", - "description": "position of the potentiometer", - "mask": 65535, - "max_value": 65535, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - }, - "SLIDE_NEXT": { - "api_variant": "momentary_last_position", - "category": "Systems", - "control_type": "selector", - "description": "Next Slide", - "identifier": "SLIDE_NEXT", - "inputs": [ { - "description": "switch to previous or next state", - "interface": "fixed_step" - }, { - "description": "set position", - "interface": "set_state", - "max_value": 1 - }, { - "argument": "TOGGLE", - "description": "Toggle switch state", - "interface": "action" - } ], - "outputs": [ { - "address": 1280, - "address_mask_identifier": "VNAO_Room_SLIDE_NEXT_AM", - "address_mask_shift_identifier": "VNAO_Room_SLIDE_NEXT", - "description": "selector position", - "mask": 2, - "max_value": 1, - "shift_by": 1, - "suffix": "", - "type": "integer" - } ] - }, - "SLIDE_PREV": { - "api_variant": "momentary_last_position", - "category": "Systems", - "control_type": "selector", - "description": "Previous Slide", - "identifier": "SLIDE_PREV", - "inputs": [ { - "description": "switch to previous or next state", - "interface": "fixed_step" - }, { - "description": "set position", - "interface": "set_state", - "max_value": 1 - }, { - "argument": "TOGGLE", - "description": "Toggle switch state", - "interface": "action" - } ], - "outputs": [ { - "address": 1280, - "address_mask_identifier": "VNAO_Room_SLIDE_PREV_AM", - "address_mask_shift_identifier": "VNAO_Room_SLIDE_PREV", - "description": "selector position", - "mask": 1, - "max_value": 1, - "shift_by": 0, - "suffix": "", - "type": "integer" - } ] - } - } -} \ No newline at end of file