added high contrast yellow to rtu/plc/coord front panels

This commit is contained in:
Mikayla Fischler 2023-07-12 13:38:37 -04:00
parent 084a153a79
commit 4d663ada8d
7 changed files with 10 additions and 7 deletions

View File

@ -22,7 +22,7 @@ local sounder = require("coordinator.sounder")
local apisessions = require("coordinator.session.apisessions") local apisessions = require("coordinator.session.apisessions")
local COORDINATOR_VERSION = "v0.20.2" local COORDINATOR_VERSION = "v0.20.3"
local println = util.println local println = util.println
local println_ts = util.println_ts local println_ts = util.println_ts

View File

@ -12,6 +12,7 @@ local cpair = core.cpair
-- add color mappings for front panel -- add color mappings for front panel
colors.ivory = colors.pink colors.ivory = colors.pink
colors.yellow_hc = colors.purple
colors.red_off = colors.brown colors.red_off = colors.brown
colors.yellow_off = colors.magenta colors.yellow_off = colors.magenta
colors.green_off = colors.lime colors.green_off = colors.lime
@ -32,7 +33,7 @@ style.fp.colors = {
{ c = colors.cyan, hex = 0x34bac8 }, { c = colors.cyan, hex = 0x34bac8 },
{ c = colors.lightBlue, hex = 0x6cc0f2 }, { c = colors.lightBlue, hex = 0x6cc0f2 },
{ c = colors.blue, hex = 0x0096ff }, { c = colors.blue, hex = 0x0096ff },
{ c = colors.purple, hex = 0xb156ee }, { c = colors.purple, hex = 0xb156ee }, -- YELLOW HIGH CONTRAST
{ c = colors.pink, hex = 0xdcd9ca }, -- IVORY { c = colors.pink, hex = 0xdcd9ca }, -- IVORY
{ c = colors.magenta, hex = 0x85862c }, -- YELLOW OFF { c = colors.magenta, hex = 0x85862c }, -- YELLOW OFF
-- { c = colors.white, hex = 0xdcd9ca }, -- { c = colors.white, hex = 0xdcd9ca },

File diff suppressed because one or more lines are too long

View File

@ -12,6 +12,7 @@ local cpair = core.cpair
-- remap global colors -- remap global colors
colors.ivory = colors.pink colors.ivory = colors.pink
colors.yellow_hc = colors.purple
colors.red_off = colors.brown colors.red_off = colors.brown
colors.yellow_off = colors.magenta colors.yellow_off = colors.magenta
colors.green_off = colors.lime colors.green_off = colors.lime
@ -28,7 +29,7 @@ style.colors = {
{ c = colors.cyan, hex = 0x34bac8 }, { c = colors.cyan, hex = 0x34bac8 },
{ c = colors.lightBlue, hex = 0x6cc0f2 }, { c = colors.lightBlue, hex = 0x6cc0f2 },
{ c = colors.blue, hex = 0x0096ff }, { c = colors.blue, hex = 0x0096ff },
{ c = colors.purple, hex = 0xb156ee }, { c = colors.purple, hex = 0xb156ee }, -- YELLOW HIGH CONTRAST
{ c = colors.pink, hex = 0xdcd9ca }, -- IVORY { c = colors.pink, hex = 0xdcd9ca }, -- IVORY
{ c = colors.magenta, hex = 0x85862c }, -- YELLOW OFF { c = colors.magenta, hex = 0x85862c }, -- YELLOW OFF
-- { c = colors.white, hex = 0xdcd9ca }, -- { c = colors.white, hex = 0xdcd9ca },

View File

@ -19,7 +19,7 @@ local plc = require("reactor-plc.plc")
local renderer = require("reactor-plc.renderer") local renderer = require("reactor-plc.renderer")
local threads = require("reactor-plc.threads") local threads = require("reactor-plc.threads")
local R_PLC_VERSION = "v1.5.4" local R_PLC_VERSION = "v1.5.5"
local println = util.println local println = util.println
local println_ts = util.println_ts local println_ts = util.println_ts

View File

@ -12,6 +12,7 @@ local cpair = core.cpair
-- remap global colors -- remap global colors
colors.ivory = colors.pink colors.ivory = colors.pink
colors.yellow_hc = colors.purple
colors.red_off = colors.brown colors.red_off = colors.brown
colors.yellow_off = colors.magenta colors.yellow_off = colors.magenta
colors.green_off = colors.lime colors.green_off = colors.lime
@ -28,7 +29,7 @@ style.colors = {
{ c = colors.cyan, hex = 0x34bac8 }, { c = colors.cyan, hex = 0x34bac8 },
{ c = colors.lightBlue, hex = 0x6cc0f2 }, { c = colors.lightBlue, hex = 0x6cc0f2 },
{ c = colors.blue, hex = 0x0096ff }, { c = colors.blue, hex = 0x0096ff },
{ c = colors.purple, hex = 0xb156ee }, { c = colors.purple, hex = 0xb156ee }, -- YELLOW HIGH CONTRAST
{ c = colors.pink, hex = 0xdcd9ca }, -- IVORY { c = colors.pink, hex = 0xdcd9ca }, -- IVORY
{ c = colors.magenta, hex = 0x85862c }, -- YELLOW OFF { c = colors.magenta, hex = 0x85862c }, -- YELLOW OFF
-- { c = colors.white, hex = 0xdcd9ca }, -- { c = colors.white, hex = 0xdcd9ca },

View File

@ -30,7 +30,7 @@ local sna_rtu = require("rtu.dev.sna_rtu")
local sps_rtu = require("rtu.dev.sps_rtu") local sps_rtu = require("rtu.dev.sps_rtu")
local turbinev_rtu = require("rtu.dev.turbinev_rtu") local turbinev_rtu = require("rtu.dev.turbinev_rtu")
local RTU_VERSION = "v1.5.2" local RTU_VERSION = "v1.5.3"
local RTU_UNIT_TYPE = types.RTU_UNIT_TYPE local RTU_UNIT_TYPE = types.RTU_UNIT_TYPE
local RTU_UNIT_HW_STATE = databus.RTU_UNIT_HW_STATE local RTU_UNIT_HW_STATE = databus.RTU_UNIT_HW_STATE