@onbright/hardware-suit
Advanced tools
Comparing version 1.10.4 to 1.11.0
@@ -11,2 +11,4 @@ import { Status } from './Status'; | ||
constructor(status: string); | ||
setGear(num: string): void; | ||
setEvent(num: string): void; | ||
} |
@@ -22,4 +22,10 @@ "use strict"; | ||
} | ||
setGear(num) { | ||
this.gear = num; | ||
} | ||
setEvent(num) { | ||
this.type = num; | ||
} | ||
} | ||
exports.SensorHumanBeingStatus = SensorHumanBeingStatus; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2Vuc29ySHVtYW5CZWluZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9lbnRpdHkvU2Vuc29ySHVtYW5CZWluZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxxQ0FBa0M7QUFFbEMsTUFBYSxzQkFBdUIsU0FBUSxlQUFNO0lBUWhELFlBQVksTUFBYztRQUN4QixLQUFLLENBQUMsTUFBTSxDQUFDLENBQUM7UUFSVCxTQUFJLEdBQVcsRUFBRSxDQUFDO1FBQ2xCLFNBQUksR0FBVyxFQUFFLENBQUM7UUFDbEIsYUFBUSxHQUFXLEVBQUUsQ0FBQztRQUN0QixTQUFJLEdBQVcsRUFBRSxDQUFDO1FBQ2xCLFdBQU0sR0FBVyxFQUFFLENBQUM7UUFDcEIsV0FBTSxHQUFXLEVBQUUsQ0FBQztRQUNwQixZQUFPLEdBQVcsRUFBRSxDQUFDO1FBRzFCLElBQUksQ0FBQyxJQUFJLEdBQUcsTUFBTSxDQUFDLEtBQUssQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUE7UUFDOUIsSUFBSSxDQUFDLElBQUksR0FBRyxNQUFNLENBQUMsS0FBSyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQTtRQUM5QixJQUFJLENBQUMsSUFBSSxHQUFHLE1BQU0sQ0FBQyxLQUFLL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SxDQUFDLElBQUksR0FBRyxNQUFNLENBQUMsS0FBSyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQTtRQUM5QixJQUFJLENBQUMsSUFBSSxHQUFHLE1BQU0sQ0FBQyxLQUFLLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFBO1FBQzlCLElBQUksQ0FBQyxNQUFNLEdBQUcsTUFBTSxDQUFDLEtBQUssQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUE7UUFDaEMsSUFBSSxDQUFDLE1BQU0sR0FBRyxNQUFNLENBQUMsS0FBSyxDQUFDLEVBQUUsRUFBRSxFQUFFLENBQUMsQ0FBQTtRQUNsQyxJQUFJLENBQUMsT0FBTyxHQUFHLE1BQU0sQ0FBQyxLQUFLLENBQUMsRUFBRSxFQUFFLEVBQUUsQ0FBQyxDQUFBO0lBQ3JDLENBQUM7SUFDRCxPQUFPLENBQUMsR0FBVTtRQUNoQixJQUFJLENBQUMsSUFBSSxHQUFHLEdBQUcsQ0FBQTtJQUNqQixDQUFDO0lBQ0QsUUFBUSxDQUFDLEdBQVc7UUFDbEIsSUFBSSxDQUFDLElBQUksR0FBRyxHQUFHLENBQUE7SUFDakIsQ0FBQztDQUNGO0FBdkJELHdEQXVCQyJ9 |
@@ -24,3 +24,3 @@ import { BaseEquip } from './BaseEquip'; | ||
*/ | ||
getStatusDescriptor(): string; | ||
getStatusDescriptor(type?: string): string; | ||
getReportTime(): Number; | ||
@@ -27,0 +27,0 @@ getPowerInt(): Number[]; |
@@ -37,3 +37,3 @@ "use strict"; | ||
*/ | ||
getStatusDescriptor() { | ||
getStatusDescriptor(type = '') { | ||
const allCode = this.meterReadertatus.getStatus(); | ||
@@ -48,2 +48,6 @@ const status = converter_1.fillLength((new this.Converter(allCode.slice(0, 2), 16).toBinary()), 8); | ||
console.log('电表状态', this.meterReadertatus.getStatus(), status, time, threshold, power, energy, voltage, electricCurrent); | ||
// 兼容情景状态 | ||
if (type === 'scene') { | ||
return `${status[7] === '1' ? '通电' : '断电'}`; | ||
} | ||
let desCript = []; | ||
@@ -111,2 +115,2 @@ if (+status.slice(1, 2) === 1) { | ||
exports.MeterReaderEquip = MeterReaderEquip; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWV0ZXJSZWFkZXJFcXVpcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9tb2R1bGVzL01ldGVyUmVhZGVyRXF1aXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMkNBQXdDO0FBQ3hDLG1FQUErRDtBQUMvRCxrREFBb0Y7QUFFbkYsTUFBYSxnQkFBaUIsU0FBUSxxQkFBUztJQUczQyxZQUFZLE1BQWMsRUFBRSxVQUFtQixFQUFFLGVBQXdCO1FBQ3RFLEtBQUssQ0FBQyxNQUFNLEVBQUUsVUFBVSxFQUFFLGVBQWUsQ0FBQyxDQUFDO1FBSDdCLFVBQUssR0FBRyxrQkFBa0IsQ0FBQztRQUl6QyxJQUFJLENBQUMsZ0JBQWdCLEdBQUcsSUFBSSxvQ0FBZ0IsQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUN4RCxDQUFDO0lBQ0Q7O01BRUU7SUFDSyxRQUFRO1FBQ2IsT0FBTyxJQUFJLENBQUMsZ0JBQWdCLENBQUMsU0FBUyxFQUFFLENBQUE7SUFDMUMsQ0FBQztJQUVEOztNQUVFO0lBQ0ssU0FBUyxDQUFDLEdBQVc7UUFDM0IsSUFBSSxDQUFDLGdCQUFnQixDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsQ0FBQTtRQUNwQyxPQUFPLElBQUksQ0FBQztJQUNiLENBQUM7SUFDRjs7OztPQUlHO0lBQ0gsV0FBVztRQUNULE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLFdBQVcsRUF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QUFFLEVBQUUsRUFBRSxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUE7UUFDcEYsT0FBTyxDQUFDLFFBQVEsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFBO0lBQzFCLENBQUM7SUFDRCxXQUFXLENBQUMsS0FBYTtRQUN2QixNQUFNLFNBQVMsR0FBRyxzQkFBVSxDQUFDLG9CQUFRLENBQUMsSUFBSSxDQUFDLGdCQUFnQixDQUFDLGNBQWMsRUFBRSxFQUFFLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQyxFQUFFLENBQUMsQ0FBQTtRQUMvRixTQUFTLENBQUMsQ0FBQyxDQUFDLEdBQUcsS0FBSyxDQUFBO1FBQ3BCLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxjQUFjLENBQUMsaUJBQUssQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUE7UUFDbEUsT0FBTyxJQUFJLENBQUE7SUFDYixDQUFDO0NBQ0g7QUFuR0QsNENBbUdDIn0= |
import { BaseEquip } from './BaseEquip'; | ||
import { SensorHumanBeingStatus } from "../entity/SensorHumanBeing"; | ||
export declare class SensorHumanBeingEquip extends BaseEquip { | ||
private readonly bytes; | ||
readonly SensorHumanBeingStatus: SensorHumanBeingStatus; | ||
@@ -16,5 +17,10 @@ /** | ||
*/ | ||
getCdtBytes(): void; | ||
getCdtBytes(mode?: String): string; | ||
getBytes(): string; | ||
getSensitivity(): Number; | ||
setSensitivity(gear: number): void; | ||
getEventType(): Number; | ||
setEventType(code: number): void; | ||
getTime(): string; | ||
getStatusDescriptor(): string; | ||
getStatusDescriptor(mode?: string): string; | ||
} |
@@ -18,7 +18,7 @@ "use strict"; | ||
const motionMap = { | ||
'0': '静止', | ||
'0': '平静', | ||
'1': '运动' | ||
}; | ||
const nearMap = { | ||
'0': '不接近也不远离', | ||
'0': '无', | ||
'1': '接近', | ||
@@ -40,2 +40,3 @@ '2': '远离' | ||
super(status, deviceType, deviceChildType); | ||
this.bytes = `{0}00000000000000`; | ||
this.SensorHumanBeingStatus = new SensorHumanBeing_1.SensorHumanBeingStatus(status); | ||
@@ -47,4 +48,30 @@ } | ||
*/ | ||
getCdtBytes() { | ||
getCdtBytes(mode = "control") { | ||
if (mode === 'scene') { | ||
return this.bytes.format(this.SensorHumanBeingStatus.type); | ||
} | ||
return ''; | ||
} | ||
getBytes() { | ||
return this.bytes.format(this.SensorHumanBeingStatus.gear); | ||
} | ||
// 获取当前的灵敏度 | ||
getSensitivity() { | ||
return Number(converter_1.toDecimal(this.SensorHumanBeingStatus.gear, 16)); | ||
} | ||
// 获取当前的灵敏度 | ||
setSensitivity(gear) { | ||
this.SensorHumanBeingStatus.setGear(converter_1.toHex(gear + '', 10)); | ||
} | ||
// 获取环境状态 | ||
getEventType() { | ||
return Number(converter_1.fillLength(converter_1.toBinary(this.SensorHumanBeingStatus.type, 16), 8)[7]); | ||
} | ||
// 设置环境状态 | ||
setEventType(code) { | ||
const eventCode = converter_1.fillLength(converter_1.toBinary(this.SensorHumanBeingStatus.type, 16), 8).split(''); | ||
eventCode[7] = code + ''; | ||
this.SensorHumanBeingStatus.setEvent(converter_1.toHex(eventCode.join(''), 2)); | ||
} | ||
// 获取当前时间 | ||
getTime() { | ||
@@ -65,12 +92,14 @@ const time = Number(converter_1.toDecimal(this.SensorHumanBeingStatus.time, 16)); | ||
} | ||
getStatusDescriptor() { | ||
getStatusDescriptor(mode = '') { | ||
const eventCode = converter_1.fillLength(converter_1.toBinary(this.SensorHumanBeingStatus.type, 16), 8); | ||
const gearNumber = converter_1.toDecimal(this.SensorHumanBeingStatus.gear, 16); | ||
// const gearNumber = toDecimal(this.SensorHumanBeingStatus.gear, 16) | ||
const isMotion = Number(converter_1.toDecimal(this.SensorHumanBeingStatus.motion, 16)); | ||
const near = Number(converter_1.toDecimal(this.SensorHumanBeingStatus.isNear, 16)); | ||
const checkNum = Number(converter_1.toDecimal(this.SensorHumanBeingStatus.isCheck, 16)); | ||
return `档位:${Number(gearNumber)}档 | 事件类型:${evnetMap[eventCode[7]] || ''}${eventCode[6] === '1' ? ',定时上报' : ''}${eventCode[5] === '1' ? ',按键上报' : ''} | 上报时间:${this.getTime() || '-'} | 运动/静止:${motionMap[isMotion] || '-'} | 接近/远离:${nearMap[near] || '-'} | 状态检查开关:${checkMap[checkNum] || '-'}`; | ||
// const checkNum = Number(toDecimal(this.SensorHumanBeingStatus.isCheck, 16)) | ||
if (mode === 'scene') | ||
return evnetMap[eventCode[7]]; | ||
return `环境状态:${evnetMap[eventCode[7]] || ''} | 动作状态:${motionMap[isMotion] || '-'} | 人体动向:${nearMap[near] || '-'} `; | ||
} | ||
} | ||
exports.SensorHumanBeingEquip = SensorHumanBeingEquip; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2Vuc29ySHVtYW5CZWluZ0VxdWlwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL21vZHVsZXMvU2Vuc29ySHVtYW5CZWluZ0VxdWlwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBOzs7OztHQUtHO0FBQ0gsMkNBQXdDO0FBQ3hDLGlFQUFvRTtBQUNwRSxrREFBb0U7QUFFcEUsTUFBTSxRQUFRLEdBQVE7SUFDcEIsR0FBRyxFQUFFLElBQUk7SUFDVCxHQUFHLEVBQUUsSUFBSTtDQUNWLENBQUE7QUFDRCxNQUFNLFNBQVMsR0FBUTtJQUNyQixHQUFHLEVBQUUsSUFBSTtJQUNULEdBQUcsRUFBRSxJQUFJO0NBQ1YsQ0FBQTtBQUNELE1BQU0sT0FBTyxHQUFRO0lBQ25CLEdBQUcsRUFBRSxTQUFTO0lBQ2QsR0FBRyxFQUFFLElBQUk7SUFDVCxHQUFHLE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RUQsc0RBc0VDIn0= |
@@ -112,3 +112,3 @@ import { Converter } from './converter'; | ||
*/ | ||
getMeterReaderDescriptor(status: string, deviceType: string, deviceChildType: string): string; | ||
getMeterReaderDescriptor(status: string, deviceType: string, deviceChildType: string, selectType?: string): string; | ||
/** | ||
@@ -115,0 +115,0 @@ * 获取设备状态描述 |
@@ -254,5 +254,5 @@ "use strict"; | ||
*/ | ||
getMeterReaderDescriptor(status, deviceType, deviceChildType) { | ||
getMeterReaderDescriptor(status, deviceType, deviceChildType, selectType = '') { | ||
const condition = new MeterReaderEquip_1.MeterReaderEquip(status, deviceType, deviceChildType); | ||
return condition.getStatusDescriptor(); | ||
return condition.getStatusDescriptor(selectType); | ||
} | ||
@@ -284,2 +284,2 @@ /** | ||
exports.Descriptor = new _Descriptor(); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGVzY3JpcHRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy91dGlscy9EZXNjcmlwdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSwyQ0FBb0Q7QUFDcEQsMkNBQXdDO0FBQ3hDLDBEQUFnRTtBQUNoRSxxREFBa0Q7QUFDbEQsZ0VBQTZEO0FBQzdELHlEQUFzRDtBQUV0RCwwREFBdUQ7QUFDdkQsc0VBQW1FO0FBQ25FLHdEQUFxRDtBQUVyRCwwREFBdUQ7QUFDdkQsd0RBQXFEO0FBRXJELDhEQUEyRDtBQUMzRCw0REFBeUQ7QUFDekQsa0VBQStEO0FBQy9ELDREQUF5RDtBQUV6RDs7R0FFRztBQUNILE1BQWEsV0FBVztJQU90QjtRQUxnQixXQUFNLEdBQUcsRUFBRSxDQUFDO1FBQ1osZUFBVSxHQUFHLEVBQUUsQ0FBQztRQUNoQixjQUFTLEdBQUcsRUFBRSxDQ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UFBRTtRQUM5RyxNQUFNLGFBQWEsR0FBRyxLQUFLLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxFQUFFO1lBQ3hFLE1BQU0sY0FBYyxHQUFHLE9BQU8sQ0FBQyxTQUFTLEVBQUUsQ0FBQTtZQUMxQyxPQUFPLElBQUksQ0FBQyxTQUFTLENBQUMsS0FBSyxjQUFjLEVBQUUsQ0FBQyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsU0FBUyxFQUFFLFVBQVUsRUFBRSxlQUFlLENBQUMsSUFBSSxFQUFFLENBQUM7UUFDdkcsQ0FBQyxDQUFDLElBQUksRUFBRSxDQUFBO1FBQ1IsTUFBTSxnQkFBZ0IsR0FBRyxNQUFNLGFBQWEsQ0FBQyxTQUFTLEVBQUUsWUFBWSxDQUFBO1FBQ3BFLElBQUksSUFBSSxDQUFDLGdCQUFnQixDQUFDLEVBQUU7WUFDMUIsT0FBTyxJQUFJLENBQUMsZ0JBQWdCLENBQUMsQ0FBQyxJQUFJLENBQUMsSUFBSSxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsZUFBZSxFQUFFLFVBQVUsQ0FBQyxDQUFBO1NBQzFGO1FBQ0QsT0FBTyxFQUFFLENBQUE7SUFDWCxDQUFDO0NBQ0Y7QUE5UEQsa0NBOFBDO0FBRUQ7OztHQUdHO0FBQ1UsUUFBQSxVQUFVLEdBQUcsSUFBSSxXQUFXLEVBQUUsQ0FBQyJ9 |
@@ -0,1 +1,13 @@ | ||
## [1.11.0](http://git.on-bright.com:8081/iweb/hardware-suit/compare/v1.10.4...v1.11.0) (2022-03-10) | ||
### Features | ||
* 人体存在优化,电表场景条件 ([85c3779](http://git.on-bright.com:8081/iweb/hardware-suit/commit/85c3779b453dc0bacea336fd7ee109764e6d9048)) | ||
### Bug Fixes | ||
* 人体存在状态修改 ([8672521](http://git.on-bright.com:8081/iweb/hardware-suit/commit/8672521f5a0f806ee287de3f934271e02417784e)) | ||
### [1.10.4](http://git.on-bright.com:8081/iweb/hardware-suit/compare/v1.10.3...v1.10.4) (2022-03-03) | ||
@@ -2,0 +14,0 @@ |
{ | ||
"name": "@onbright/hardware-suit", | ||
"version": "1.10.4", | ||
"version": "1.11.0", | ||
"description": "hardware-suit javascript library", | ||
@@ -5,0 +5,0 @@ "main": "dist/hardware-suit.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2418820
25765