更新 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',
|
windowTilt: 'windowTilt',
|
||||||
weatherCurrent: 'weatherCurrent',
|
weatherCurrent: 'weatherCurrent',
|
||||||
weatherForecast: 'weatherForecast',
|
weatherForecast: 'weatherForecast',
|
||||||
warning: 'warning'
|
warning: 'warning',
|
||||||
|
zhiban: 'zhiban'
|
||||||
};
|
};
|
||||||
|
|
||||||
// Description of flags
|
// Description of flags
|
||||||
@ -500,6 +501,19 @@ function ChannelDetector() {
|
|||||||
patternError
|
patternError
|
||||||
],
|
],
|
||||||
type: Types.info
|
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