Initial commit

This commit is contained in:
2023-08-29 19:55:48 +02:00
commit 7c2eec4446
473 changed files with 40947 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
exports.__esModule = true;
var visca_over_ip_1 = require("visca-over-ip");
var simpleCommandHandler_1 = require("../simpleCommandHandler");
module.exports = function (actionAPI) {
actionAPI.handle(function (properties, status) {
var command = visca_over_ip_1.ViscaCommand.cameraPresetSet(properties.number);
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
});
actionAPI.onOpenEditor(function (EditorAPI, properties) {
simpleCommandHandler_1.simpleCommandEditor(EditorAPI, properties, [
{
id: 'number',
name: 'Preset Index',
type: 'number',
value: properties.number != undefined ? properties.number : 1
}
]);
});
};
//# sourceMappingURL=presetSet.js.map