add io summary and gauge limits dialogs in TS (#288)

* add io summary gauge limits dialogs in ts

* Clean titles
This commit is contained in:
Bruno Bousquet 2019-11-28 00:30:34 -05:00 committed by Josh Stewart
parent 8cb7876406
commit ac3ec76b53
1 changed files with 50 additions and 5 deletions

View File

@ -45,6 +45,9 @@
rpmhigh = scalar, U16, "rpm", 1, 0, 0, 30000, 0
rpmwarn = scalar, U16, "rpm", 1, 0, 0, 30000, 0
rpmdang = scalar, U16, "rpm", 1, 0, 0, 30000, 0
maphigh = scalar, U16, "kPa", 1, 0, 0, 30000, 0
mapwarn = scalar, U16, "kPa", 1, 0, 0, 30000, 0
mapdang = scalar, U16, "kPa", 1, 0, 0, 30000, 0
idleUnits = bits, U08, [0:2], "None", "On/Off", "Duty Cycle", "Duty Cycle", "Steps", "Steps"
@ -1195,6 +1198,14 @@ page = 11
defaultValue = AUXin14Alias, Aux14
defaultValue = AUXin15Alias, Aux15
defaultValue = rpmwarn, 3000
defaultValue = rpmdang, 5000
defaultValue = rpmhigh, 8000
defaultValue = mapwarn, 200
defaultValue = mapdang, 245
defaultValue = maphigh, 255
[Menu]
;----------------------------------------------------------------------------
@ -1232,6 +1243,11 @@ menuDialog = main
subMenu = baroFuel_curve, "Barometric Correction"
subMenu = reset_control, "Reset Control"
subMenu = std_separator
subMenu = gaugeLimits, "Gauge Limits"
subMenu = std_separator
subMenu = io_summary, "I/O Summary"
menu = "&Tuning"
subMenu = std_realtime, "Realtime Display"
@ -2752,6 +2768,35 @@ menuDialog = main
dialog = Auxin_config, "",yAxis
panel = Auxin_north
panel = Auxin_south
dialog = gaugeLimits, "Gauge Limits"
field = "#RPM"
field = "Warning", rpmwarn
field = "Danger", rpmdang
field = "High", rpmhigh
field = "#MAP"
field = "Warning", mapwarn
field = "Danger", mapdang
field = "High", maphigh
field = !"Reload project to update gauges"
dialog = io_summary, "I/O Summary"
displayOnlyField = "fuelPumpPin", fuelPumpPin, {fpPrime}
displayOnlyField = "fanPin", fanPin, {fanEnable}
displayOnlyField = "tachoPin", tachoPin, {tachoDuration}
displayOnlyField = "idleUpPin", idleUpPin, {idleUpEnabled}
displayOnlyField = "launchPin", launchPin, {launchEnable}
displayOnlyField = "vvtPin", vvtPin, {vvtEnabled}
displayOnlyField = "boostPin", boostPin, {boostEnabled}
displayOnlyField = "baroPin", baroPin,{useExtBaro}
displayOnlyField = "EMAPPin", EMAPPin, {useEMAP}
displayOnlyField = "n2o_arming_pin", n2o_arming_pin, {n2o_enable}
displayOnlyField = "n2o_stage1_pin", n2o_stage1_pin, {n2o_enable}
displayOnlyField = "n2o_stage2_pin", n2o_stage2_pin, {n2o_enable}
;displayOnlyField = "knock_pin", knock_pin, {knock_mode}
displayOnlyField = "fuel2InputPin", fuel2InputPin, {fuel2Mode}
displayOnlyField = "resetControlPin", resetControlPin, {resetControl}
displayOnlyField = "ignBypassPin", ignBypassPin, {ignBypassEnable}
;-------------------------------------------------------------------------------
; General help text
@ -3178,7 +3223,7 @@ cmdtestspk450dc = "E\x03\x0C"
gammaEnrichGauge = gammaEnrich, "Gamma Enrichment", "%", 50, 150, -1, -1, 151, 151, 0, 0
pulseWidthGauge = pulseWidth, "Pulse Width", "mSec", 0, 35.0, 1.0, 1.2, 20, 25, 3, 3
tachometer = rpm, "Engine Speed", "RPM", 0, 8000, 300, 600, 3000, 5000, 0, 0
tachometer = rpm, "Engine Speed", "RPM", 0, {rpmhigh}, 300, 600, {rpmwarn}, {rpmdang}, 0, 0
veGauge = veCurr, "Current VE", "%", 0, 120, -1, -1, 999, 999, 0, 0
ve1Gauge = VE1, "VE1 (Fuel Table 1)", "%", 0, 120, -1, -1, 999, 999, 0, 0
ve2Gauge = VE2, "VE2 (Fuel Table 2)", "%", 0, 120, -1, -1, 999, 999, 0, 0
@ -3190,19 +3235,19 @@ cmdtestspk450dc = "E\x03\x0C"
flexEnrich = flexFuelCor, "Flex Correction", "%", 0, 200, 130, 140, 140, 150, 0, 0
advanceGauge = advance, "Spark Advance", "deg BTDC", 50, -10, 0, 0, 35, 45, 0, 0
dwellGauge = dwell, "Ign Dwell", "mSec", 0, 35.0, 1.0, 1.2, 20, 25, 3, 3
boostTargetGauge = boostTarget, "Target Boost", "kPa", 0, 255, 0, 20, 200, 245, 0, 0
boostTargetGauge = boostTarget, "Target Boost", "kPa", 0, {maphigh}, 0, 20, {mapwarn}, {mapdang}, 0, 0
boostDutyGauge = boostDuty, "Boost Duty Cycle", "%", 0, 100, -1, -1, 101, 110, 1, 1
afrTargetGauge = afrTarget, "Target AFR", "", 7, 25, 12, 13, 15, 16, 2, 2
VVTdutyCycleGauge = vvtDuty, "VVT Duty Cycle", "%", 0, 100, -1, -1, 101, 110, 1, 1
IdleTargetGauge = CLIdleTarget, "Idle Target RPM", "RPM", 0, 2000, 300, 600, 1500, 1700, 0, 0
idleLoadGauge = idleLoad, "IAC Value", "%/Steps", 0, 255, 0, 20, 200, 245, 0, 0
idleLoadGauge = idleLoad, "IAC Value", "%/Steps", 0, {maphigh}, 0, 20, {mapwarn}, {mapdang}, 0, 0
gaugeCategory = "Sensor inputs"
mapGauge = map, "Engine MAP", "kPa", 0, 255, 0, 20, 200, 245, 0, 0
mapGauge = map, "Engine MAP", "kPa", 0, {maphigh}, 0, 20, {mapwarn}, {mapdang}, 0, 0
mapGauge_psi = map_psi, "Engine MAP (PSI)", "PSI", -15, 100, 0, 20, 200, 245, 0, 0
mapGauge_bar = map_bar, "Engine MAP (BAR)", "Bar", -1, 3, -1, -1, 5, 5, 2, 2
mapGauge_vacBoost = map_vacboost, "Engine MAP (in-Hg/PSI)", "in-Hg/PSI", -30, 30, -30, -30, 30, 30, 1, 1
baroGauge = baro, "Baro Pressure", "kPa", 0, 255, 0, 20, 200, 245, 0, 0
baroGauge = baro, "Baro Pressure", "kPa", 0, {maphigh}, 0, 20, {mapwarn}, {mapdang}, 0, 0
batteryVoltage = batteryVoltage,"Battery Voltage", "volts", 0, 25, 8, 9, 15, 16, 2, 2
tpsADCGauge = tpsADC, "TPS ADC", "", 0, 255, -1, -1, 256, 256, 0, 0