Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hardware-suit

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hardware-suit - npm Package Compare versions

Comparing version 1.1.29 to 1.1.31

build/main/entity/SwitchMixStatus.d.ts

2

build/main/entity/CurtainStatus.js

@@ -8,3 +8,3 @@ "use strict";

* @Last Modified by: eamiear
* @Last Modified time: 2020-10-12 17:28:56
* @Last Modified time: 2020-12-18 11:03:16
*/

@@ -11,0 +11,0 @@ const Status_1 = require("./Status");

@@ -7,6 +7,9 @@ import { SwitchStatus } from './SwitchStatus';

state: string;
normalState: string;
extraState: string;
extraCount: number;
extraKeyDots: string[];
constructor(status: string, count?: Array<number>, typeIndex?: string);
setDots(): void;
getState(): string;
setExtraKeyDots(v: string, index: number): SwitchSceneStatus;
getExtraKeyDotByIndex(index: number): string | undefined;
getExtraState(): string;
}

@@ -6,3 +6,3 @@ "use strict";

* @Last Modified by: eamiear
* @Last Modified time: 2020-12-17 15:44:05
* @Last Modified time: 2020-12-17 16:57:01
*/

@@ -16,16 +16,25 @@ Object.defineProperty(exports, "__esModule", { value: true });

