更新 detector.js
This commit is contained in:
parent
c94d739493
commit
ae8deab660
16
src/public/vendor/detector.js
vendored
16
src/public/vendor/detector.js
vendored
@ -60,7 +60,8 @@ var Types = {
|
||||
windowTilt: 'windowTilt',
|
||||
weatherCurrent: 'weatherCurrent',
|
||||
weatherForecast: 'weatherForecast',
|
||||
warning: 'warning'
|
||||
warning: 'warning',
|
||||
zhiban: 'zhiban'
|
||||
};
|
||||
|
||||
// Description of flags
|
||||
@ -500,6 +501,19 @@ function ChannelDetector() {
|
||||
patternError
|
||||
],
|
||||
type: Types.info
|
||||
},
|
||||
|
||||
//onc ext
|
||||
zhiban: {
|
||||
states: [
|
||||
{role: /zhiban/, indicator: false, write: false, type: 'number', name: 'ACTUAL', required: true},
|
||||
{role: /zhiban$/, indicator: false, write: false, type: 'number', name: 'SECOND', required: false},
|
||||
patternUnreach,
|
||||
patternLowbat,
|
||||
patternMaintain,
|
||||
patternError
|
||||
],
|
||||
type: Types.zhiban
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user