atem-connection
Advanced tools
Comparing version 0.5.2 to 0.6.0
@@ -5,2 +5,18 @@ # Change Log | ||
<a name="0.6.0"></a> | ||
# [0.6.0](https://github.com/nrkno/tv-automation-atem-connection/compare/0.5.2...0.6.0) (2018-10-16) | ||
### Bug Fixes | ||
* **DVE upstream key:** borderHueWidth is 3600 ([4b2db48](https://github.com/nrkno/tv-automation-atem-connection/commit/4b2db48)) | ||
### Features | ||
* parse psu status ([16f677f](https://github.com/nrkno/tv-automation-atem-connection/commit/16f677f)) | ||
* Use device ModelId to determine how many psu to track in state ([f0631d1](https://github.com/nrkno/tv-automation-atem-connection/commit/f0631d1)) | ||
<a name="0.5.2"></a> | ||
@@ -7,0 +23,0 @@ ## [0.5.2](https://github.com/nrkno/tv-automation-atem-connection/compare/0.5.1...0.5.2) (2018-09-23) |
@@ -30,2 +30,13 @@ "use strict"; | ||
state.info.model = this.properties.model; | ||
// Model specific features that aren't specified by the protocol | ||
switch (state.info.model) { | ||
case __1.Enums.Model.TwoME: | ||
case __1.Enums.Model.TwoME4K: | ||
case __1.Enums.Model.TwoMEBS4K: | ||
state.info.power = [false, false]; | ||
break; | ||
default: | ||
state.info.power = [false]; | ||
break; | ||
} | ||
} | ||
@@ -32,0 +43,0 @@ } |
@@ -12,1 +12,2 @@ import AbstractCommand from './AbstractCommand'; | ||
export * from './InitCompleteCommand'; | ||
export * from './PowerStatusCommand'; |
@@ -15,2 +15,3 @@ "use strict"; | ||
tslib_1.__exportStar(require("./InitCompleteCommand"), exports); | ||
tslib_1.__exportStar(require("./PowerStatusCommand"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -29,3 +29,3 @@ "use strict"; | ||
borderOpacity: __1.Util.parseNumberBetween(rawCommand.readInt8(36), 0, 100), | ||
borderHue: __1.Util.parseNumberBetween(rawCommand.readUInt16BE(38), 0, 1000), | ||
borderHue: __1.Util.parseNumberBetween(rawCommand.readUInt16BE(38), 0, 3600), | ||
borderSaturation: __1.Util.parseNumberBetween(rawCommand.readUInt16BE(40), 0, 1000), | ||
@@ -32,0 +32,0 @@ borderLuma: __1.Util.parseNumberBetween(rawCommand.readUInt16BE(42), 0, 1000), |
@@ -25,2 +25,3 @@ import { Model } from '../enums'; | ||
superSourceBoxes: number; | ||
power: boolean[]; | ||
} |
{ | ||
"name": "atem-connection", | ||
"version": "0.5.2", | ||
"version": "0.6.0", | ||
"description": "Typescript Node.js library for connecting with an ATEM switcher.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
301252
232
4464