class SwitchSceneStatus extends SwitchStatus_1.SwitchStatus {
// normalKeyDots: string[];
constructor(status, count, typeIndex) {
super(status, count, typeIndex);
this.state = '';
this.normalState = status.slice(2, 4);
// this.normalKeyDots = this.__parseKeyDots(this.normalState)
this.extraCount = this.count[1] || 0;
this.extraState = status.slice(2, 4);
this.extraKeyDots = this.__parseKeyDots(this.extraState, this.extraCount);
}
setDots() {
setExtraKeyDots(v, index) {
if (index + 1 > this.extraCount)
return this;
this.extraKeyDots[index] = v.toEven();
return this;
}
getState() {
return this.state;
getExtraKeyDotByIndex(index) {
if (index + 1 > this.extraCount)
return;
return this.extraKeyDots[index];
}
getExtraState() {
return this.extraState;
}
}
exports.SwitchSceneStatus = SwitchSceneStatus;
//# sourceMappingUR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BQ3BFLEtBQUssQ0FBQyxNQUFNLEVBQUUsS0FBSyxFQUFFLFNBQVMsQ0FBQyxDQUFBO1FBTDFCLFVBQUssR0FBVyxFQUFFLENBQUM7UUFNeEIsSUFBSSxDQUFDLFVBQVUsR0FBRyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQTtRQUNwQyxJQUFJLENBQUMsVUFBVSxHQUFHLE1BQU0sQ0FBQyxLQUFLLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFBO1FBQ3BDLElBQUksQ0FBQyxZQUFZLEdBQUcsSUFBSSxDQUFDLGNBQWMsQ0FBQyxJQUFJLENBQUMsVUFBVSxFQUFFLElBQUksQ0FBQyxVQUFVLENBQUMsQ0FBQTtJQUMzRSxDQUFDO0lBRUQsZUFBZSxDQUFFLENBQVMsRUFBRSxLQUFhO1FBQ3ZDLElBQUksS0FBSyxHQUFHLENBQUMsR0FBRyxJQUFJLENBQUMsVUFBVTtZQUFFLE9BQU8sSUFBSSxDQUFBO1FBQzVDLElBQUksQ0FBQyxZQUFZLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDLE1BQU0sRUFBRSxDQUFBO1FBQ3JDLE9BQU8sSUFBSSxDQUFBO0lBQ2IsQ0FBQztJQUVELHFCQUFxQixDQUFFLEtBQWE7UUFDbEMsSUFBSSxLQUFLLEdBQUcsQ0FBQyxHQUFHLElBQUksQ0FBQyxVQUFVO1lBQUUsT0FBTTtRQUN2QyxPQUFPLElBQUksQ0FBQyxZQUFZLENBQUMsS0FBSyxDQUFDLENBQUE7SUFDakMsQ0FBQztJQUVELGFBQWE7UUFDWCxPQUFPLElBQUksQ0FBQyxVQUFVLENBQUE7SUFDeEIsQ0FBQztDQUNGO0FBMUJELDhDQTBCQyJ9
import { Status } from './Status';
/**
* TODO 开关
* 开关 或 情景状态
*/
export declare class SwitchStatus extends Status {
state: string;
keyDots: string[];
typeIndex: string;

@@ -12,11 +11,26 @@ count: number[];

constructor(status: string, count?: Array<number>, typeIndex?: string);
get keyDots(): string[];
/**
* 解析按键坑位状态码
* @param state 16进制状态码
* @param count 按键数
*/
__parseKeyDots(state: string, count: number): string[];
/**
* 获取按键坑位,二进制码
* 获取主程按键坑位,二进制码
* 反转数组 ['01', '11', '10', '00'] => ["00", "10", "11", "01"]
*/
private getKeyDots;
setKeyDot(v: string, index: number): void;
/**
* 设置按键值
* @param v 二进制值
* @param index 索引
*/
setKeyDot(v: string, index: number): SwitchStatus;
/**
* 获取按键值
* @param index 索引
*/
getKeyDotByIndex(index: number): string | undefined;
getState(): string;
}

@@ -6,3 +6,3 @@ "use strict";

* @Last Modified by: eamiear
* @Last Modified time: 2020-12-17 15:43:49
* @Last Modified time: 2020-12-18 14:51:22
*/

@@ -14,3 +14,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

/**
* TODO 开关
* 开关 或 情景状态
*/

@@ -21,3 +21,3 @@ class SwitchStatus extends Status_1.Status {

this.state = '';
this.count = [1]; // 按键数
this.count = [1]; // 按键数列表 [3, 3] ---> 开关 3, 情景 3
this.state = status.slice(0, 2) || '00';

@@ -27,7 +27,16 @@ this.count = count || [1];

this.typeIndex = typeIndex || '';
this.keyDots = this.getKeyDots();
// this.keyDots = this.getKeyDots()
}
// 按键字节位
get keyDots() {
return this.getKeyDots();
}
/**
* 解析按键坑位状态码
* @param state 16进制状态码
* @param count 按键数
*/
__parseKeyDots(state, count) {
let keyList = [];
const converter = new converter_1.Converter(state, 16);
const converter = new converter_1.Converter(state || '00', 16);
const bits = converter.fillBinary(converter.toBinary());

@@ -42,3 +51,3 @@ let i = 0;

/**
* 获取按键坑位,二进制码
* 获取主程按键坑位,二进制码
* 反转数组 ['01', '11', '10', '00'] => ["00", "10", "11", "01"]

@@ -49,7 +58,17 @@ */

}
/**
* 设置按键值
* @param v 二进制值
* @param index 索引
*/
setKeyDot(v, index) {
if (index + 1 > this._count)
return;
return this;
this.keyDots[index] = v.toEven();
return this;
}
/**
* 获取按键值
* @param index 索引
*/
getKeyDotByIndex(index) {

@@ -65,2 +84,2 @@ if (index + 1 > this._count)

exports.SwitchStatus = SwitchStatus;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3dpdGNoU3RhdHVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2VudGl0eS9Td2l0Y2hTdGF0dXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7OztHQUtHOzs7QUFFSCxrREFBK0M7QUFDL0MscUNBQWtDO0FBQ2xDOztHQUVHO0FBQ0gsTUFBYSxZQUFhLFNBQVEsZUFBTTtJQU10QyxZQUFhLE1BQWMsRUFBRSxLQUFxQixFQUFFLFNBQWtCO1FBQ3BFLEtBQUssQ0FBQyxNQUFNLENBQUMsQ0FBQTtRQU5SLFVBQUssR0FBVyxFQUFFLENBQUM7UUFHMUIsVUFBSyxHQUFhLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxNQUFNO1FBSTNCLElBQUksQ0FBQyxLQUFLLEdBQUcsTUFBTSxDQUFDLEtBQUssQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLElBQUksSUFBSSxDQUFBO1FBQ3ZDLElBQUksQ0FBQyxLQUFLLEdBQUcsS0FBSyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUE7UUFDekIsSUFBSSxDQUFDLE1BQU0sR0FBRyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFBO1FBQzNCLElBQUksQ0FBQyxTQUFTLEdBQUcsU0FBUyxJQUFJLEVBQUUsQ0FBQTtRQUNoQyxJQUFJLENBQUMsT0FBTyxHQUFHLElBQUksQ0FBQyxVQUFVLEVBQUUsQ0FBQTtJQUNsQyxDQUFDO0lBQ0QsY0FBYyxDQUFFLEtBQWEsRUFBRSxLQUFhO1FBQzFDLElBQUksT0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LENBQUE7UUFDaEMsT0FBTyxJQUFJLENBQUE7SUFDYixDQUFDO0lBQ0Q7OztPQUdHO0lBQ0gsZ0JBQWdCLENBQUUsS0FBYTtRQUM3QixJQUFJLEtBQUssR0FBRyxDQUFDLEdBQUcsSUFBSSxDQUFDLE1BQU07WUFBRSxPQUFNO1FBQ25DLE9BQU8sSUFBSSxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUMsQ0FBQTtJQUM1QixDQUFDO0lBQ0QsUUFBUTtRQUNOLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQTtJQUNuQixDQUFDO0NBQ0Y7QUE5REQsb0NBOERDIn0=

@@ -11,6 +11,9 @@ import './utils/string';

export * from './modules/AirConditionEquip';
export * from './modules/WireConditionEquip';
export * from './modules/HumidityEquip';
export * from './modules/SwitchEquip';
export * from './modules/SwitchMixEquip';
export * from './modules/SwitchPlugEquip';
export * from './modules/SocketEquip';
export * from './modules/CurtainEquip';
export * from './modules/CardPowerEquip';

@@ -24,7 +24,10 @@ "use strict";

__exportStar(require("./modules/AirConditionEquip"), exports);
__exportStar(require("./modules/WireConditionEquip"), exports);
__exportStar(require("./modules/HumidityEquip"), exports);
__exportStar(require("./modules/SwitchEquip"), exports);
__exportStar(require("./modules/SwitchMixEquip"), exports);
__exportStar(require("./modules/SwitchPlugEquip"), exports);
__exportStar(require("./modules/SocketEquip"), exports);
__exportStar(require("./modules/CurtainEquip"), exports);
__exportStar(require("./modules/CardPowerEquip"), exports);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEsb0JBQW9CO0FBQ3BCLDBCQUF3QjtBQUN4QixvREFBa0M7QUFDbEMscURBQW1DO0FBQ25DLGlEQUErQjtBQUMvQixvREFBa0M7QUFFbEMsc0RBQW9DO0FBQ3BDLHNEQUFvQztBQUNwQyx5REFBdUM7QUFDdkMsNkRBQTJDO0FBQzNDLDhEQUE0QztBQUM1QywwREFBd0M7QUFDeEMsd0RBQXNDO0FBQ3RDLHdEQUFzQztBQUN0Qyx5REFBdUM7QUFDdkMsMkRBQXlDIn0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEsb0JBQW9CO0FBQ3BCLDBCQUF3QjtBQUN4QixvREFBa0M7QUFDbEMscURBQW1DO0FBQ25DLGlEQUErQjtBQUMvQixvREFBa0M7QUFFbEMsc0RBQW9DO0FBQ3BDLHNEQUFvQztBQUNwQyx5REFBdUM7QUFDdkMsNkRBQTJDO0FBQzNDLDhEQUE0QztBQUM1QywrREFBNkM7QUFDN0MsMERBQXdDO0FBQ3hDLHdEQUFzQztBQUN0QywyREFBeUM7QUFDekMsNERBQTBDO0FBQzFDLHdEQUFzQztBQUN0Qyx5REFBdUM7QUFDdkMsMkRBQXlDIn0=

@@ -25,3 +25,9 @@ import { BaseEquip } from './BaseEquip';

constructor(status: string, deviceType?: string, deviceChildType?: string);
get curStatus(): string;
get curStatusInt(): number;
/**
* 获取按键电源/活跃状态
*/
getPower(): number[];
/**
* 设置状态

@@ -44,5 +50,9 @@ * @param status 状态值 (0 关, 1 暂停, 2 开)

/**
* 获取窗帘状态
*/
getStatusDescriptor(): any;
/**
* 获取状态字节串
*/
getbytes(): string;
getBytes(): string;
}

@@ -9,8 +9,13 @@ "use strict";

*/
var Operation;
(function (Operation) {
Operation[Operation["STOP"] = 0] = "STOP";
Operation[Operation["PAUSE"] = 1] = "PAUSE";
Operation[Operation["OPEN"] = 2] = "OPEN";
})(Operation || (Operation = {}));
var CurtainStatusEnum;
(function (CurtainStatusEnum) {
CurtainStatusEnum[CurtainStatusEnum["STOP"] = 0] = "STOP";
CurtainStatusEnum[CurtainStatusEnum["PAUSE"] = 1] = "PAUSE";
CurtainStatusEnum[CurtainStatusEnum["OPEN"] = 2] = "OPEN";
})(CurtainStatusEnum || (CurtainStatusEnum = {}));
const CurtainStatusMap = {
[CurtainStatusEnum.STOP]: '关',
[CurtainStatusEnum.PAUSE]: '暂停',
[CurtainStatusEnum.OPEN]: '开'
};
/**

@@ -40,3 +45,19 @@ * 窗帘套件

}
get curStatus() {
return this.curtainStatus.getStatus();
}
get curStatusInt() {
return +new this.Converter(this.curStatus, 2).toDecimal();
}
/**
* 获取按键电源/活跃状态
*/
getPower() {
const v = this.curStatusInt;
let power = [0, 0, 0];
if (v >= 0)
power[v] = 1;
return power;
}
/**
* 设置状态

@@ -55,3 +76,3 @@ * @param status 状态值 (0 关, 1 暂停, 2 开)

open() {
return this.setStatus(Operation.OPEN);
return this.setStatus(CurtainStatusEnum.OPEN);
}

@@ -62,3 +83,3 @@ /**

pause() {
return this.setStatus(Operation.PAUSE);
return this.setStatus(CurtainStatusEnum.PAUSE);
}

@@ -69,8 +90,14 @@ /**

stop() {
return this.setStatus(Operation.STOP);
return this.setStatus(CurtainStatusEnum.STOP);
}
/**
* 获取窗帘状态
*/
getStatusDescriptor() {
return CurtainStatusMap[this.curStatusInt] || '';
}
/**
* 获取状态字节串
*/
getbytes() {
getBytes() {
return this.bytes.format(this.curtainStatus.getStatus());

@@ -80,2 +107,2 @@ }

exports.CurtainEquip = CurtainEquip;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ3VydGFpbkVxdWlwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL21vZHVsZXMvQ3VydGFpbkVxdWlwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLDJD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0FBQyxTQUFTLENBQUMsTUFBTSxDQUFDLFFBQVEsRUFBRSxFQUFFLEVBQUUsQ0FBQyxDQUFDLEtBQUssRUFBRSxDQUFDLENBQUE7UUFDL0UsT0FBTyxJQUFJLENBQUE7SUFDYixDQUFDO0lBRUQ7O09BRUc7SUFDSSxJQUFJO1FBQ1QsT0FBTyxJQUFJLENBQUMsU0FBUyxDQUFDLGlCQUFpQixDQUFDLElBQUksQ0FBQyxDQUFBO0lBQy9DLENBQUM7SUFDRDs7T0FFRztJQUNJLEtBQUs7UUFDVixPQUFPLElBQUksQ0FBQyxTQUFTLENBQUMsaUJBQWlCLENBQUMsS0FBSyxDQUFDLENBQUE7SUFDaEQsQ0FBQztJQUVEOztPQUVHO0lBQ0ksSUFBSTtRQUNULE9BQU8sSUFBSSxDQUFDLFNBQVMsQ0FBQyxpQkFBaUIsQ0FBQyxJQUFJLENBQUMsQ0FBQTtJQUMvQyxDQUFDO0lBRUQ7O09BRUc7SUFDSCxtQkFBbUI7UUFDakIsT0FBTyxnQkFBZ0IsQ0FBQyxJQUFJLENBQUMsWUFBWSxDQUFDLElBQUksRUFBRSxDQUFBO0lBQ2xELENBQUM7SUFDRDs7T0FFRztJQUNJLFFBQVE7UUFDYixPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxhQUFhLENBQUMsU0FBUyxFQUFFLENBQUMsQ0FBQTtJQUMxRCxDQUFDO0NBQ0Y7QUEzRUQsb0NBMkVDIn0=

@@ -14,2 +14,6 @@ import { SwitchStatus } from '../entity/SwitchStatus';

* 开关类型标志
* {
* normal: 1,
* scene: 0
* }
*/

@@ -19,2 +23,3 @@ get keyTypes(): any;

* 按键
* ['00', '01', '10', '11']
*/

@@ -21,0 +26,0 @@ get keyDots(): string[];

@@ -8,3 +8,3 @@ "use strict";

* @Last Modified by: eamiear
* @Last Modified time: 2020-12-17 15:44:24
* @Last Modified time: 2020-12-17 17:00:40
*/

@@ -47,2 +47,6 @@ const SwitchStatus_1 = require("../entity/SwitchStatus");

* 开关类型标志
* {
* normal: 1,
* scene: 0
* }
*/

@@ -65,5 +69,5 @@ get keyTypes() {

* 按键
* ['00', '01', '10', '11']
*/
get keyDots() {
// ['00', '01', '10', '11']
return this.switchStatus.keyDots;

@@ -104,3 +108,3 @@ }

const keyDots = this.switchStatus.keyDots.reverse();
const status = new this.Converter(keyDots.join(''), 2).toHex();
const status = new this.Converter(keyDots.join('') || '00', 2).toHex();
return this.bytes.format(status);

@@ -110,2 +114,2 @@ }

exports.SwitchEquip = SwitchEquip;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3dpdGNoRXF1aXAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbW9kdWxlcy9Td2l0Y2hFcXVpcC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTs7Ozs7R0FLRztBQUNILHlEQUFzRDtBQUN0RCwyQ0FBd0M7QUFFeEMsSUFBSyxlQUdKO0FBSEQsV0FBSyxlQUFlO0lBQ2xCLGlEQUFNLENBQUE7SUFDTixtREFBTyxDQUFBO0FBQ1QsQ0FBQyxFQUhJLGVBQWUsS0FBZixlQUFlLFFBR25CO0FBRUQsYUFBYTtBQUNiLElBQUssa0JBR0o7QUFIRCxXQUFLLGtCQUFrQjtJQUNyQiwrREFBVSxDQUFBO0lBQ1YsNkRBQVMsQ0FBQSxDQUFDLEtBQUs7QUFDakIsQ0FBQyxFQUhJLGtCQUFrQixLQUFsQixrQkFBa0IsUUFHdEI7QUFFRCxNQUFNLHFCQUFxQixHQUFPO0lBQ2hDLENBQUMsa0JBQWtCLENBQUMsTUFBTSxDQUFDLEVBQUUsUUFBUTtJQUNyQyxDQUFDLGtCQUFrQixDQUFDLEtBQUssQ0FBQyxFQUFFLE9BQU87Q0FDcEMsQ0FBQTtBQUVELE1BQU0sa0JBQWtCLEdBQVE7S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QUMsT0FBTyxDQUFDLE9BQU8sRUFBRSxDQUFBO1FBQ25ELE1BQU0sTUFBTSxHQUFHLElBQUksSUFBSSxDQUFDLFNBQVMsQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxJQUFJLElBQUksRUFBRSxDQUFDLENBQUMsQ0FBQyxLQUFLLEVBQUUsQ0FBQTtRQUN0RSxPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsTUFBTSxDQUFDLE1BQU0sQ0FBQyxDQUFBO0lBQ2xDLENBQUM7Q0FDRjtBQTVFRCxrQ0E0RUMifQ==

@@ -90,3 +90,3 @@ "use strict";

fillBinary(value = '') {
return this.fill(8, value);
return this.fill((this.value.length || 1) * 8, value);
}

@@ -100,2 +100,2 @@ }

exports.fillLength = _fillLength;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVydGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3V0aWxzL2NvbnZlcnRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTs7Ozs7O0dBTUc7QUFDSCxNQUFNLEdBQUcsR0FBRyxDQUFDLEtBQWEsRUFBRSxJQUFZLEVBQUUsRUFBVSxFQUFVLEVBQUU7SUFDOUQsT0FBTyxRQUFRLENBQUMsS0FBSyxFQUFFLElBQUksQ0FBQyxDQUFDLFFBQVEsQ0FBQyxFQUFFLENBQUMsQ0FBQztBQUM1QyxDQUFDLENBQUM7QUFFRixNQUFNLFNBQVMsR0FBRyxDQUFDLEtBQWEsRUFBRSxJQUFZLEVBQVUsRUFBRTtJQUN4RCxPQUFPLEdBQUcsQ0FBQyxLQUFLLEVBQUUsSUFBSSxFQUFFLENBQUMsQ0FBQyxDQUFDO0FBQzdCLENBQUMsQ0FBQztBQUVGLE1BQU0sUUFBUSxHQUFHLENBQUMsS0FBYSxFQUFFLElBQVksRUFBVS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sUUFBZ0IsRUFBRTtRQUN6QyxPQUFPLFdBQVcsQ0FBQyxLQUFLLElBQUksSUFBSSxDQUFDLEtBQUssRUFBRSxHQUFHLENBQUMsQ0FBQztJQUMvQyxDQUFDO0lBQ00sVUFBVSxDQUFFLFFBQWdCLEVBQUU7UUFDbkMsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQyxNQUFNLElBQUksQ0FBQyxDQUFDLEdBQUcsQ0FBQyxFQUFFLEtBQUssQ0FBQyxDQUFBO0lBQ3ZELENBQUM7Q0FDRjtBQTFERCw4QkEwREM7QUFFWSxRQUFBLFFBQVEsR0FBRyxTQUFTLENBQUM7QUFDckIsUUFBQSxPQUFPLEdBQUcsUUFBUSxDQUFDO0FBQ25CLFFBQUEsU0FBUyxHQUFHLFVBQVUsQ0FBQztBQUN2QixRQUFBLEtBQUssR0FBRyxNQUFNLENBQUM7QUFDZixRQUFBLFVBQVUsR0FBRyxXQUFXLENBQUMifQ==

@@ -59,3 +59,3 @@ import { Converter } from './converter';

/**
* 获取开关状态描述
* TODO 获取开关状态描述
* @param status 状态码 16位字符串

@@ -67,2 +67,9 @@ * @param deviceType 设备主类型

/**
* 获取窗帘状态描述
* @param status 状态码 16位字符串
* @param deviceType 设备主类型
* @param deviceChildType 设备子类型
*/
getSmartSwitchDescriptor(status: string, deviceType: string, deviceChildType?: string): string;
/**
* 获取灯状态描述

@@ -76,2 +83,9 @@ * @param status 状态

/**
* 线控器状态描述
* @param status
* @param deviceType
* @param deviceChildType
*/
getWireControlDescriptor(status: string, deviceType: string, deviceChildType: string): string;
/**
* 获取设备状态描述

@@ -78,0 +92,0 @@ * @param status 状态 16位字符串

@@ -30,2 +30,5 @@ "use strict";

const CardPowerEquip_1 = require("../modules/CardPowerEquip");
const SwitchMixEquip_1 = require("../modules/SwitchMixEquip");
const CurtainEquip_1 = require("../modules/CurtainEquip");
const WireConditionEquip_1 = require("../modules/WireConditionEquip");
/**

@@ -131,3 +134,3 @@ * 状态描述器

/**
* 获取开关状态描述
* TODO 获取开关状态描述
* @param status 状态码 16位字符串

@@ -148,21 +151,41 @@ * @param deviceType 设备主类型

}
if (TypeHints.isTouchSocketSwitch(deviceChildType)) {
const statusBitStr = converter_1.fillLength(socketStatus.getTouchStatus(), bitlen);
return this.getDescriptors(deviceType, statusBitStr);
// if (TypeHints.isTouchSocketSwitch(deviceChildType)) {
// const statusBitStr = fillLength(socketStatus.getTouchStatus(), bitlen);
// return this.getDescriptors(deviceType, statusBitStr);
// }
// if (TypeHints.isNormalSocketSwitch(deviceChildType)) {
// const statusBitStr = fillLength(socketStatus.getTouchStatus(), bitlen);
// return this.getDescriptors(deviceType, statusBitStr);
// }
// if (TypeHints.isMixSocketSwitch(deviceChildType)) {
// const statusBitStr = fillLength(socketStatus.getMixupStatus(), bitlen);
// return this.getDescriptors(deviceType, statusBitStr);
// }
// if (TypeHints.isSceneSocketSwitch(deviceChildType)) {
// const statusBitStr = fillLength(socketStatus.getSceneStatus(), bitlen);
// return this.getDescriptors(deviceType, statusBitStr);
// }
// if (TypeHints.isXkeySocketSwitch(deviceChildType)) {
// return socketStatus.getTouchStatus() === '00' ? '关' : '开'
// }
// console.log('deviceChildType === ', deviceChildType, TypeHints.isXkeySocketSwitch(deviceChildType, deviceType))
if (TypeHints.isXkeySocketSwitch(deviceChildType, deviceType)) {
// return socketStatus.getTouchStatus() === '00' ? '关' : '开'
const equip = new SwitchMixEquip_1.SwitchMixEquip(status, deviceType, deviceChildType);
return equip.getStatusDescriptor();
}
if (TypeHints.isNormalSocketSwitch(deviceChildType)) {
const statusBitStr = converter_1.fillLength(socketStatus.getTouchStatus(), bitlen);
return this.getDescriptors(deviceType, statusBitStr);
return '';
}
/**
* 获取窗帘状态描述
* @param status 状态码 16位字符串
* @param deviceType 设备主类型
* @param deviceChildType 设备子类型
*/
getSmartSwitchDescriptor(status, deviceType, deviceChildType) {
const TypeHints = this.TypeHints;
if (TypeHints.isCurtainSmartSwitch(deviceChildType, deviceType)) {
const curtain = new CurtainEquip_1.CurtainEquip(status, deviceType, deviceChildType);
return curtain.getStatusDescriptor();
}
if (TypeHints.isMixSocketSwitch(deviceChildType)) {
const statusBitStr = converter_1.fillLength(socketStatus.getMixupStatus(), bitlen);
return this.getDescriptors(deviceType, statusBitStr);
}
if (TypeHints.isSceneSocketSwitch(deviceChildType)) {
const statusBitStr = converter_1.fillLength(socketStatus.getSceneStatus(), bitlen);
return this.getDescriptors(deviceType, statusBitStr);
}
if (TypeHints.isXkeySocketSwitch(deviceChildType)) {
return socketStatus.getTouchStatus() === '00' ? '关' : '开';
}
return '';

@@ -215,2 +238,16 @@ }

/**
* 线控器状态描述
* @param status
* @param deviceType
* @param deviceChildType
*/
getWireControlDescriptor(status, deviceType, deviceChildType) {
const TypeHints = this.TypeHints;
if (TypeHints.isAcWireControl(deviceChildType, deviceType)) {
const condition = new WireConditionEquip_1.WireConditionEquip(status, deviceType, deviceChildType);
return condition.getStatusDescriptor();
}
return '';
}
/**
* 获取设备状态描述

@@ -239,2 +276,2 @@ * @param status 状态 16位字符串

exports.Descriptor = new _Descriptor();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGVzY3JpcHRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy91dGlscy9EZXNjcmlwdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSwyQ0FBb0Q7QUFDcEQsMkNBQXdDO0FBQ3hDLDBEQUFnRTtBQUNoRSxxREFBa0Q7QUFDbEQsZ0VBQTZEO0FBQzdELHlEQUFzRDtBQUN0RCw4REFBMkQ7QUFFM0Q7O0dBRUc7QUFDSCxNQUFhLFdBQVc7SUFPdEI7UUFMZ0IsV0FBTSxHQUFHLEVBQUUsQ0FBQztRQUNaLGVBQVUsR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UFPLEVBQUUsQ0FBQTtJQUNYLENBQUM7SUFFRDs7Ozs7T0FLRztJQUNJLG1CQUFtQixDQUFFLE1BQWMsRUFBRSxVQUFrQixFQUFFLGVBQXVCO1FBRXJGLE1BQU0sYUFBYSxHQUFHLEtBQUssQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFDLEVBQUU7WUFDeEUsTUFBTSxjQUFjLEdBQUcsT0FBTyxDQUFDLFNBQVMsRUFBRSxDQUFBO1lBQzFDLE9BQU8sSUFBSSxDQUFDLFNBQVMsQ0FBQyxLQUFLLGNBQWMsRUFBRSxDQUFDLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxTQUFTLEVBQUUsVUFBVSxFQUFFLGVBQWUsQ0FBQyxJQUFJLEVBQUUsQ0FBQztRQUN2RyxDQUFDLENBQUMsSUFBSSxFQUFFLENBQUE7UUFDUixNQUFNLGdCQUFnQixHQUFHLE1BQU0sYUFBYSxDQUFDLFNBQVMsRUFBRSxZQUFZLENBQUE7UUFDcEUsSUFBSSxJQUFJLENBQUMsZ0JBQWdCLENBQUMsRUFBRTtZQUMxQixPQUFPLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFDLElBQUksQ0FBQyxJQUFJLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxlQUFlLENBQUMsQ0FBQTtTQUM5RTtRQUNELE9BQU8sRUFBRSxDQUFBO0lBQ1gsQ0FBQztDQUNGO0FBelJELGtDQXlSQztBQUVEOzs7R0FHRztBQUNVLFFBQUEsVUFBVSxHQUFHLElBQUksV0FBVyxFQUFFLENBQUMifQ==

@@ -84,4 +84,2 @@ /**

'0401': string;
'0402': string;
'0403': string;
'0412': string;

@@ -96,3 +94,2 @@ '0413': string;

'0426': string;
'0427': string;
'0428': string;

@@ -104,9 +101,11 @@ '0431': string;

'0436': string;
'04122': string;
'0441': string;
'0442': string;
'0443': string;
'0461': string;
'0462': string;
'0451': string;
'0452': string;
'0462': string;
'0471': string;
'04101': string;
'0480': string;

@@ -119,2 +118,5 @@ '0481': string;

'0492': string;
'04111': string;
'04121': string;
'04122': string;
};

@@ -131,9 +133,5 @@ status: {

root: string[];
touch: string[];
scene: string[];
settableScene: string[];
mix: string[];
mixup: string[];
normal: string[];
simple: string[];
plug: string[];

@@ -182,5 +180,10 @@ xkey: string[];

* 开关类设备
* @deprecated
* @namespace Suiter.switchgear
*/
switchgear: {
/**
* 智能开关
* @namespace Suiter.smartSwitch
*/
smartSwitch: {
type: {

@@ -191,2 +194,6 @@ '05': string;

};
group: {
root: string[];
curtain: string[];
};
status: {

@@ -345,3 +352,3 @@ '0500': string;

};
wireControlPanel: {
wireControl: {
type: {

@@ -348,0 +355,0 @@ 13: string;

@@ -32,11 +32,11 @@ "use strict";

'0112': '2路滑条调光',
'0113': '3路滑条',
'0114': '',
'0115': '',
'0116': '',
'0113': '3路滑条调光',
'0114': '4路滑条调光',
'0115': '5路滑条调光',
'0116': '6路滑条调光',
'0119': '单 + 双',
'0120': '',
'0121': '',
'0122': '',
'0132': '',
'0120': '单 + 三',
'0121': '双 + 三',
'0122': '单 + 双 + 三',
'0132': '单线供电调光器',
'0133': '风扇灯'

@@ -99,8 +99,9 @@ },

'04': '插座开关',
'0401': '智能插座',
'0402': '单线开关',
'0403': '触摸开关',
'0412': '智能插座',
'0413': '智能插座',
'0414': '智能插座',
'0401': '1路智能插座',
// '0402': '单线开关'(停用),
// '0403': '触摸开关'(停用),
'0412': '2路智能插座',
'0413': '3路智能插座',
'0414': '4路智能插座',
// 触摸开关
'0421': '1路开关',

@@ -110,6 +111,6 @@ '0422': '2路开关',

'0424': '4路开关',
'0425': '触摸开关',
'0426': '触摸开关',
'0427': '触摸开关',
'0428': '触摸开关',
'0425': '5路开关',
'0426': '6路开关',
// '0427': '触摸开关',
'0428': '8路开关',
'0431': '1路情景开关',

@@ -120,16 +121,21 @@ '0432': '2路情景开关',

'0436': '6键情景开关',
'0441': '1路开关 + 3路情景',
'0442': '2路开关 + 3路情景',
'0443': '3路开关 + 3路情景',
'0461': '1路开关 + 1路情景',
'0462': '2路开关 + 2路情景',
'0451': '1键单线开关',
'0452': '2键单线开关',
'0471': '1路开关 + 雷达',
'04101': '1路情景 + 雷达',
'0480': '3路开关 + 红外面板',
'0481': '1路开关 + 3路情景 + 红外面板',
'0483': '3路开关 + 3路场景 + 红外面板',
'0486': '6路情景 + 红外对管',
'0490': 'WiFi插座',
'0491': '2键窗帘面板',
'0492': '4键窗帘面板',
'04111': '2键开窗器',
'04121': '4路情景 + 2调光调色',
'04122': '可设置6键情景面板',
'0441': '1路开关 + 3路情景开关',
'0442': '2路开关 + 3路情景开关',
'0443': '3路开关 + 3路情景开关',
'0451': '一键单线开关',
'0452': '二键单线开关',
'0462': '2路开关+2路情景开关',
'0480': '红外面板',
'0481': '红外面板',
'0483': '红外面板',
'0486': '六键情景+红外对管',
'0490': 'WiFi插座',
'0491': '单一窗帘面板',
'0492': '两个窗帘面板'
},

@@ -150,5 +156,5 @@ status: {

// touch: ['02', '21', '22', '23', '24', '25', '26', '28', '51', '52'],
touch: ['02', '21', '22', '24', '25', '26', '28', '51', '52'],
// touch: ['25', '26', '27', '28'],
// 情景面板
scene: ['31', '32', '33', '35'],
// scene: ['31', '32', '33', '35'],
// 可设置情景面板

@@ -160,17 +166,17 @@ settableScene: ['122'],

// 普通开关
normal: ['03'],
// normal: ['03'],
// 插座 byte[0]
simple: ['01', '12', '13', '14'],
// simple: ['01', '12', '13', '14'],
// 智能插座
plug: ['01', '12', '13', '14'],
// x 路开关
xkey: ['21', '22', '23', '24', '31', '32', '33', '34', '36', '41', '42', '43', '62']
// x 路开关 | TODO 插座开关隔离
xkey: ['21', '22', '23', '24', '31', '32', '33', '34', '36', '41', '42', '43', '62', '51', '52']
},
// 设备类型索引类型 一键开关 -> 1, 二建开关 -> 2 , 1路开关 + 3路情景面板 -> 1|3
// 约定格式: 普通开关|情景|待约定
typeIndex: {
// 普通开关
'0421': '1',
'0422': '2',
'0423': '3',
'0424': '4',
'0421': '1|',
'0422': '2|',
'0423': '3|',
'0424': '4|',
// 情景面板

@@ -183,3 +189,3 @@ '0431': '|1',

'04122': '|6',
// 开关情景面板
// 开关情景面板 约定格式: 普通开关|情景
'0441': '1|3',

@@ -189,4 +195,5 @@ '0442': '2|3',

'0462': '2|2',
'0451': '1',
'0452': '2'
// 单线开关
'0451': '1|',
'0452': '2|'
},

@@ -216,11 +223,34 @@ statusLength: {

* 开关类设备
* @deprecated
* @namespace Suiter.switchgear
*/
switchgear: {
// switchgear: {
// // 开关类设备
// type: {
// '05': '智能开关',
// '0501': '窗帘',
// '0502': '投影仪幕布'
// },
// status: {
// '0500': '关',
// '0501': '停',
// '0510': '开',
// '0502': '开'
// }
// },
/**
* 智能开关
* @namespace Suiter.smartSwitch
*/
smartSwitch: {
// 开关类设备
type: {
'05': '智能开关类设备',
'05': '智能开关',
'0501': '窗帘',
'0502': '投影仪幕布'
},
group: {
root: ['05'],
curtain: ['01']
},
status: {

@@ -384,3 +414,3 @@ '0500': '关',

},
wireControlPanel: {
wireControl: {
type: {

@@ -540,2 +570,2 @@ '13': '线控面板',

exports.default = exports.Suiter;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VpdGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3V0aWxzL3N1aXRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTs7Ozs7Ozs7Ozs7Ozs7O0dBZUc7QUFDVSxRQUFBLE1BQU0sR0FBRztJQUNwQixHQUFHLEVBQUU7UUFDSDs7V0FFRztRQUNILElBQUksRUFBRTtZQUNKLElBQUksRUFBRSxHQUFHO1lBQ1QsTUFBTSxFQUFFLEtBQUs7WUFDYixNQUFNLEVBQUUsS0FBSztZQ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FBSSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsY0FBTSxDQUFDLENBQUMsQ0FBQyxNQUFNO0FBQzdELGFBQWE7QUFDYixDQUFDLElBQUksRUFBRSxJQUFJLEVBQUUsS0FBSyxFQUFFLEVBQUU7SUFDcEIsSUFBSSxLQUFLLEtBQUssQ0FBQyxFQUFFO1FBQ2YsSUFBSSxHQUFJLGNBQWMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxJQUFJLENBQUM7S0FDbkM7SUFDRCxhQUFhO0lBQ2IsdUNBQVksSUFBSSxHQUFNLGNBQWMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxJQUFJLEVBQUc7QUFDcEQsQ0FBQyxDQUNGLENBQUM7QUFFRjs7R0FFRztBQUNVLFFBQUEsVUFBVSxHQUFHLEtBQUssQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxjQUFNLENBQUMsQ0FBQyxDQUFDLE1BQU07QUFDOUQsYUFBYTtBQUNiLENBQUMsSUFBSSxFQUFFLElBQUksRUFBRSxLQUFLLEVBQUUsRUFBRTtJQUNwQixJQUFJLEtBQUssS0FBSyxDQUFDLEVBQUU7UUFDZixJQUFJLEdBQUksY0FBYyxDQUFDLElBQUksQ0FBQyxDQUFDLE1BQU0sQ0FBQztLQUNyQztJQUNELGFBQWE7SUFDYix1Q0FBWSxJQUFJLEdBQU0sY0FBYyxDQUFDLElBQUksQ0FBQyxDQUFDLE1BQU0sRUFBRztBQUN0RCxDQUFDLENBQ0YsQ0FBQztBQUVGLGtCQUFlLGNBQU0sQ0FBQyJ9

@@ -5,2 +5,6 @@ # Changelog

### [1.1.31](https://github.com/ob-cloud/hardware-suit/compare/v1.1.28...v1.1.31) (2020-12-18)
### [1.1.29](https://github.com/ob-cloud/hardware-suit/compare/v1.1.26...v1.1.29) (2020-12-17)

@@ -7,0 +11,0 @@

{
"name": "hardware-suit",
"version": "1.1.29",
"version": "1.1.31",
"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 too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc