hardware-suit
Advanced tools
Comparing version 1.1.25 to 1.1.27
@@ -6,3 +6,3 @@ "use strict"; | ||
* @Last Modified by: eamiear | ||
* @Last Modified time: 2020-12-16 17:57:31 | ||
* @Last Modified time: 2020-12-17 10:49:36 | ||
*/ | ||
@@ -295,3 +295,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
isTemperatureValid() { | ||
return this.isPowerOn() && ['1', '4'].includes(this.getMode()); | ||
return this.isPowerOn() && ['2', '5'].includes(this.getMode()); | ||
} | ||
@@ -302,6 +302,6 @@ /** | ||
isFanSpeedValid() { | ||
return this.isPowerOn() && ['0', '1', '4'].includes(this.getMode()); | ||
return this.isPowerOn() && ['1', '2', '5'].includes(this.getMode()); | ||
} | ||
isWingValid() { | ||
return this.isPowerOn() && ['0', '1', '4'].includes(this.getMode()); | ||
return this.isPowerOn() && ['1', '2', '5'].includes(this.getMode()); | ||
} | ||
@@ -308,0 +308,0 @@ /** |
@@ -8,3 +8,3 @@ "use strict"; | ||
* @Last Modified by: eamiear | ||
* @Last Modified time: 2020-12-16 17:36:44 | ||
* @Last Modified time: 2020-12-16 18:26:16 | ||
*/ | ||
@@ -25,3 +25,3 @@ const SwitchStatus_1 = require("../entity/SwitchStatus"); | ||
super(status, deviceType, deviceChildType); | ||
this.bytes = `{0}000000000000000`; | ||
this.bytes = `{0}00000000000000`; | ||
this.keyList = this.TypeHints.getSocketSwitchTypeIndex(deviceType, deviceChildType); | ||
@@ -55,2 +55,2 @@ this.switchStatus = new SwitchStatus_1.SwitchStatus(status, +this.getKeyCount()); | ||
exports.SwitchEquip = SwitchEquip; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3dpdGNoRXF1aXAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbW9kdWxlcy9Td2l0Y2hFcXVpcC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTs7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UFDLENBQUMsS0FBSyxFQUFFLENBQUE7UUFDOUQsT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDLE1BQU0sQ0FBQyxNQUFNLENBQUMsQ0FBQTtJQUNsQyxDQUFDO0NBQ0Y7QUFoQ0Qsa0NBZ0NDIn0= |
@@ -5,2 +5,11 @@ # Changelog | ||
### [1.1.27](https://github.com/ob-cloud/hardware-suit/compare/v1.1.24...v1.1.27) (2020-12-17) | ||
### Bug Fixes | ||
* 温度模式 ([d7c00b5](https://github.com/ob-cloud/hardware-suit/commit/d7c00b5)) | ||
### [1.1.25](https://github.com/ob-cloud/hardware-suit/compare/v1.1.22...v1.1.25) (2020-12-16) | ||
@@ -7,0 +16,0 @@ |
{ | ||
"name": "hardware-suit", | ||
"version": "1.1.25", | ||
"version": "1.1.27", | ||
"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
553168