Vijay Khemka | abcc94f | 2020-08-11 15:27:44 -0700 | [diff] [blame] | 1 | [ |
| 2 | { |
| 3 | "Desc" : |
| 4 | { |
| 5 | "Name" : "Virtual_Inlet_Temp", |
Harvey Wu | f644374 | 2021-04-09 16:47:36 +0800 | [diff] [blame] | 6 | "SensorType" : "temperature", |
| 7 | "MaxValue": 127.0, |
| 8 | "MinValue": -128.0 |
Vijay Khemka | abcc94f | 2020-08-11 15:27:44 -0700 | [diff] [blame] | 9 | }, |
| 10 | "Threshold" : |
| 11 | { |
| 12 | "CriticalHigh": 90, |
| 13 | "CriticalLow": 20, |
| 14 | "WarningHigh": 70, |
| 15 | "WarningLow": 30 |
| 16 | }, |
| 17 | "Params": |
| 18 | { |
| 19 | "ConstParam" : |
| 20 | [ |
| 21 | { |
| 22 | "ParamName" : "P1", |
| 23 | "Value" : 1.1 |
| 24 | } |
| 25 | ], |
| 26 | "DbusParam" : |
| 27 | [ |
| 28 | { |
| 29 | "ParamName" : "P2", |
| 30 | "Desc" : |
| 31 | { |
| 32 | "Name" : "MB_INLET_TEMP", |
| 33 | "SensorType" : "temperature" |
| 34 | } |
| 35 | }, |
| 36 | { |
| 37 | "ParamName" : "P3", |
| 38 | "Desc" : |
| 39 | { |
| 40 | "Name" : "MB_FAN0_TACH", |
| 41 | "SensorType" : "fan_tach" |
| 42 | } |
| 43 | } |
| 44 | ] |
| 45 | }, |
| 46 | "Expression" : "P1 * (P2 + 5 - P3 * 0.01)" |
| 47 | } |
| 48 | ] |