hardware-suit
Advanced tools
Comparing version 1.1.31 to 1.1.33
export declare class Status { | ||
readonly status: string; | ||
constructor(status: string); | ||
/** | ||
* 根据给定数量值,将16进制状态解析成二进制状态码, | ||
* 并反正顺序返回 ['01', '11', '10', '00'] => ["00", "10", "11", "01"] | ||
* @param state 16进制状态码('01') | ||
* @param count 码数量 | ||
* @param splitSize 分割位数 | ||
*/ | ||
__parseBitState(state: string, count: number, splitSize?: number): string[]; | ||
adaptHex(hex: string): string; | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Status = void 0; | ||
const converter_1 = require("../utils/converter"); | ||
class Status { | ||
@@ -10,2 +11,22 @@ constructor(status) { | ||
} | ||
/** | ||
* 根据给定数量值,将16进制状态解析成二进制状态码, | ||
* 并反正顺序返回 ['01', '11', '10', '00'] => ["00", "10", "11", "01"] | ||
* @param state 16进制状态码('01') | ||
* @param count 码数量 | ||
* @param splitSize 分割位数 | ||
*/ | ||
__parseBitState(state, count, splitSize = 2) { | ||
let keyList = []; | ||
const converter = new converter_1.Converter(state || '00', 16); | ||
const bits = converter.fill(8, converter.toBinary()); | ||
let i = 0; | ||
for (let index = count; index > 0; index--) { | ||
keyList.push(bits.slice(bits.length - splitSize * (i + 1), bits.length - splitSize * i)); | ||
i += 1; | ||
} | ||
if (splitSize === 1) | ||
keyList = keyList.map(k => this.adaptHex(k)); | ||
return keyList; | ||
} | ||
adaptHex(hex) { | ||
@@ -18,2 +39,2 @@ if (!hex) | ||
exports.Status = Status; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3RhdHVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2VudGl0eS9TdGF0dXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsTUFBYSxNQUFNO0lBRWpCLFlBQVksTUFBYztRQURWLFdBQU0sR0FBVyxFQUFFLENBQ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yJ9 |
import { SwitchStatus } from './SwitchStatus'; | ||
export declare class SwitchMixStatus extends SwitchStatus { | ||
extraState: string; | ||
extraCount: number; | ||
extraKeyDots: string[]; | ||
@@ -10,5 +9,6 @@ /** | ||
* @param count 按键数量列表 | ||
* @param typeIndex 类型索引 | ||
* @param pattern 类型范式 | ||
*/ | ||
constructor(status: string, count?: Array<number>, typeIndex?: string); | ||
constructor(status: string, count?: Array<number>, pattern?: string); | ||
get extraCount(): number; | ||
/** | ||
@@ -15,0 +15,0 @@ * 设置按键值 |
@@ -6,3 +6,3 @@ "use strict"; | ||
* @Last Modified by: eamiear | ||
* @Last Modified time: 2020-12-17 16:57:01 | ||
* @Last Modified time: 2020-12-21 16:10:33 | ||
*/ | ||
@@ -17,10 +17,13 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
* @param count 按键数量列表 | ||
* @param typeIndex 类型索引 | ||
* @param pattern 类型范式 | ||
*/ | ||
constructor(status, count, typeIndex) { | ||
super(status, count, typeIndex); | ||
this.extraCount = this.count[1] || 0; | ||
constructor(status, count, pattern) { | ||
super(status, count, pattern); | ||
this.extraState = status.slice(2, 4); | ||
this.extraKeyDots = this.__parseKeyDots(this.extraState, this.extraCount); | ||
this.extraKeyDots = this.__parseBitState(this.extraState, this.extraCount); | ||
} | ||
// 非主程面板按键数 | ||
get extraCount() { | ||
return this.count[SwitchStatus_1.OrderEnum.Secondary] || 0; | ||
} | ||
/** | ||
@@ -51,2 +54,2 @@ * 设置按键值 | ||
exports.SwitchMixStatus = SwitchMixStatus; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3dpdGNoTWl4U3RhdHVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2VudGl0eS9Td2l0Y2hNaXhTdGF0dXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7OztHQUtHOzs7QUFFSCxpREFBOEM7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EdBQUcsQ0FBQyxDQUFDLEVBQUUsS0FBSyxDQUFDLENBQUE7UUFDckIsT0FBTyxJQUFJLENBQUE7SUFDYixDQUFDO0lBQ0Q7OztPQUdHO0lBQ0gscUJBQXFCLENBQUUsS0FBYTtRQUNsQyxPQUFPLENBQUMsR0FBRyxDQUFDLEtBQUssQ0FBQyxDQUFBO1FBQ2xCLE9BQU8sRUFBRSxDQUFBO0lBQ1gsQ0FBQztJQUVELGFBQWE7UUFDWCxPQUFPLEVBQUUsQ0FBQTtJQUNYLENBQUM7Q0FDRjtBQXhDRCw0Q0F3Q0MifQ== |
import { Status } from './Status'; | ||
export declare enum OrderEnum { | ||
Primary = 0, | ||
Secondary = 1 | ||
} | ||
/** | ||
@@ -7,16 +11,12 @@ * 开关 或 情景状态 | ||
state: string; | ||
typeIndex: string; | ||
pattern: string; | ||
count: number[]; | ||
private _count; | ||
constructor(status: string, count?: Array<number>, typeIndex?: string); | ||
get keyDots(): string[]; | ||
keyDots: string[]; | ||
constructor(status: string, count?: Array<number>, pattern?: string); | ||
get _count(): number; | ||
get _pattern(): string; | ||
/** | ||
* 解析按键坑位状态码 | ||
* @param state 16进制状态码 | ||
* @param count 按键数 | ||
*/ | ||
__parseKeyDots(state: string, count: number): string[]; | ||
/** | ||
* 获取主程按键坑位,二进制码 | ||
* 反转数组 ['01', '11', '10', '00'] => ["00", "10", "11", "01"] | ||
* 并获取按键正序 | ||
* 情景 一个 bit 表示一个按键 | ||
*/ | ||
@@ -23,0 +23,0 @@ private getKeyDots; |
@@ -6,8 +6,13 @@ "use strict"; | ||
* @Last Modified by: eamiear | ||
* @Last Modified time: 2020-12-18 14:51:22 | ||
* @Last Modified time: 2020-12-21 17:19:55 | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SwitchStatus = void 0; | ||
const converter_1 = require("../utils/converter"); | ||
exports.SwitchStatus = exports.OrderEnum = void 0; | ||
const SwitchMixEquip_1 = require("../modules/SwitchMixEquip"); | ||
const Status_1 = require("./Status"); | ||
var OrderEnum; | ||
(function (OrderEnum) { | ||
OrderEnum[OrderEnum["Primary"] = 0] = "Primary"; | ||
OrderEnum[OrderEnum["Secondary"] = 1] = "Secondary"; | ||
})(OrderEnum = exports.OrderEnum || (exports.OrderEnum = {})); | ||
/** | ||
@@ -17,38 +22,27 @@ * 开关 或 情景状态 | ||
class SwitchStatus extends Status_1.Status { | ||
constructor(status, count, typeIndex) { | ||
constructor(status, count, pattern) { | ||
super(status); | ||
this.state = ''; | ||
this.pattern = ''; // 类型范式 | ||
this.count = [1]; // 按键数列表 [3, 3] ---> 开关 3, 情景 3 | ||
this.state = status.slice(0, 2) || '00'; | ||
this.count = count || [1]; | ||
this._count = this.count[0]; | ||
this.typeIndex = typeIndex || ''; | ||
// this.keyDots = this.getKeyDots() | ||
this.pattern = pattern || ''; | ||
this.keyDots = this.getKeyDots(); | ||
} | ||
// 按键字节位 | ||
get keyDots() { | ||
return this.getKeyDots(); | ||
// 主程按键数,普通开关面板 -> 开关,情景 -> 情景, 混合 -> 情景 | ||
get _count() { | ||
return this.count[OrderEnum.Primary]; | ||
} | ||
/** | ||
* 解析按键坑位状态码 | ||
* @param state 16进制状态码 | ||
* @param count 按键数 | ||
*/ | ||
__parseKeyDots(state, count) { | ||
let keyList = []; | ||
const converter = new converter_1.Converter(state || '00', 16); | ||
const bits = converter.fillBinary(converter.toBinary()); | ||
let i = 0; | ||
for (let index = 0; index < count; index++) { | ||
keyList[index] = bits.slice(i, i + 2); | ||
i += 2; | ||
} | ||
return keyList.reverse(); | ||
get _pattern() { | ||
return this.pattern; | ||
} | ||
/** | ||
* 获取主程按键坑位,二进制码 | ||
* 反转数组 ['01', '11', '10', '00'] => ["00", "10", "11", "01"] | ||
* 并获取按键正序 | ||
* 情景 一个 bit 表示一个按键 | ||
*/ | ||
getKeyDots() { | ||
return this.__parseKeyDots(this.state, this._count); | ||
const bit = [`${SwitchMixEquip_1.KeyTypePatternEnum.SCENE}`, `${SwitchMixEquip_1.KeyTypePatternEnum.SWITCHSCENE}`].includes(this.pattern) ? 1 : 2; | ||
return this.__parseBitState(this.state, this._count, bit); | ||
} | ||
@@ -80,2 +74,2 @@ /** | ||
exports.SwitchStatus = SwitchStatus; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3dpdGNoU3RhdHVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2VudGl0eS9Td2l0Y2hTdGF0dXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7OztHQUtHOzs7QUFFSCxrREFBK0M7QUFDL0MscUNBQWtDO0FBQ2xDOztHQUVHO0FBQ0gsTUFBYSxZQUFhLFNBQVEsZUFBTTtJQU10QyxZQUFhLE1BQWMsRUFBRSxLQUFxQixFQUFFLFNBQWtCO1FBQ3BFLEtBQUssQ0FBQyxNQUFNLENBQUMsQ0FBQTtRQU5SLFVBQUssR0FBVyxFQUFFLENBQUM7UUFHMUIsVUFBSyxHQUFhLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQywrQkFBK0I7UUFJcEQsSUFBSSxDQUFDLEtBQUssR0FBRyxNQUFNLENBQUMsS0FBSyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsSUFBSSxJQUFJLENBQUE7UUFDdkMsSUFBSSxDQUFDLEtBQUssR0FBRyxLQUFLLElBQUksQ0FBQyxDQUFDLENBQUMsQ0FBQTtRQUN6QixJQUFJLENBQUMsTUFBTSxHQUFHLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLENBQUE7UUFDM0IsSUFBSSxDQUFDLFNBQVMsR0FBRyxTQUFTLElBQUksRUFBRSxDQUFBO1FBQ2hDLG1DQUFtQztJQUNyQyxDQUFDO0lBQ0QsUUFBUTtJQUNSLElBQUksT0FBTztRQUNULE9BQU8sSUFBSSxDQUFDLFVBQVUsRUFBRSxDQUFBO0lBQzF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tBQUssQ0FBQyxHQUFHLENBQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQTtRQUNoQyxPQUFPLElBQUksQ0FBQTtJQUNiLENBQUM7SUFDRDs7O09BR0c7SUFDSCxnQkFBZ0IsQ0FBRSxLQUFhO1FBQzdCLElBQUksS0FBSyxHQUFHLENBQUMsR0FBRyxJQUFJLENBQUMsTUFBTTtZQUFFLE9BQU07UUFDbkMsT0FBTyxJQUFJLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxDQUFBO0lBQzVCLENBQUM7SUFDRCxRQUFRO1FBQ04sT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFBO0lBQ25CLENBQUM7Q0FDRjtBQWpERCxvQ0FpREMifQ== |
import { BaseEquip } from './BaseEquip'; | ||
import { AirConditionModel } from '../entity/AirConditionModel'; | ||
declare enum ConditionTempEnum { | ||
default = 26, | ||
min = 16, | ||
max = 30 | ||
} | ||
export declare class AirConditionEquip extends BaseEquip { | ||
@@ -16,3 +21,3 @@ airModel: AirConditionModel; | ||
constructor(status?: string, deviceType?: string, deviceChildType?: string, ac?: any); | ||
static get defaultTemp(): number; | ||
static get defaultTemp(): ConditionTempEnum; | ||
init(): void; | ||
@@ -133,1 +138,2 @@ /** | ||
} | ||
export {}; |
@@ -6,3 +6,3 @@ "use strict"; | ||
* @Last Modified by: eamiear | ||
* @Last Modified time: 2020-12-17 15:50:45 | ||
* @Last Modified time: 2020-12-21 10:37:30 | ||
*/ | ||
@@ -13,49 +13,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
const AirConditionModel_1 = require("../entity/AirConditionModel"); | ||
// 模式 | ||
const ModeMap = { | ||
1: 'a', | ||
2: 'r', | ||
3: 'd', | ||
4: 'w', | ||
5: 'h' | ||
}; | ||
/** | ||
* 模式描述表 | ||
*/ | ||
const ModeDescriptorMap = { | ||
1: '自动', | ||
2: '制冷', | ||
3: '抽湿', | ||
4: '送风', | ||
5: '制热' | ||
}; | ||
// 风速 | ||
const SpeedMap = { | ||
0: 's0', | ||
1: 's1', | ||
2: 's2', | ||
3: 's3' | ||
}; | ||
const SpeedDescriptorMap = { | ||
0: '自动', | ||
1: '弱', | ||
2: '中', | ||
3: '强' | ||
}; | ||
// 左右摆风 | ||
const HorizontalWingMap = { | ||
0: 'l0', | ||
1: 'l1' | ||
}; | ||
// 上下摆风 | ||
const VerticalWingMap = { | ||
0: 'u0', | ||
1: 'u1' | ||
}; | ||
const WingDescriptorMap = { | ||
'l0': '', | ||
'l1': '左右', | ||
'u0': '', | ||
'u1': '上下' | ||
}; | ||
const constant_1 = require("../shared/constant"); | ||
var ConditionTempEnum; | ||
(function (ConditionTempEnum) { | ||
ConditionTempEnum[ConditionTempEnum["default"] = 26] = "default"; | ||
ConditionTempEnum[ConditionTempEnum["min"] = 16] = "min"; | ||
ConditionTempEnum[ConditionTempEnum["max"] = 30] = "max"; | ||
})(ConditionTempEnum || (ConditionTempEnum = {})); | ||
class AirConditionEquip extends BaseEquip_1.BaseEquip { | ||
@@ -86,3 +46,3 @@ /** | ||
static get defaultTemp() { | ||
return 26; | ||
return ConditionTempEnum.default; | ||
} | ||
@@ -93,7 +53,4 @@ init() { | ||
return; | ||
if (['on', 'off'].includes(keyValue)) { | ||
// this.airModel.setPower(keyValue) | ||
this.setPower(keyValue === 'on'); | ||
// keyValue === 'on' ? this.setPowerOn() : this.setPowerOff() | ||
// this.setTemperature(+this.getTemperature(new this.Converter(`${AirConditionEquip.defaultTemp}`, 10).toHex())) | ||
if ([`${constant_1.PowerEnum.ON}`, `${constant_1.PowerEnum.OFF}`].includes(keyValue)) { | ||
this.setPower(keyValue === constant_1.PowerEnum.ON); | ||
} | ||
@@ -103,3 +60,3 @@ else { | ||
if (keys.filter(i => i).length) | ||
this.airModel.setPower('on'); | ||
this.airModel.setPower(constant_1.PowerEnum.ON); | ||
keys[0] && this.setMode(+this.getMode(keys[0])); | ||
@@ -131,7 +88,3 @@ keys[1] && this.setSpeed(+this.getSpeed(keys[1])); | ||
setTemperature(temp) { | ||
// if (temp === 0) { | ||
// this.airModel.setTemperature(`${temp}`); | ||
// return this | ||
// } | ||
const temperature = temp < 18 ? temp + 1 : temp > 30 ? temp - 1 : temp; | ||
const temperature = temp < ConditionTempEnum.min ? temp + 1 : temp > ConditionTempEnum.max ? temp - 1 : temp; | ||
const tempHex = new this.Converter(`${temperature}`, 10).toHex(); | ||
@@ -151,3 +104,2 @@ this.airModel.setTemperature(tempHex); | ||
const temp = this.getTemperature(); | ||
// const tempTxt = temp === '00' ? '--' : temp | ||
return this.isPowerOn() ? `${temp}` : '--'; | ||
@@ -160,10 +112,8 @@ } | ||
setMode(mode) { | ||
mode = mode > 5 ? 1 : mode; | ||
this.airModel.setMode(ModeMap[mode]); | ||
// if ([2, 3].includes(mode)) this.setSpeed(0) // 自动 | ||
mode = mode > 5 ? constant_1.ModeEnum.AUTO : mode; | ||
this.airModel.setMode(constant_1.ModeMap[mode]); | ||
// 制冷、抽湿, 自动风, 否则 弱风 | ||
this.setSpeed([1, 2, 3].includes(mode) ? 0 : 1); | ||
this.setSpeed([constant_1.ModeEnum.AUTO, constant_1.ModeEnum.COLD, constant_1.ModeEnum.WEDY].includes(mode) ? constant_1.SpeedEnum.AUTO : constant_1.SpeedEnum.WEAK); | ||
// 自动、抽湿 无温度,否则默认温度 | ||
// this.setTemperature([1, 3].includes(mode) ? 0 : AirConditionEquip.defaultTemp) | ||
if (![1, 3].includes(mode)) { | ||
if (![constant_1.ModeEnum.AUTO, constant_1.ModeEnum.WEDY].includes(mode)) { | ||
this.setTemperature(AirConditionEquip.defaultTemp); | ||
@@ -178,3 +128,3 @@ } | ||
const mode = v || this.airModel.getMode(); | ||
const modeKey = Object.keys(ModeMap).find(key => ModeMap[key] === mode); | ||
const modeKey = Object.keys(constant_1.ModeMap).find(key => constant_1.ModeMap[key] === mode); | ||
return modeKey || ''; | ||
@@ -192,3 +142,3 @@ } | ||
getModeText() { | ||
const mode = ModeDescriptorMap[this.getMode()] || ModeDescriptorMap[2]; | ||
const mode = constant_1.ModeDescriptorMap[this.getMode()] || constant_1.ModeDescriptorMap[constant_1.ModeEnum.COLD]; | ||
return this.isPowerOn() ? `${mode}` : '--'; | ||
@@ -201,3 +151,3 @@ } | ||
setSpeed(speed) { | ||
this.airModel.setSpeed(SpeedMap[speed > 3 ? 0 : speed]); | ||
this.airModel.setSpeed(constant_1.SpeedMap[speed > 3 ? constant_1.SpeedEnum.AUTO : speed]); | ||
return this; | ||
@@ -210,3 +160,3 @@ } | ||
const speed = v || this.airModel.getSpeed(); | ||
const speedKey = Object.keys(SpeedMap).find(key => SpeedMap[key] === speed); | ||
const speedKey = Object.keys(constant_1.SpeedMap).find(key => constant_1.SpeedMap[key] === speed); | ||
return speedKey || ''; | ||
@@ -221,3 +171,3 @@ } | ||
getSpeedText() { | ||
const speed = SpeedDescriptorMap[this.getSpeed()] || SpeedDescriptorMap[0]; | ||
const speed = constant_1.SpeedDescriptorMap[this.getSpeed()] || constant_1.SpeedDescriptorMap[constant_1.SpeedEnum.AUTO]; | ||
return this.isPowerOn() ? `${speed}` : '--'; | ||
@@ -230,5 +180,5 @@ } | ||
setHorizontalWing(wing = 0) { | ||
this.airModel.setHorizontalWing(HorizontalWingMap[wing > 1 ? 0 : wing]); | ||
if (wing === 1) | ||
this.setVerticalWing(0); | ||
this.airModel.setHorizontalWing(constant_1.HorizontalWingMap[wing > 1 ? constant_1.HWingEnum.OFF : wing]); | ||
if (wing === constant_1.HWingEnum.ON) | ||
this.setVerticalWing(constant_1.VWingEnum.OFF); | ||
return this; | ||
@@ -241,3 +191,3 @@ } | ||
const wing = v || this.airModel.getHorizontalWing(); | ||
const wingKey = Object.keys(HorizontalWingMap).find(key => HorizontalWingMap[key] === wing); | ||
const wingKey = Object.keys(constant_1.HorizontalWingMap).find(key => constant_1.HorizontalWingMap[key] === wing); | ||
return wingKey || ''; | ||
@@ -253,5 +203,5 @@ } | ||
setVerticalWing(wing = 0) { | ||
this.airModel.setVerticalWing(VerticalWingMap[wing > 1 ? 0 : wing]); | ||
if (wing === 1) | ||
this.setHorizontalWing(0); | ||
this.airModel.setVerticalWing(constant_1.VerticalWingMap[wing > 1 ? constant_1.VWingEnum.OFF : wing]); | ||
if (wing === constant_1.VWingEnum.ON) | ||
this.setHorizontalWing(constant_1.HWingEnum.OFF); | ||
return this; | ||
@@ -261,3 +211,3 @@ } | ||
const wing = v || this.airModel.getVerticalWing(); | ||
const wingKey = Object.keys(VerticalWingMap).find(key => VerticalWingMap[key] === wing); | ||
const wingKey = Object.keys(constant_1.VerticalWingMap).find(key => constant_1.VerticalWingMap[key] === wing); | ||
return wingKey || ''; | ||
@@ -269,3 +219,3 @@ } | ||
getWingText() { | ||
const w = WingDescriptorMap[this.getHorizontalWingValue()] || WingDescriptorMap[this.getVerticalWingVlaue()] || '--'; | ||
const w = constant_1.WingDescriptorMap[this.getHorizontalWingValue()] || constant_1.WingDescriptorMap[this.getVerticalWingVlaue()] || '--'; | ||
return this.isPowerOn() ? `${w}` : '--'; | ||
@@ -280,3 +230,3 @@ } | ||
setPowerOn(temp = 26, speed = 0, mode = 1) { | ||
this.airModel.setPower('on'); | ||
this.airModel.setPower(constant_1.PowerEnum.ON); | ||
this.setTemperature(temp).setSpeed(speed).setMode(mode); | ||
@@ -289,3 +239,3 @@ return this; | ||
setPowerOff() { | ||
this.airModel.setPower('off'); | ||
this.airModel.setPower(constant_1.PowerEnum.OFF); | ||
return this; | ||
@@ -309,3 +259,3 @@ } | ||
isPowerOn() { | ||
return this.getPower() === 'on'; | ||
return this.getPower() === constant_1.PowerEnum.ON; | ||
} | ||
@@ -316,3 +266,3 @@ /** | ||
isTemperatureValid() { | ||
return this.isPowerOn() && ['2', '5'].includes(this.getMode()); | ||
return this.isPowerOn() && [`${constant_1.ModeEnum.COLD}`, `${constant_1.ModeEnum.HOT}`].includes(this.getMode()); | ||
} | ||
@@ -323,6 +273,6 @@ /** | ||
isFanSpeedValid() { | ||
return this.isPowerOn() && ['1', '2', '5'].includes(this.getMode()); | ||
return this.isPowerOn() && [`${constant_1.ModeEnum.AUTO}`, `${constant_1.ModeEnum.COLD}`, `${constant_1.ModeEnum.HOT}`].includes(this.getMode()); | ||
} | ||
isWingValid() { | ||
return this.isPowerOn() && ['1', '2', '5'].includes(this.getMode()); | ||
return this.isPowerOn() && [`${constant_1.ModeEnum.AUTO}`, `${constant_1.ModeEnum.COLD}`, `${constant_1.ModeEnum.HOT}`].includes(this.getMode()); | ||
} | ||
@@ -334,3 +284,2 @@ /** | ||
hasHorizontalSwing(keys = []) { | ||
// if (!this.airEntity && (!keys || !keys.length)) return false | ||
const wingKeys = this.airEntity ? this.airEntity.getKeys() : keys; | ||
@@ -350,3 +299,2 @@ if (!wingKeys || !wingKeys.length) | ||
hasVerticalSwing(keys = []) { | ||
// if (!this.airEntity && (!keys || !keys.length)) return false | ||
const wingKeys = this.airEntity ? this.airEntity.getKeys() : keys; | ||
@@ -370,3 +318,2 @@ if (!wingKeys || !wingKeys.length) | ||
const speed = this.getSpeedValue(); | ||
// const temperature = this.getTemperature() === '00' ? '' : this.getTemperature() | ||
const temperature = this.getTemperature(); | ||
@@ -379,2 +326,2 @@ const vwing = this.getVerticalWingVlaue(); | ||
exports.AirConditionEquip = AirConditionEquip; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQWlyQ29uZGl0aW9uRXF1aXAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbW9kdWxlcy9BaXJDb25kaXRpb25FcXVpcC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7Ozs7O0dBS0c7OztBQUVILDJDQUF3QztBQUN4QyxtRUFBZ0U7QUFFaEUsS0FBSztBQUNMLE1BQU0sT0FBTyxHQUFRO0lBQ25CLENBQUMsRUFBRSxHQUFHO0lBQ04sQ0FBQyxFQUFFLEdBQUc7SUFDTixDQUFDLEVBQUUsR0FBRztJQUNOLENBQU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csQ0FBQyxRQUFRLENBQUMsSUFBSSxDQUFDLElBQUksR0FBRyxDQUFDLFFBQVEsQ0FBQyxJQUFJLENBQUMsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLFFBQVEsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFBO1FBQ2hHLENBQUMsQ0FBQyxDQUFBO1FBQ0YsT0FBTyxLQUFLLEtBQUssQ0FBQyxDQUFDLENBQUE7SUFDckIsQ0FBQztJQUNEOztPQUVHO0lBQ0gsYUFBYTtRQUNYLE9BQU8sSUFBSSxDQUFDLFFBQVEsRUFBRSxDQUFBO0lBQ3hCLENBQUM7SUFDRCxRQUFRO1FBQ04sTUFBTSxJQUFJLEdBQUcsSUFBSSxDQUFDLFlBQVksRUFBRSxDQUFBO1FBQ2hDLE1BQU0sS0FBSyxHQUFHLElBQUksQ0FBQyxhQUFhLEVBQUUsQ0FBQTtRQUNsQyxNQUFNLFdBQVcsR0FBRyxJQUFJLENBQUMsY0FBYyxFQUFFLENBQUE7UUFDekMsTUFBTSxLQUFLLEdBQUcsSUFBSSxDQUFDLG9CQUFvQixFQUFFLENBQUE7UUFDekMsTUFBTSxLQUFLLEdBQUcsSUFBSSxDQUFDLHNCQUFzQixFQUFFLENBQUE7UUFDM0MsT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDLE1BQU0sQ0FBQyxJQUFJLEVBQUUsS0FBSyxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsS0FBSyxDQUFDLENBQUM7SUFDbkUsQ0FBQztDQUNGO0FBcFJELDhDQW9SQyJ9 |
@@ -48,3 +48,3 @@ "use strict"; | ||
get curStatusInt() { | ||
return +new this.Converter(this.curStatus, 2).toDecimal(); | ||
return +new this.Converter(this.curStatus, 16).toDecimal(); | ||
} | ||
@@ -103,2 +103,2 @@ /** | ||
exports.CurtainEquip = CurtainEquip; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ3VydGF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UFDLFFBQVEsRUFBRSxFQUFFLEVBQUUsQ0FBQyxDQUFDLEtBQUssRUFBRSxDQUFDLENBQUE7UUFDL0UsT0FBTyxJQUFJLENBQUE7SUFDYixDQUFDO0lBRUQ7O09BRUc7SUFDSSxJQUFJO1FBQ1QsT0FBTyxJQUFJLENBQUMsU0FBUyxDQUFDLGlCQUFpQixDQUFDLElBQUksQ0FBQyxDQUFBO0lBQy9DLENBQUM7SUFDRDs7T0FFRztJQUNJLEtBQUs7UUFDVixPQUFPLElBQUksQ0FBQyxTQUFTLENBQUMsaUJBQWlCLENBQUMsS0FBSyxDQUFDLENBQUE7SUFDaEQsQ0FBQztJQUVEOztPQUVHO0lBQ0ksSUFBSTtRQUNULE9BQU8sSUFBSSxDQUFDLFNBQVMsQ0FBQyxpQkFBaUIsQ0FBQyxJQUFJLENBQUMsQ0FBQTtJQUMvQyxDQUFDO0lBRUQ7O09BRUc7SUFDSCxtQkFBbUI7UUFDakIsT0FBTyxnQkFBZ0IsQ0FBQyxJQUFJLENBQUMsWUFBWSxDQUFDLElBQUksRUFBRSxDQUFBO0lBQ2xELENBQUM7SUFDRDs7T0FFRztJQUNJLFFBQVE7UUFDYixPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxhQUFhLENBQUMsU0FBUyxFQUFFLENBQUMsQ0FBQTtJQUMxRCxDQUFDO0NBQ0Y7QUEzRUQsb0NBMkVDIn0= |
@@ -1,34 +0,23 @@ | ||
import { SwitchStatus } from '../entity/SwitchStatus'; | ||
import { BaseEquip } from './BaseEquip'; | ||
import { SwitchMixEquip } from './SwitchMixEquip'; | ||
export declare class SwitchEquip extends BaseEquip { | ||
switchStatus: SwitchStatus; | ||
typeStr: any; | ||
private readonly bytes; | ||
constructor(status: string, deviceType?: string, deviceChildType?: string); | ||
switchStatus: any; | ||
equip: any; | ||
/** | ||
* 类型索引 1|3 | ||
* 开关工厂函数 | ||
* @param status 状态字符串 | ||
* @param deviceType 设备主类型 | ||
* @param deviceChildType 设备子类型 | ||
* | ||
* @example | ||
* | ||
* const factory = new SwitchEquip(status, device, deviceChildType) | ||
* const equip = factory.create() | ||
* const power = euip.getPowerInt() | ||
* equip.setPower(1, 0) | ||
* const status = equip.getBytes() | ||
* const statusDescriptor = equip.getStatusDescriptor() | ||
*/ | ||
get typeIndex(): any; | ||
/** | ||
* 开关类型标志 | ||
* { | ||
* normal: 1, | ||
* scene: 0 | ||
* } | ||
*/ | ||
get keyTypes(): any; | ||
/** | ||
* 按键 | ||
* ['00', '01', '10', '11'] | ||
*/ | ||
get keyDots(): string[]; | ||
/** | ||
* 按键数 | ||
*/ | ||
get keyCount(): number; | ||
private getKeyCount; | ||
setPower(v: number, index: number): void; | ||
getPower(index?: number): Array<string>; | ||
getPowerInt(index?: number): Array<number>; | ||
getBytes(): string; | ||
constructor(status: string, deviceType?: string, deviceChildType?: string); | ||
create(): SwitchMixEquip; | ||
} |
@@ -10,102 +10,34 @@ "use strict"; | ||
*/ | ||
const SwitchStatus_1 = require("../entity/SwitchStatus"); | ||
const BaseEquip_1 = require("./BaseEquip"); | ||
var SwitchKeyStatus; | ||
(function (SwitchKeyStatus) { | ||
SwitchKeyStatus[SwitchKeyStatus["ON"] = 1] = "ON"; | ||
SwitchKeyStatus[SwitchKeyStatus["OFF"] = 0] = "OFF"; | ||
})(SwitchKeyStatus || (SwitchKeyStatus = {})); | ||
// 按键类型索引 3|3 | ||
var SwitchKeyTypeIndex; | ||
(function (SwitchKeyTypeIndex) { | ||
SwitchKeyTypeIndex[SwitchKeyTypeIndex["NORMAL"] = 0] = "NORMAL"; | ||
SwitchKeyTypeIndex[SwitchKeyTypeIndex["SCENE"] = 1] = "SCENE"; // 情景 | ||
})(SwitchKeyTypeIndex || (SwitchKeyTypeIndex = {})); | ||
const SwitchKeyTypeIndexMap = { | ||
[SwitchKeyTypeIndex.NORMAL]: 'normal', | ||
[SwitchKeyTypeIndex.SCENE]: 'scene' | ||
}; | ||
const SwitchKeyStatusMap = { | ||
[SwitchKeyStatus.ON]: '开', | ||
[SwitchKeyStatus.OFF]: '关' | ||
}; | ||
const SwitchMixEquip_1 = require("./SwitchMixEquip"); | ||
const SwitchPlugEquip_1 = require("./SwitchPlugEquip"); | ||
class SwitchEquip extends BaseEquip_1.BaseEquip { | ||
/** | ||
* 开关工厂函数 | ||
* @param status 状态字符串 | ||
* @param deviceType 设备主类型 | ||
* @param deviceChildType 设备子类型 | ||
* | ||
* @example | ||
* | ||
* const factory = new SwitchEquip(status, device, deviceChildType) | ||
* const equip = factory.create() | ||
* const power = euip.getPowerInt() | ||
* equip.setPower(1, 0) | ||
* const status = equip.getBytes() | ||
* const statusDescriptor = equip.getStatusDescriptor() | ||
*/ | ||
constructor(status, deviceType, deviceChildType) { | ||
super(status, deviceType, deviceChildType); | ||
this.bytes = `{0}00000000000000`; | ||
this.typeStr = this.TypeHints.getSocketSwitchTypeIndex(deviceType, deviceChildType); | ||
this.switchStatus = new SwitchStatus_1.SwitchStatus(status, [+this.getKeyCount()]); | ||
this.equip = {}; | ||
} | ||
/** | ||
* 类型索引 1|3 | ||
*/ | ||
get typeIndex() { | ||
return this.typeStr; | ||
} | ||
/** | ||
* 开关类型标志 | ||
* { | ||
* normal: 1, | ||
* scene: 0 | ||
* } | ||
*/ | ||
get keyTypes() { | ||
if (!this.typeStr) | ||
return ''; | ||
const types = this.typeStr.split('|'); | ||
const typeObj = { | ||
normal: 0, | ||
scene: 0 | ||
}; | ||
for (let index = 0; index < types.length; index++) { | ||
const t = types[index]; | ||
typeObj[SwitchKeyTypeIndexMap[index]] = +!!t; | ||
create() { | ||
let equip = new SwitchMixEquip_1.SwitchMixEquip(this.status, this.deviceType, this.deviceChildType); | ||
if (equip.isSocket) { | ||
equip = new SwitchPlugEquip_1.SwitchPlugEquip(this.status, this.deviceType, this.deviceChildType); | ||
} | ||
return typeObj; | ||
return this.equip = equip; | ||
} | ||
/** | ||
* 按键 | ||
* ['00', '01', '10', '11'] | ||
*/ | ||
get keyDots() { | ||
return this.switchStatus.keyDots; | ||
} | ||
/** | ||
* 按键数 | ||
*/ | ||
get keyCount() { | ||
return +this.getKeyCount(); | ||
} | ||
getKeyCount() { | ||
if (!this.typeStr || !this.typeStr.length) | ||
return 1; | ||
let keys = this.typeStr.split('|'); | ||
keys = keys.filter((it) => it); | ||
return keys.reduce((a, b) => +a + (+b)) || 1; | ||
} | ||
setPower(v, index) { | ||
const vb = new this.Converter(`${v}`, 10).toBinary(); | ||
this.switchStatus.setKeyDot(vb, index); | ||
} | ||
getPower(index) { | ||
if (index !== undefined) { | ||
const v = this.switchStatus.getKeyDotByIndex(index); | ||
const vd = new this.Converter(`${v}`, 2).toDecimal(); | ||
return [vd]; | ||
} | ||
else { | ||
return this.keyDots.map(item => new this.Converter(`${item}`, 2).toDecimal()); | ||
} | ||
} | ||
getPowerInt(index) { | ||
const powers = this.getPower(index); | ||
return powers.map(item => +item > 1 ? 0 : +item); | ||
} | ||
getBytes() { | ||
const keyDots = this.switchStatus.keyDots.reverse(); | ||
const status = new this.Converter(keyDots.join('') || '00', 2).toHex(); | ||
return this.bytes.format(status); | ||
} | ||
} | ||
exports.SwitchEquip = SwitchEquip; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3dpdGNoRXF1aXAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbW9kdWxlcy9Td2l0Y2hFcXVpcC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTs7Ozs7R0FLRztBQUNILHlEQUFzRDtBQUN0RCwyQ0FBd0M7QUFFeEMsSUFBSyxlQUdKO0FBSEQsV0FBSyxlQUFlO0lBQ2xCLGlEQUFNLENBQUE7SUFDTixtREFBTyxDQUFBO0FBQ1QsQ0FBQyxFQUhJLGVBQWUsS0FBZixlQUFlLFFBR25CO0FBRUQsYUFBYTtBQUNiLElBQUssa0JBR0o7QUF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MsTUFBTSxFQUFFLFVBQVUsRUFBRSxlQUFlLENBQUMsQ0FBQTtRQWpCNUMsVUFBSyxHQUFRLEVBQUUsQ0FBQztJQWtCaEIsQ0FBQztJQUNELE1BQU07UUFDSixJQUFJLEtBQUssR0FBRyxJQUFJLCtCQUFjLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxJQUFJLENBQUMsVUFBVSxFQUFFLElBQUksQ0FBQyxlQUFlLENBQUMsQ0FBQTtRQUNsRixJQUFJLEtBQUssQ0FBQyxRQUFRLEVBQUU7WUFDbEIsS0FBSyxHQUFHLElBQUksaUNBQWUsQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFLElBQUksQ0FBQyxVQUFVLEVBQUUsSUFBSSxDQUFDLGVBQWUsQ0FBQyxDQUFBO1NBQ2hGO1FBQ0QsT0FBTyxJQUFJLENBQUMsS0FBSyxHQUFHLEtBQUssQ0FBQTtJQUMzQixDQUFDO0NBZ0JGO0FBM0NELGtDQTJDQyJ9 |
import { SwitchMixStatus } from '../entity/SwitchMixStatus'; | ||
import { BaseEquip } from './BaseEquip'; | ||
export declare enum KeyTypePatternEnum { | ||
SWITCH = "10", | ||
SCENE = "01", | ||
SWITCHSCENE = "11", | ||
LINE = "001", | ||
SOCKET = "0001", | ||
SWITCHRADAR = "10001", | ||
SCENERADAR = "01001" | ||
} | ||
export declare class SwitchMixEquip extends BaseEquip { | ||
@@ -8,3 +17,3 @@ switchStatus: SwitchMixStatus; | ||
/** | ||
* 面板开关(普通开关、情景开关、单线开挂、混合开关[普通+情景]) | ||
* 面板开关(普通开关、情景开关、单线开关、混合开关[普通+情景]) | ||
* @param status 状态 | ||
@@ -22,3 +31,3 @@ * @param deviceType 主类型 | ||
* { | ||
* normal: 1, | ||
* switch: 1, | ||
* scene: 0 | ||
@@ -28,2 +37,3 @@ * } | ||
get keyTypes(): any; | ||
get keyTypePattern(): string; | ||
/** | ||
@@ -48,9 +58,13 @@ * 按键列表 | ||
* 混合类型 - 情景为主入口 | ||
* 单线开关 - 开关 | ||
* 插座开关 - 插座 | ||
*/ | ||
get orderCount(): number[]; | ||
get isSwitch(): boolean; | ||
get isScene(): boolean; | ||
get isSwitchScene(): boolean; | ||
get isLine(): boolean; | ||
get isSocket(): boolean; | ||
get isRadar(): boolean; | ||
/** | ||
* 获取按键总数 | ||
*/ | ||
private _getKeyCount; | ||
/** | ||
* 设置按键位 | ||
@@ -57,0 +71,0 @@ * @param v 值 |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SwitchMixEquip = void 0; | ||
exports.SwitchMixEquip = exports.KeyTypePatternEnum = void 0; | ||
/* | ||
@@ -8,21 +8,38 @@ * @Author: eamiear | ||
* @Last Modified by: eamiear | ||
* @Last Modified time: 2020-12-18 15:38:27 | ||
* @Last Modified time: 2020-12-21 17:55:33 | ||
*/ | ||
const SwitchMixStatus_1 = require("../entity/SwitchMixStatus"); | ||
const SwitchStatus_1 = require("../entity/SwitchStatus"); | ||
const BaseEquip_1 = require("./BaseEquip"); | ||
var SwitchKeyStatus; | ||
(function (SwitchKeyStatus) { | ||
SwitchKeyStatus[SwitchKeyStatus["ON"] = 1] = "ON"; | ||
SwitchKeyStatus[SwitchKeyStatus["OFF"] = 0] = "OFF"; | ||
})(SwitchKeyStatus || (SwitchKeyStatus = {})); | ||
// 按键类型索引 3|3 | ||
// 开关|情景|单线|插座|雷达 | ||
var SwitchKeyTypeIndex; | ||
(function (SwitchKeyTypeIndex) { | ||
SwitchKeyTypeIndex[SwitchKeyTypeIndex["NORMAL"] = 0] = "NORMAL"; | ||
SwitchKeyTypeIndex[SwitchKeyTypeIndex["SCENE"] = 1] = "SCENE"; // 情景 | ||
SwitchKeyTypeIndex[SwitchKeyTypeIndex["SWITCH"] = 0] = "SWITCH"; | ||
SwitchKeyTypeIndex[SwitchKeyTypeIndex["SCENE"] = 1] = "SCENE"; | ||
SwitchKeyTypeIndex[SwitchKeyTypeIndex["LINE"] = 2] = "LINE"; | ||
SwitchKeyTypeIndex[SwitchKeyTypeIndex["SOCKET"] = 3] = "SOCKET"; | ||
SwitchKeyTypeIndex[SwitchKeyTypeIndex["RADAR"] = 4] = "RADAR"; | ||
})(SwitchKeyTypeIndex || (SwitchKeyTypeIndex = {})); | ||
// 开关类型 | ||
const SwitchKeyTypeIndexMap = { | ||
[SwitchKeyTypeIndex.NORMAL]: 'normal', | ||
[SwitchKeyTypeIndex.SCENE]: 'scene' | ||
[SwitchKeyTypeIndex.SWITCH]: 'switch', | ||
[SwitchKeyTypeIndex.SCENE]: 'scene', | ||
[SwitchKeyTypeIndex.LINE]: 'line', | ||
[SwitchKeyTypeIndex.SOCKET]: 'socket', | ||
[SwitchKeyTypeIndex.RADAR]: 'radar', | ||
}; | ||
const SwitchTypeIndexObj = { | ||
switch: 0, | ||
scene: 0, | ||
line: 0, | ||
socket: 0, | ||
radar: 0 | ||
}; | ||
// 按键状态 | ||
var SwitchKeyStatus; | ||
(function (SwitchKeyStatus) { | ||
SwitchKeyStatus[SwitchKeyStatus["ON"] = 1] = "ON"; | ||
SwitchKeyStatus[SwitchKeyStatus["OFF"] = 0] = "OFF"; | ||
})(SwitchKeyStatus || (SwitchKeyStatus = {})); | ||
const SwitchKeyStatusMap = { | ||
@@ -32,5 +49,17 @@ [SwitchKeyStatus.ON]: '开', | ||
}; | ||
const DEFAULT_KEY_COUNT = 0; // 默认按键数 | ||
// 按键类型范式 | ||
var KeyTypePatternEnum; | ||
(function (KeyTypePatternEnum) { | ||
KeyTypePatternEnum["SWITCH"] = "10"; | ||
KeyTypePatternEnum["SCENE"] = "01"; | ||
KeyTypePatternEnum["SWITCHSCENE"] = "11"; | ||
KeyTypePatternEnum["LINE"] = "001"; | ||
KeyTypePatternEnum["SOCKET"] = "0001"; | ||
KeyTypePatternEnum["SWITCHRADAR"] = "10001"; | ||
KeyTypePatternEnum["SCENERADAR"] = "01001"; | ||
})(KeyTypePatternEnum = exports.KeyTypePatternEnum || (exports.KeyTypePatternEnum = {})); | ||
class SwitchMixEquip extends BaseEquip_1.BaseEquip { | ||
/** | ||
* 面板开关(普通开关、情景开关、单线开挂、混合开关[普通+情景]) | ||
* 面板开关(普通开关、情景开关、单线开关、混合开关[普通+情景]) | ||
* @param status 状态 | ||
@@ -44,3 +73,3 @@ * @param deviceType 主类型 | ||
this.typeStr = this.TypeHints.getSocketSwitchTypeIndex(deviceType, deviceChildType); | ||
this.switchStatus = new SwitchMixStatus_1.SwitchMixStatus(status, this.orderCount); | ||
this.switchStatus = new SwitchMixStatus_1.SwitchMixStatus(status, this.orderCount, this.keyTypePattern); | ||
} | ||
@@ -56,3 +85,3 @@ /** | ||
* { | ||
* normal: 1, | ||
* switch: 1, | ||
* scene: 0 | ||
@@ -65,12 +94,18 @@ * } | ||
const types = this.typeStr.split('|'); | ||
const typeObj = { | ||
normal: 0, | ||
scene: 0 | ||
}; | ||
const typeObj = Object.assign({}, SwitchTypeIndexObj); | ||
for (let index = 0; index < types.length; index++) { | ||
const t = types[index]; | ||
typeObj[SwitchKeyTypeIndexMap[index]] = +!!t; | ||
typeObj[SwitchKeyTypeIndexMap[index]] = +!!types[index]; | ||
} | ||
return typeObj; | ||
} | ||
// 类型范式 [3, 3] => '11', [3, 0] => '10', [0, 3] => '01'... | ||
get keyTypePattern() { | ||
let keys = this.typeStr.split('|'); | ||
const keyList = []; // [3, 0, 2] => [1, 0, 1] | ||
for (let index = 0; index < keys.length; index++) { | ||
const key = keys[index]; | ||
keyList[index] = +key ? 1 : 0; | ||
} | ||
return keyList.join(''); | ||
} | ||
/** | ||
@@ -87,3 +122,7 @@ * 按键列表 | ||
get keyCount() { | ||
return +this._getKeyCount(); | ||
if (!this.typeStr || !this.typeStr.length) | ||
return DEFAULT_KEY_COUNT; | ||
let keys = this.typeStr.split('|'); | ||
keys = keys.filter((it) => it); | ||
return +keys.reduce((a, b) => +a + (+b)) || DEFAULT_KEY_COUNT; | ||
} | ||
@@ -95,3 +134,3 @@ /** | ||
if (!this.typeStr || !this.typeStr.length) | ||
return [1]; | ||
return [DEFAULT_KEY_COUNT]; | ||
let keys = this.typeStr.split('|'); | ||
@@ -101,3 +140,3 @@ const keyList = []; | ||
const key = keys[index]; | ||
keyList[index] = +key ? +key : 0; | ||
keyList[index] = +key ? +key : DEFAULT_KEY_COUNT; | ||
} | ||
@@ -112,17 +151,38 @@ return keyList; | ||
* 混合类型 - 情景为主入口 | ||
* 单线开关 - 开关 | ||
* 插座开关 - 插座 | ||
*/ | ||
get orderCount() { | ||
const countList = this._keyCountList; | ||
return countList.length && countList.length === 2 ? countList.reverse() : countList; | ||
const countList = [...this._keyCountList]; | ||
if (!countList.length) | ||
return []; | ||
// 开关 | ||
if (countList.length === 1 || this.isSwitch) | ||
return countList; | ||
// 主要主程 | ||
if (this.isScene || this.isSwitchScene || this.isLine || this.isSocket) | ||
return countList.reverse().slice(0, 2); | ||
// 雷达主程 | ||
if (this.isRadar) | ||
return [countList.find(i => !!i) || DEFAULT_KEY_COUNT]; | ||
return []; | ||
} | ||
/** | ||
* 获取按键总数 | ||
*/ | ||
_getKeyCount() { | ||
if (!this.typeStr || !this.typeStr.length) | ||
return 1; | ||
let keys = this.typeStr.split('|'); | ||
keys = keys.filter((it) => it); | ||
return keys.reduce((a, b) => +a + (+b)) || 1; | ||
get isSwitch() { | ||
return this.keyTypePattern === KeyTypePatternEnum.SWITCH; | ||
} | ||
get isScene() { | ||
return this.keyTypePattern === KeyTypePatternEnum.SCENE; | ||
} | ||
get isSwitchScene() { | ||
return this.keyTypePattern === KeyTypePatternEnum.SWITCHSCENE; | ||
} | ||
get isLine() { | ||
return this.keyTypePattern === KeyTypePatternEnum.LINE; | ||
} | ||
get isSocket() { | ||
return this.keyTypePattern === KeyTypePatternEnum.SOCKET; | ||
} | ||
get isRadar() { | ||
return [`${KeyTypePatternEnum.SWITCHRADAR}`, `${KeyTypePatternEnum.SCENERADAR}`].includes(this.keyTypePattern); | ||
} | ||
/** | ||
@@ -137,3 +197,3 @@ * 设置按键位 | ||
const setMethod = t ? 'setExtraKeyDots' : 'setKeyDot'; | ||
const idx = t ? index - this.orderCount[0] : index; | ||
const idx = t ? index - this.orderCount[SwitchStatus_1.OrderEnum.Primary] : index; | ||
this.switchStatus[setMethod](vb, idx); | ||
@@ -176,4 +236,9 @@ return this; | ||
getBytes() { | ||
const keyDots = this.switchStatus.keyDots.reverse(); | ||
const extraDots = this.switchStatus.extraKeyDots.reverse(); | ||
// 按键从右至左取值,构建字节码需先取反 | ||
let keyDots = [...this.switchStatus.keyDots]; | ||
keyDots = keyDots.reverse(); | ||
if (this.isScene || this.isSwitchScene) { // 情景开关按字节 8位获取按键 | ||
keyDots = keyDots.map(k => `${+k}`); | ||
} | ||
const extraDots = [...this.switchStatus.extraKeyDots].reverse(); | ||
const status = new this.Converter(keyDots.join('') || '00', 2).toHex(); | ||
@@ -185,2 +250,2 @@ const extraStatus = new this.Converter(extraDots.join('') || '00', 2).toHex(); | ||
exports.SwitchMixEquip = SwitchMixEquip; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3dpdGNoTWl4RXF1aXAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbW9kdWxlcy9Td2l0Y2hNaXhFcXVpcC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTs7Ozs7R0FLRztBQUNILCtEQUE0RDtBQUM1RCwyQ0FBd0M7QUFFeEMsSUFBSyxlQUdKO0FBSEQsV0FBSyxlQUFlO0lBQ2xCLGlEQUFNLENBQUE7SUFDTixtREFBTyxDQUFBO0FBQ1QsQ0FBQyxFQUhJLGVBQWUsS0FBZixlQUFlLFFBR25CO0FBRUQsYUFBYTtBQUNiLElBQUssa0JBR0o7QUFIRCxXQUFLLGtCQUFrQjtJQUNyQiwrREFBVSxDQUFBO0lBQ1YsNkRBQVMsQ0FBQSxDQUFDLEtBQUs7QUFDakIsQ0FBQyxFQUhJLGtCQUFr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MsRUFBRSxDQUFDLElBQUksSUFBSSxFQUFFLENBQUMsQ0FBQyxDQUFDLEtBQUssRUFBRSxDQUFBO1FBQzdFLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQyxNQUFNLENBQUMsTUFBTSxFQUFFLFdBQVcsQ0FBQyxDQUFBO0lBQy9DLENBQUM7Q0FDRjtBQWxMRCx3Q0FrTEMifQ== |
import { SwitchMixEquip } from './SwitchMixEquip'; | ||
export declare class SwitchPlugEquip extends SwitchMixEquip { | ||
typeStr: any; | ||
constructor(status: string, deviceType?: string, deviceChildType?: string); | ||
@@ -5,0 +4,0 @@ /** |
@@ -22,95 +22,7 @@ "use strict"; | ||
class SwitchPlugEquip extends SwitchMixEquip_1.SwitchMixEquip { | ||
// private bytes = `{0}00000000000000`; | ||
constructor(status, deviceType, deviceChildType) { | ||
super(status, deviceType, deviceChildType); | ||
// this.typeStr = this.TypeHints.getSocketSwitchTypeIndex(deviceType, deviceChildType) | ||
this.switchStatus = new SwitchPlugStatus_1.SwitchPlugStatus(status, this.orderCount); | ||
this.bytes = `0000{0}0000000000`; | ||
} | ||
// /** | ||
// * 类型索引 1|3 | ||
// */ | ||
// get typeIndex () { | ||
// return this.typeStr | ||
// } | ||
// /** | ||
// * 按键列表 | ||
// * ['00', '01', '10', '11'] | ||
// */ | ||
// get keyDots () { | ||
// return this.switchStatus.keyDots | ||
// } | ||
// /** | ||
// * 按键总数 | ||
// */ | ||
// get keyCount () { | ||
// return +this._getKeyCount() | ||
// } | ||
// /** | ||
// * 获取各类型按键数量列表 [2,3] -> [开关, 情景] | ||
// */ | ||
// get _keyCountList () { | ||
// if (!this.typeStr || !this.typeStr.length) return [1] | ||
// let keys = this.typeStr.split('|') | ||
// const keyList = [] | ||
// for (let index = 0; index < keys.length; index++) { | ||
// const key = keys[index] | ||
// keyList[index] = +key ? +key : 0 | ||
// } | ||
// return keyList | ||
// } | ||
// /** | ||
// * 按键数列表,按主程类型排序 | ||
// * | ||
// * 开关类型 - 开关为主入口 | ||
// * 情景类型 - 情景为主入口 | ||
// * 混合类型 - 情景为主入口 | ||
// */ | ||
// get orderCount () { | ||
// const countList = this._keyCountList | ||
// return countList.length && countList.length === 2 ? countList.reverse() : countList | ||
// } | ||
// /** | ||
// * 获取按键总数 | ||
// */ | ||
// private _getKeyCount () { | ||
// if (!this.typeStr || !this.typeStr.length) return 1 | ||
// let keys = this.typeStr.split('|') | ||
// keys = keys.filter((it: any) => it) | ||
// return keys.reduce((a:any, b:any) => +a + (+b)) || 1 | ||
// } | ||
// /** | ||
// * 设置按键位 | ||
// * @param v 值 | ||
// * @param index 索引 | ||
// * @param t 非主程类型 > 0 的任意值 | ||
// */ | ||
// setPower (v: number, index: number, t?: number) { | ||
// const vb = new this.Converter(`${v}`, 10).toBinary() | ||
// this.switchStatus.setKeyDot(vb, index) | ||
// return this | ||
// } | ||
// /** | ||
// * 获取按键值 ['1', '0', '1'] | ||
// * @param index 索引 | ||
// * @param t 非主程类型 > 0 的任意值 | ||
// */ | ||
// getPower (index?: number, t?: number): Array<string> { | ||
// if (index !== undefined) { | ||
// const v = this.switchStatus.getKeyDotByIndex(index) | ||
// const vd = new this.Converter(`${v}`, 2).toDecimal() | ||
// return [vd] | ||
// } else { | ||
// return this.keyDots.map(item => new this.Converter(`${item}`, 2).toDecimal()) | ||
// } | ||
// } | ||
// /** | ||
// * 获取按键位整型值 [1, 0, 1] | ||
// * @param index 索引 | ||
// * @param t 非主程类型 > 0 的任意值 | ||
// */ | ||
// getPowerInt (index?: number, t?: number): Array<number> { | ||
// const powers = this.getPower(index, t) | ||
// return powers.map(item => +item > 1 ? 0 : +item) | ||
// } | ||
/** | ||
@@ -130,2 +42,2 @@ * 获取状态描述 | ||
exports.SwitchPlugEquip = SwitchPlugEquip; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3dpdGNoUGx1Z0VxdWlwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsi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xPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsTUFBTSxDQUFDLE1BQU0sQ0FBQyxDQUFBO0lBQ2xDLENBQUM7Q0FDRjtBQW5CRCwwQ0FtQkMifQ== |
@@ -8,11 +8,9 @@ import { BaseEquip } from './BaseEquip'; | ||
/** | ||
* 空调套件操作 | ||
* 线控空调 | ||
* @param status 16进制状态字符串 | ||
* @param deviceType 设备类型 | ||
* @param deviceChildType 设备子类型 | ||
* @param ac 空调对象信息 | ||
*/ | ||
constructor(status?: string, deviceType?: string, deviceChildType?: string); | ||
static get defaultTemp(): number; | ||
init(): void; | ||
/** | ||
@@ -28,2 +26,6 @@ * 设置空调温度值 | ||
/** | ||
* 获取温度存储值(hex) | ||
*/ | ||
getTemperatureRawValue(): string; | ||
/** | ||
* 获取温度文本 | ||
@@ -43,5 +45,5 @@ */ | ||
/** | ||
* 获取空调模式值: 0x00, 01,21, 51 | ||
* 获取空调模式值: 21, 51 | ||
*/ | ||
getModeValue(): string; | ||
getModeRawValue(): string; | ||
/** | ||
@@ -63,3 +65,3 @@ * 获取模式描述: 自动、制冷... | ||
*/ | ||
getSpeedValue(): string; | ||
getSpeedRawValue(): string; | ||
get speedText(): string; | ||
@@ -78,3 +80,3 @@ /** | ||
*/ | ||
getHorizontalWingValue(): string; | ||
getHorizontalWingRawValue(): string; | ||
/** | ||
@@ -96,3 +98,3 @@ * 获取左右摆风文本: '左右', '--' | ||
*/ | ||
getVerticalWingVlaue(): string; | ||
getVerticalWingRawValue(): string; | ||
/** | ||
@@ -99,0 +101,0 @@ * 获取摆风文本: '左右', '--' |
@@ -7,10 +7,8 @@ "use strict"; | ||
const WireConditionStatus_1 = require("../entity/WireConditionStatus"); | ||
// 线控空调 | ||
class WireConditionEquip extends BaseEquip_1.BaseEquip { | ||
/** | ||
* 空调套件操作 | ||
* 线控空调 | ||
* @param status 16进制状态字符串 | ||
* @param deviceType 设备类型 | ||
* @param deviceChildType 设备子类型 | ||
* @param ac 空调对象信息 | ||
*/ | ||
@@ -22,3 +20,2 @@ constructor(status = '', deviceType, deviceChildType) { | ||
this.airModel = new WireConditionStatus_1.WireAirConditionModel(status); | ||
this.init(); | ||
} | ||
@@ -28,17 +25,2 @@ static get defaultTemp() { | ||
} | ||
init() { | ||
// const keyValue = this.airModel.getKeyValue() | ||
// if (!keyValue) return | ||
// if (['on', 'off'].includes(keyValue)) { | ||
// this.setPower(keyValue === 'on') | ||
// } else { | ||
// const keys = keyValue.split('_') | ||
// if (keys.filter(i => i).length) this.airModel.setPower('on') | ||
// keys[0] && this.setMode(+this.getMode(keys[0])) | ||
// keys[1] && this.setSpeed(+this.getSpeed(keys[1])) | ||
// this.setTemperature(+this.getTemperature(new this.Converter(keys[2] ? keys[2] : `${WireConditionEquip.defaultTemp}`, 10).toHex())) | ||
// keys[3] && this.setVerticalWing(+this.getVerticalWing(keys[3])) | ||
// keys[4] && this.setHorizontalWing(+this.getHorizontalWing(keys[4])) | ||
// } | ||
} | ||
/** | ||
@@ -63,2 +45,8 @@ * 设置空调温度值 | ||
/** | ||
* 获取温度存储值(hex) | ||
*/ | ||
getTemperatureRawValue() { | ||
return this.airModel.getTemperature(); | ||
} | ||
/** | ||
* 获取温度文本 | ||
@@ -91,5 +79,5 @@ */ | ||
/** | ||
* 获取空调模式值: 0x00, 01,21, 51 | ||
* 获取空调模式值: 21, 51 | ||
*/ | ||
getModeValue() { | ||
getModeRawValue() { | ||
return this.airModel.getMode(); | ||
@@ -123,3 +111,3 @@ } | ||
*/ | ||
getSpeedValue() { | ||
getSpeedRawValue() { | ||
return this.airModel.getSpeed(); | ||
@@ -152,3 +140,3 @@ } | ||
*/ | ||
getHorizontalWingValue() { | ||
getHorizontalWingRawValue() { | ||
return this.airModel.getHorizontalWing(); | ||
@@ -184,3 +172,3 @@ } | ||
*/ | ||
getVerticalWingVlaue() { | ||
getVerticalWingRawValue() { | ||
return this.airModel.getVerticalWing(); | ||
@@ -233,3 +221,3 @@ } | ||
get isPowerOn() { | ||
return this.getPower() === constant_1.WireModeMap[constant_1.WireMode.ON]; | ||
return this.getPower() === constant_1.WireModeMap[constant_1.WireMode.ON] || !!+this.getModeRawValue(); | ||
} | ||
@@ -259,22 +247,31 @@ /** | ||
const mode = this.getPower(); | ||
const speed = this.getSpeedValue(); | ||
const temperature = this.getTemperature(); | ||
const vwing = this.getVerticalWingVlaue(); | ||
const hwing = this.getHorizontalWingValue(); | ||
const speed = this.getSpeedRawValue(); | ||
const temperature = this.getTemperatureRawValue(); | ||
const vwing = this.getVerticalWingRawValue(); | ||
const hwing = this.getHorizontalWingRawValue(); | ||
return this.bytes.format(mode, speed, temperature, vwing, hwing, this.airModel.roomTemp); | ||
} | ||
getBytes() { | ||
const mode = this.getModeValue(); | ||
const speed = this.getSpeedValue(); | ||
const temperature = this.getTemperature(); | ||
const vwing = this.getVerticalWingVlaue(); | ||
const hwing = this.getHorizontalWingValue(); | ||
const mode = this.getModeRawValue(); | ||
const speed = this.getSpeedRawValue(); | ||
const temperature = this.getTemperatureRawValue(); | ||
const vwing = this.getVerticalWingRawValue(); | ||
const hwing = this.getHorizontalWingRawValue(); | ||
return this.bytes.format(mode, speed, temperature, vwing, hwing, this.airModel.roomTemp); | ||
} | ||
getStatusDescriptor() { | ||
const isPowerOn = this.isPowerOn ? this.isPowerOn : !!this.getModeValue(); | ||
return isPowerOn ? constant_1.WireModeDescriptorMap[constant_1.WireMode.ON] : constant_1.WireModeDescriptorMap[constant_1.WireMode.OFF]; | ||
// return this.isPowerOn ? WireModeDescriptorMap[WireMode.ON] : WireModeDescriptorMap[WireMode.OFF] | ||
if (this.isPowerOn) { | ||
const modeValue = this.getModeRawValue(); | ||
if (!modeValue) | ||
return constant_1.WireModeDescriptorMap[constant_1.WireMode.ON]; | ||
if (constant_1.WireModeMap[constant_1.WireMode.COLD] === modeValue) | ||
return constant_1.WireModeDescriptorMap[constant_1.WireMode.COLD]; | ||
if (constant_1.WireModeMap[constant_1.WireMode.HOT] === modeValue) | ||
return constant_1.WireModeDescriptorMap[constant_1.WireMode.HOT]; | ||
} | ||
return constant_1.WireModeDescriptorMap[constant_1.WireMode.OFF]; | ||
} | ||
} | ||
exports.WireConditionEquip = WireConditionEquip; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiV2lyZUNvbmRpdGlvbkVxdWlwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL21vZHVsZXMvV2lyZUNvbmRpdGlvbkVxdWlwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDJDQUF3QztBQUN4QyxpREFhNEI7QUFDNUIsdUVBQXNFO0FBRXRFLE9BQU87QUFDUCxNQUFhLGtCQUFtQixTQUFRLHFCQUFTO0lBSy9DOzs7Ozs7T0FNRztJQUNILFlBQVksU0FBaUIsRUFBRSxFQUFFLFVBQXFCLEVBQUUsZUFBMEI7UUFDaEYsS0FBSyxDQUFDLE1BQU0sRUFBRSxVQUFVLEVBQUUsZUFBZSxDQUFDLENBQUE7UUFYNUMsK0JBQStCO1FBQ2QsVUFBSyxHQUFHLHNCQUFzQixDQUFDO1FBVzlDLElBQUksQ0FBQyxRQUFRLEdBQUcsSUFBSSwyQ0FBcUIsQ0FBQyxNQUFNLENBQUMsQ0FBQTtRQUNqRCxJQUFJLENBQUMsSUFBSSxFQUFFLENBQUE7SUFDYixDQUFDO0lBQ0QsTUFBTSxLQUFLLFdBQVc7UUFDcEIsT0FBTyxFQUFFLENBQUE7SUFDWCxDQUFDO0lBQ0QsSUFBSTtRQUNGLCtDQUErQztRQUMvQyx3QkFBd0I7UUFDeEIsMENBQTBDO1FBQzFDLHFDQUFxQztRQUNyQyxXQUFXO1FBQ1gscUNBQXFDO1FBQ3JDLGlFQUFpRTtRQUNqRSxvREFBb0Q7UUFDcEQsc0RBQXNEO1FBQ3RELHVJQUF1STtRQUN2SSxvRUFBb0U7UUFDcEUsd0VBQXdFO1FBQ3hFLElB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LENBQUMsbUJBQVEsQ0FBQyxJQUFJLENBQUMsS0FBSyxTQUFTO2dCQUFFLE9BQU8sZ0NBQXFCLENBQUMsbUJBQVEsQ0FBQyxJQUFJLENBQUMsQ0FBQTtZQUN6RixJQUFJLHNCQUFXLENBQUMsbUJBQVEsQ0FBQyxHQUFHLENBQUMsS0FBSyxTQUFTO2dCQUFFLE9BQU8sZ0NBQXFCLENBQUMsbUJBQVEsQ0FBQyxHQUFHLENBQUMsQ0FBQTtTQUN4RjtRQUNELE9BQU8sZ0NBQXFCLENBQUMsbUJBQVEsQ0FBQyxHQUFHLENBQUMsQ0FBQTtJQUM1QyxDQUFDO0NBQ0Y7QUFsUUQsZ0RBa1FDIn0= |
@@ -0,1 +1,12 @@ | ||
export declare enum PowerEnum { | ||
ON = "on", | ||
OFF = "off" | ||
} | ||
export declare enum ModeEnum { | ||
AUTO = 1, | ||
COLD = 2, | ||
WEDY = 3, | ||
WING = 4, | ||
HOT = 5 | ||
} | ||
export declare const ModeMap: any; | ||
@@ -6,5 +17,19 @@ /** | ||
export declare const ModeDescriptorMap: any; | ||
export declare enum SpeedEnum { | ||
AUTO = 0, | ||
WEAK = 1, | ||
MEDIUM = 2, | ||
STRONG = 3 | ||
} | ||
export declare const SpeedMap: any; | ||
export declare const SpeedDescriptorMap: any; | ||
export declare enum HWingEnum { | ||
ON = 1, | ||
OFF = 0 | ||
} | ||
export declare const HorizontalWingMap: any; | ||
export declare enum VWingEnum { | ||
ON = 1, | ||
OFF = 0 | ||
} | ||
export declare const VerticalWingMap: any; | ||
@@ -11,0 +36,0 @@ export declare const WingDescriptorMap: any; |
"use strict"; | ||
///// 红外空调 /////// | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.WireVWingDescriptorMap = exports.WWireVWingMap = exports.WireVWing = exports.WireHWingDescriptorMap = exports.WireHWingMap = exports.WireHWing = exports.WireSpeedDescriptorMap = exports.WireSpeedMap = exports.WireSpeed = exports.WireModeDescriptorMap = exports.WireModeMap = exports.WireMode = exports.WingDescriptorMap = exports.VerticalWingMap = exports.HorizontalWingMap = exports.SpeedDescriptorMap = exports.SpeedMap = exports.ModeDescriptorMap = exports.ModeMap = void 0; | ||
exports.WireVWingDescriptorMap = exports.WWireVWingMap = exports.WireVWing = exports.WireHWingDescriptorMap = exports.WireHWingMap = exports.WireHWing = exports.WireSpeedDescriptorMap = exports.WireSpeedMap = exports.WireSpeed = exports.WireModeDescriptorMap = exports.WireModeMap = exports.WireMode = exports.WingDescriptorMap = exports.VerticalWingMap = exports.VWingEnum = exports.HorizontalWingMap = exports.HWingEnum = exports.SpeedDescriptorMap = exports.SpeedMap = exports.SpeedEnum = exports.ModeDescriptorMap = exports.ModeMap = exports.ModeEnum = exports.PowerEnum = void 0; | ||
// 电源 | ||
var PowerEnum; | ||
(function (PowerEnum) { | ||
PowerEnum["ON"] = "on"; | ||
PowerEnum["OFF"] = "off"; | ||
})(PowerEnum = exports.PowerEnum || (exports.PowerEnum = {})); | ||
// 模式 | ||
var ModeEnum; | ||
(function (ModeEnum) { | ||
ModeEnum[ModeEnum["AUTO"] = 1] = "AUTO"; | ||
ModeEnum[ModeEnum["COLD"] = 2] = "COLD"; | ||
ModeEnum[ModeEnum["WEDY"] = 3] = "WEDY"; | ||
ModeEnum[ModeEnum["WING"] = 4] = "WING"; | ||
ModeEnum[ModeEnum["HOT"] = 5] = "HOT"; // 制热 | ||
})(ModeEnum = exports.ModeEnum || (exports.ModeEnum = {})); | ||
exports.ModeMap = { | ||
1: 'a', | ||
2: 'r', | ||
3: 'd', | ||
4: 'w', | ||
5: 'h' | ||
[ModeEnum.AUTO]: 'a', | ||
[ModeEnum.COLD]: 'r', | ||
[ModeEnum.WEDY]: 'd', | ||
[ModeEnum.WING]: 'w', | ||
[ModeEnum.HOT]: 'h' | ||
}; | ||
@@ -16,30 +31,47 @@ /** | ||
exports.ModeDescriptorMap = { | ||
1: '自动', | ||
2: '制冷', | ||
3: '抽湿', | ||
4: '送风', | ||
5: '制热' | ||
[ModeEnum.AUTO]: '自动', | ||
[ModeEnum.COLD]: '制冷', | ||
[ModeEnum.WEDY]: '抽湿', | ||
[ModeEnum.WING]: '送风', | ||
[ModeEnum.HOT]: '制热' | ||
}; | ||
// 风速 | ||
var SpeedEnum; | ||
(function (SpeedEnum) { | ||
SpeedEnum[SpeedEnum["AUTO"] = 0] = "AUTO"; | ||
SpeedEnum[SpeedEnum["WEAK"] = 1] = "WEAK"; | ||
SpeedEnum[SpeedEnum["MEDIUM"] = 2] = "MEDIUM"; | ||
SpeedEnum[SpeedEnum["STRONG"] = 3] = "STRONG"; | ||
})(SpeedEnum = exports.SpeedEnum || (exports.SpeedEnum = {})); | ||
exports.SpeedMap = { | ||
0: 's0', | ||
1: 's1', | ||
2: 's2', | ||
3: 's3' | ||
[SpeedEnum.AUTO]: 's0', | ||
[SpeedEnum.WEAK]: 's1', | ||
[SpeedEnum.MEDIUM]: 's2', | ||
[SpeedEnum.STRONG]: 's3' | ||
}; | ||
exports.SpeedDescriptorMap = { | ||
0: '自动', | ||
1: '弱', | ||
2: '中', | ||
3: '强' | ||
[SpeedEnum.AUTO]: '自动', | ||
[SpeedEnum.WEAK]: '弱', | ||
[SpeedEnum.MEDIUM]: '中', | ||
[SpeedEnum.STRONG]: '强' | ||
}; | ||
// 左右摆风 | ||
var HWingEnum; | ||
(function (HWingEnum) { | ||
HWingEnum[HWingEnum["ON"] = 1] = "ON"; | ||
HWingEnum[HWingEnum["OFF"] = 0] = "OFF"; | ||
})(HWingEnum = exports.HWingEnum || (exports.HWingEnum = {})); | ||
exports.HorizontalWingMap = { | ||
0: 'l0', | ||
1: 'l1' | ||
[HWingEnum.OFF]: 'l0', | ||
[HWingEnum.ON]: 'l1' | ||
}; | ||
// 上下摆风 | ||
var VWingEnum; | ||
(function (VWingEnum) { | ||
VWingEnum[VWingEnum["ON"] = 1] = "ON"; | ||
VWingEnum[VWingEnum["OFF"] = 0] = "OFF"; | ||
})(VWingEnum = exports.VWingEnum || (exports.VWingEnum = {})); | ||
exports.VerticalWingMap = { | ||
0: 'u0', | ||
1: 'u1' | ||
[VWingEnum.OFF]: 'u0', | ||
[VWingEnum.ON]: 'u1' | ||
}; | ||
@@ -52,2 +84,4 @@ exports.WingDescriptorMap = { | ||
}; | ||
////// 线控空调 /////// | ||
// 模式 | ||
var WireMode; | ||
@@ -68,7 +102,8 @@ (function (WireMode) { | ||
exports.WireModeDescriptorMap = { | ||
[WireMode.OFF]: '关机', | ||
[WireMode.ON]: '开机', | ||
[WireMode.OFF]: '关', | ||
[WireMode.ON]: '开', | ||
[WireMode.COLD]: '制冷', | ||
[WireMode.HOT]: '制热', | ||
}; | ||
// 风速 | ||
var WireSpeed; | ||
@@ -93,2 +128,3 @@ (function (WireSpeed) { | ||
}; | ||
// 左右摆风 | ||
var WireHWing; | ||
@@ -107,2 +143,3 @@ (function (WireHWing) { | ||
}; | ||
// 上下摆风 | ||
var WireVWing; | ||
@@ -121,2 +158,2 @@ (function (WireVWing) { | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvc2hhcmVkL2NvbnN0YW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLEtBQUs7QUFDUSxRQUFBLE9BQU8sR0FBUTtJQUMxQixDQUFDLEVBQUUsR0FBRztJQUNOLENBQUMsRUFBRSxHQUFHO0lBQ04sQ0FBQyxFQUFFLEdBQUc7SUFDTixDQUFDLEVBQUUsR0FBRztJQUNOLENBQUMsRUFBRSxHQUFHO0NBQ1AsQ0FBQTtBQUNEOztHQUVHO0FBQ1UsUUFBQSxpQkFBaUIsR0FBUTtJQUNwQyxDQUFDLEVBQUUsSUFBSTtJQUNQLENBQUMsRUFBRSxJQUFJO0lBQ1AsQ0FBQyxFQUFFLElBQUk7SUFDUCxDQUFDLEVBQUUsSUFBS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0FBUyxDQUFDLEdBQUcsQ0FBQyxFQUFFLEVBQUU7Q0FDcEIsQ0FBQSJ9 |
@@ -59,3 +59,3 @@ import { Converter } from './converter'; | ||
/** | ||
* TODO 获取开关状态描述 | ||
* 获取开关状态描述 | ||
* @param status 状态码 16位字符串 | ||
@@ -62,0 +62,0 @@ * @param deviceType 设备主类型 |
@@ -30,5 +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"); | ||
const SwitchEquip_1 = require("../modules/SwitchEquip"); | ||
/** | ||
@@ -134,3 +134,3 @@ * 状态描述器 | ||
/** | ||
* TODO 获取开关状态描述 | ||
* 获取开关状态描述 | ||
* @param status 状态码 16位字符串 | ||
@@ -146,30 +146,6 @@ * @param deviceType 设备主类型 | ||
const TypeHints = this.TypeHints; | ||
const bitlen = TypeHints.getSocketSwitchBitLen(deviceChildType); | ||
if (TypeHints.isPlugSocketSwitch(deviceChildType)) { | ||
const statusBitStr = converter_1.fillLength(socketStatus.getPlugStatus(), 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); | ||
// const equip = new SwitchMixEquip(status, deviceType, deviceChildType) | ||
const factory = new SwitchEquip_1.SwitchEquip(status, deviceType, deviceChildType); | ||
const equip = factory.create(); | ||
return equip.getStatusDescriptor(); | ||
@@ -275,2 +251,2 @@ } | ||
exports.Descriptor = new _Descriptor(); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGVzY3JpcHRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy91dGlscy9EZXNjcmlwdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSwyQ0FBb0Q7QUFDcEQsMkNBQXdDO0FBQ3hDLDBEQUFnRTtBQUNoRSxxREFBa0Q7QUFDbEQsZ0VBQTZEO0FBQzdELHlEQUFzRDtBQUN0RCw4REFBMkQ7QUFDM0QsOERBQTJEO0FBQzNELDBEQUF1RDtBQUN2RCxzRUFBbUU7QUFFbkU7O0dBRUc7QUFDSCxNQUFhLFdBQVc7SUFPdEI7UUFMZ0IsV0FBTSxHQUFHLEVBQUUsQ0FBQztRQUNaLGVBQVUsR0FBRyxFQUFFLENBQUM7UUFDaEIsY0FBUyxHQUFHLEVBQUUsQ0FBQztRQUk3QixJQUFJLENBQUMsTUFBTSxHQUFHLGdCQUF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FO1FBQ0QsT0FBTyxDQUFDLENBQUMsUUFBUSxFQUFFLENBQUM7S0FDckI7QUFDSCxDQUFDLENBQUMifQ== |
@@ -152,2 +152,8 @@ /** | ||
'0452': string; | ||
'0401': string; | ||
'0412': string; | ||
'0413': string; | ||
'0414': string; | ||
'0471': string; | ||
'04101': string; | ||
}; | ||
@@ -154,0 +160,0 @@ statusLength: { |
@@ -98,8 +98,9 @@ "use strict"; | ||
'04': '插座开关', | ||
'0401': '1路智能插座', | ||
// 智能插座 | ||
'0401': '1路插座', | ||
// '0402': '单线开关'(停用), | ||
// '0403': '触摸开关'(停用), | ||
'0412': '2路智能插座', | ||
'0413': '3路智能插座', | ||
'0414': '4路智能插座', | ||
'0412': '2路插座', | ||
'0413': '3路插座', | ||
'0414': '4路插座', | ||
// 触摸开关 | ||
@@ -114,2 +115,3 @@ '0421': '1路开关', | ||
'0428': '8路开关', | ||
// 情景开关 | ||
'0431': '1路情景开关', | ||
@@ -120,2 +122,3 @@ '0432': '2路情景开关', | ||
'0436': '6键情景开关', | ||
// 混合开关 | ||
'0441': '1路开关 + 3路情景', | ||
@@ -126,4 +129,6 @@ '0442': '2路开关 + 3路情景', | ||
'0462': '2路开关 + 2路情景', | ||
// 单线开关 | ||
'0451': '1键单线开关', | ||
'0452': '2键单线开关', | ||
// 雷达开关 | ||
'0471': '1路开关 + 雷达', | ||
@@ -154,7 +159,2 @@ '04101': '1路情景 + 雷达', | ||
root: ['04'], | ||
// 触摸开关,子类型组 byte[0] | ||
// touch: ['02', '21', '22', '23', '24', '25', '26', '28', '51', '52'], | ||
// touch: ['25', '26', '27', '28'], | ||
// 情景面板 | ||
// scene: ['31', '32', '33', '35'], | ||
// 可设置情景面板 | ||
@@ -165,12 +165,9 @@ settableScene: ['122'], | ||
mixup: ['41', '42', '43', '62', '83'], | ||
// 普通开关 | ||
// normal: ['03'], | ||
// 插座 byte[0] | ||
// simple: ['01', '12', '13', '14'], | ||
// 智能插座 | ||
plug: ['01', '12', '13', '14'], | ||
// x 路开关 | TODO 插座开关隔离 | ||
xkey: ['21', '22', '23', '24', '31', '32', '33', '34', '36', '41', '42', '43', '62', '51', '52'] | ||
xkey: ['21', '22', '23', '24', '31', '32', '33', '34', '36', '41', '42', '43', '62', '51', '52', '01', '12', '13', '14'] | ||
}, | ||
// 设备类型索引类型 一键开关 -> 1, 二建开关 -> 2 , 1路开关 + 3路情景面板 -> 1|3 | ||
// 开关|情景|单线|插座|雷达 | ||
typeIndex: { | ||
@@ -195,4 +192,11 @@ // 普通开关 | ||
// 单线开关 | ||
'0451': '1|', | ||
'0452': '2|' | ||
'0451': '||1', | ||
'0452': '||2', | ||
'0401': '|||1', | ||
'0412': '|||2', | ||
'0413': '|||3', | ||
'0414': '|||4', | ||
// 雷达 | ||
'0471': '1||||1', | ||
'04101': '|1|||1', | ||
}, | ||
@@ -567,2 +571,2 @@ statusLength: { | ||
exports.default = exports.Suiter; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VpdGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3V0aWxzL3N1aXRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTs7Ozs7Ozs7Ozs7Ozs7O0dBZUc7QUFDVSxRQUFBLE1BQU0sR0FBRztJQUNwQixHQUFHLEVBQUU7UUFDSDs7V0FFRztRQUNILElBQUksRUFBRTtZQUNKLElBQUksRUFBRSxHQUFHO1lBQ1QsTUFBTSxFQUFFLEtBQUs7WUFDYixNQUFNLEVBQUUsS0FBSztZQUNiLE1BQU0sRUFBRSxLQUFLO1lBQ2IsTUFBTSxFQUFFLFFBQVE7WUFDaEIsTUFBTSxFQUFFLFFBQVE7WUFDaEIsTUFBTSxFQUFFLFFBQVE7WUFDaEIsTUFBTSxFQUFFLFFBQVE7WUFDaEIsTUFBTSxFQUFFLFFBQVE7WUFDaEIsTUFBTSxFQUFFLF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0FBQztBQUVGLGtCQUFlLGNBQU0sQ0FBQyJ9 |
@@ -5,2 +5,6 @@ # Changelog | ||
### [1.1.33](https://github.com/ob-cloud/hardware-suit/compare/v1.1.30...v1.1.33) (2020-12-21) | ||
### [1.1.31](https://github.com/ob-cloud/hardware-suit/compare/v1.1.28...v1.1.31) (2020-12-18) | ||
@@ -7,0 +11,0 @@ |
{ | ||
"name": "hardware-suit", | ||
"version": "1.1.31", | ||
"version": "1.1.33", | ||
"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
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
795557
85
7963