Skip to content

Commit

Permalink
changed max value to 3000W
Browse files Browse the repository at this point in the history
changed max value to 3000W because ps,-2 and psm-2 qhj does not support 3680W
  • Loading branch information
PhilippEngler committed May 25, 2024
1 parent 985321b commit 1b870c4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,31 @@
}
--- occu/WebUI/www/config/uiElements.tcl.orig
+++ occu/WebUI/www/config/uiElements.tcl
@@ -22,6 +22,8 @@
if {[string equal $extraparam "TX_THRESHOLD_POWER"] == 1} {
@@ -23,6 +23,8 @@
switch [string tolower $devType] {
hmip-psm -
+ hmip-psm-2 -
+ "hmip-psm-2 qhj" -
hmip-fsm16 {return 3680.0}
+ hmip-psm-2 -
+ "hmip-psm-2 qhj" {return 3000.0}
hmip-bsm -
hmip-fsm {return 1150.0}
@@ -33,6 +35,8 @@
hmip-usbsm {return 60.0}
@@ -33,10 +35,12 @@
if {([string equal $extraparam "COND_TX_THRESHOLD_LO"] == 1) || ([string equal $extraparam "COND_TX_THRESHOLD_HI"] == 1)} {
switch [string tolower $devType] {
hmip-psm -
+ hmip-psm-2 -
+ "hmip-psm-2 qhj" -
hmip-fsm16 {return "3680.0"}
- hmip-fsm16 {return "3680.0"}
+ hmip-fsm16 {return "3680.00"}
+ hmi-psm-2 -
+ "hmip-psm-2 qhj" {return "3000.00"}
hmip-bsm -
hmip-fsm {return "1150.0"}
- hmip-fsm {return "1150.0"}
- hmip-usbsm {return "60.0"}
+ hmip-fsm {return "1150.00"}
+ hmip-usbsm {return "60.00"}
default {return "<span class=\"attention\">max value not available</span>"}
}
}
@@ -172,6 +176,8 @@
proc getUserDefinedCondTXThresholdUnitMinMaxDescr {devType param} {
switch [string tolower $devType] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ proc getUserDefinedMaxValue {devType {extraparam ""}} {
if {[string equal $extraparam "TX_THRESHOLD_POWER"] == 1} {
switch [string tolower $devType] {
hmip-psm -
hmip-psm-2 -
"hmip-psm-2 qhj" -
hmip-fsm16 {return 3680.0}
hmip-psm-2 -
"hmip-psm-2 qhj" {return 3000.0}
hmip-bsm -
hmip-fsm {return 1150.0}
hmip-usbsm {return 60.0}
Expand All @@ -35,12 +35,12 @@ proc getUserDefinedMaxValue {devType {extraparam ""}} {
if {([string equal $extraparam "COND_TX_THRESHOLD_LO"] == 1) || ([string equal $extraparam "COND_TX_THRESHOLD_HI"] == 1)} {
switch [string tolower $devType] {
hmip-psm -
hmip-psm-2 -
"hmip-psm-2 qhj" -
hmip-fsm16 {return "3680.0"}
hmip-fsm16 {return "3680.00"}
hmi-psm-2 -
"hmip-psm-2 qhj" {return "3000.00"}
hmip-bsm -
hmip-fsm {return "1150.0"}
hmip-usbsm {return "60.0"}
hmip-fsm {return "1150.00"}
hmip-usbsm {return "60.00"}
default {return "<span class=\"attention\">max value not available</span>"}
}
}
Expand Down

0 comments on commit 1b870c4

Please sign in to comment.