Initial commit
This commit is contained in:
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/focusFar.js
vendored
Normal file
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/focusFar.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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.cameraFocusFar();
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=focusFar.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/focusFar.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/focusFar.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"focusFar.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/focusFar.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,cAAc,EAAE,CAAC;QAC5C,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/focusNear.js
vendored
Normal file
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/focusNear.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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.cameraFocusNear();
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=focusNear.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/focusNear.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/focusNear.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"focusNear.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/focusNear.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,eAAe,EAAE,CAAC;QAC7C,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/focusStop.js
vendored
Normal file
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/focusStop.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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.cameraFocusStop();
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=focusStop.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/focusStop.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/focusStop.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"focusStop.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/focusStop.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,eAAe,EAAE,CAAC;QAC7C,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/gainDown.js
vendored
Normal file
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/gainDown.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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.cameraGainDown();
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=gainDown.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/gainDown.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/gainDown.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"gainDown.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/gainDown.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,cAAc,EAAE,CAAC;QAC5C,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/gainReset.js
vendored
Normal file
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/gainReset.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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.cameraGainReset();
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=gainReset.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/gainReset.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/gainReset.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"gainReset.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/gainReset.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,eAAe,EAAE,CAAC;QAC7C,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/gainUp.js
vendored
Normal file
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/gainUp.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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.cameraGainUp();
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=gainUp.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/gainUp.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/gainUp.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"gainUp.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/gainUp.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,YAAY,EAAE,CAAC;QAC1C,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/home.js
vendored
Normal file
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/home.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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.cameraPanTiltHome();
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=home.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/home.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/home.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"home.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/home.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,iBAAiB,EAAE,CAAC;QAC/C,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/irisDown.js
vendored
Normal file
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/irisDown.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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.cameraIrisDown();
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=irisDown.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/irisDown.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/irisDown.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"irisDown.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/irisDown.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,cAAc,EAAE,CAAC;QAC5C,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/irisReset.js
vendored
Normal file
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/irisReset.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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.cameraIrisReset();
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=irisReset.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/irisReset.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/irisReset.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"irisReset.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/irisReset.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,eAAe,EAAE,CAAC;QAC7C,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/irisUp.js
vendored
Normal file
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/irisUp.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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.cameraIrisUp();
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=irisUp.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/irisUp.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/irisUp.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"irisUp.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/irisUp.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,YAAY,EAAE,CAAC;QAC1C,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
19
Backend/dist/Integrations/buildin/viscaOverIP/actions/panLeft.js
vendored
Normal file
19
Backend/dist/Integrations/buildin/viscaOverIP/actions/panLeft.js
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
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 connection = actionAPI.getConnection('viscaOverIpCamera', properties.connectionID);
|
||||
if (connection) {
|
||||
if (connection.instance != undefined) {
|
||||
var speed = connection.instance.internal != undefined && connection.instance.internal.pantiltSpeed != undefined
|
||||
? connection.instance.internal.pantiltSpeed
|
||||
: 10;
|
||||
var command = visca_over_ip_1.ViscaCommand.cameraPanTilt(-1 * speed, 0);
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
}
|
||||
}
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=panLeft.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/panLeft.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/panLeft.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"panLeft.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/panLeft.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,UAAU,GAAG,SAAS,CAAC,aAAa,CAAC,mBAAmB,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;QACvF,IAAI,UAAU,EAAE;YACf,IAAI,UAAU,CAAC,QAAQ,IAAI,SAAS,EAAE;gBACrC,IAAI,KAAK,GACR,UAAU,CAAC,QAAQ,CAAC,QAAQ,IAAI,SAAS,IAAI,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,YAAY,IAAI,SAAS;oBAClG,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,YAAY;oBAC3C,CAAC,CAAC,EAAE,CAAC;gBAEP,IAAI,OAAO,GAAG,4BAAY,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC;gBACxD,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;aAC5D;SACD;IACF,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
19
Backend/dist/Integrations/buildin/viscaOverIP/actions/panRight.js
vendored
Normal file
19
Backend/dist/Integrations/buildin/viscaOverIP/actions/panRight.js
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
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 connection = actionAPI.getConnection('viscaOverIpCamera', properties.connectionID);
|
||||
if (connection) {
|
||||
if (connection.instance != undefined) {
|
||||
var speed = connection.instance.internal != undefined && connection.instance.internal.pantiltSpeed != undefined
|
||||
? connection.instance.internal.pantiltSpeed
|
||||
: 10;
|
||||
var command = visca_over_ip_1.ViscaCommand.cameraPanTilt(1 * speed, 0);
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
}
|
||||
}
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=panRight.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/panRight.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/panRight.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"panRight.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/panRight.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,UAAU,GAAG,SAAS,CAAC,aAAa,CAAC,mBAAmB,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;QACvF,IAAI,UAAU,EAAE;YACf,IAAI,UAAU,CAAC,QAAQ,IAAI,SAAS,EAAE;gBACrC,IAAI,KAAK,GACR,UAAU,CAAC,QAAQ,CAAC,QAAQ,IAAI,SAAS,IAAI,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,YAAY,IAAI,SAAS;oBAClG,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,YAAY;oBAC3C,CAAC,CAAC,EAAE,CAAC;gBAEP,IAAI,OAAO,GAAG,4BAAY,CAAC,aAAa,CAAC,CAAC,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC;gBACvD,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;aAC5D;SACD;IACF,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
37
Backend/dist/Integrations/buildin/viscaOverIP/actions/panTiltSpeed.js
vendored
Normal file
37
Backend/dist/Integrations/buildin/viscaOverIP/actions/panTiltSpeed.js
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
exports.__esModule = true;
|
||||
var simpleCommandHandler_1 = require("../simpleCommandHandler");
|
||||
module.exports = function (actionAPI) {
|
||||
actionAPI.handle(function (properties, status) {
|
||||
var connectionID = properties.connectionID != undefined ? properties.connectionID : 'none';
|
||||
var numberValue = properties.number != undefined ? properties.number : 10;
|
||||
if (connectionID != 'none') {
|
||||
var connection = actionAPI.getConnection('viscaOverIpCamera', connectionID);
|
||||
if (connection != undefined && connection.instance != undefined) {
|
||||
if (connection.instance.internal != undefined)
|
||||
connection.instance.internal = {};
|
||||
connection.instance.internal.pantiltSpeed = numberValue;
|
||||
status('Speed has been set', 'info');
|
||||
}
|
||||
else
|
||||
status('Not connected', 'error');
|
||||
}
|
||||
else
|
||||
status('No connection specified', 'error');
|
||||
});
|
||||
actionAPI.onOpenEditor(function (EditorAPI, properties) {
|
||||
var numberField = {
|
||||
id: 'number',
|
||||
name: 'Speed',
|
||||
type: 'select',
|
||||
value: properties.number != undefined ? properties.number : 1,
|
||||
values: []
|
||||
};
|
||||
for (var i = 0; i < 25; i++) {
|
||||
numberField.values.push({ id: String(i), text: String(i) });
|
||||
}
|
||||
simpleCommandHandler_1.simpleCommandEditor(EditorAPI, properties, [
|
||||
numberField
|
||||
]);
|
||||
});
|
||||
};
|
||||
//# sourceMappingURL=panTiltSpeed.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/panTiltSpeed.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/panTiltSpeed.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"panTiltSpeed.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/panTiltSpeed.ts"],"names":[],"mappings":";AAGA,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,YAAY,GAAG,UAAU,CAAC,YAAY,IAAI,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC;QAC3F,IAAI,WAAW,GAAG,UAAU,CAAC,MAAM,IAAI,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;QAE1E,IAAI,YAAY,IAAI,MAAM,EAAE;YAC3B,IAAI,UAAU,GAAG,SAAS,CAAC,aAAa,CAAC,mBAAmB,EAAE,YAAY,CAAC,CAAC;YAC5E,IAAI,UAAU,IAAI,SAAS,IAAI,UAAU,CAAC,QAAQ,IAAI,SAAS,EAAE;gBAChE,IAAI,UAAU,CAAC,QAAQ,CAAC,QAAQ,IAAI,SAAS;oBAAE,UAAU,CAAC,QAAQ,CAAC,QAAQ,GAAG,EAAE,CAAC;gBAEjF,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,YAAY,GAAG,WAAW,CAAC;gBACxD,MAAM,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;aACrC;;gBAAM,MAAM,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;SACxC;;YAAM,MAAM,CAAC,yBAAyB,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,UAAC,SAAS,EAAE,UAAU;QAC5C,IAAI,WAAW,GAAoB;YAClC,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,UAAU,CAAC,MAAM,IAAI,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;YAC7D,MAAM,EAAE,EAAE;SACV,CAAC;QACF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE;YAC5B,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;SAC5D;QACD,0CAAmB,CAAC,SAAS,EAAE,UAAU,EAAE;YAC1C,WAAW;SACX,CAAC,CAAC;IACJ,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
||||
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/panTiltStop.js
vendored
Normal file
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/panTiltStop.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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.cameraPanTilt(0, 0, 0x03, 0x03);
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=panTiltStop.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/panTiltStop.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/panTiltStop.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"panTiltStop.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/panTiltStop.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAE3D,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
20
Backend/dist/Integrations/buildin/viscaOverIP/actions/presetRecall.js
vendored
Normal file
20
Backend/dist/Integrations/buildin/viscaOverIP/actions/presetRecall.js
vendored
Normal 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.cameraPresetRecall(properties.number);
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(function (EditorAPI, properties) {
|
||||
return simpleCommandHandler_1.simpleCommandEditor(EditorAPI, properties, [
|
||||
{
|
||||
id: 'number',
|
||||
name: 'Preset Index',
|
||||
type: 'number',
|
||||
value: properties.number != undefined ? properties.number : 1
|
||||
}
|
||||
]);
|
||||
});
|
||||
};
|
||||
//# sourceMappingURL=presetRecall.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/presetRecall.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/presetRecall.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"presetRecall.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/presetRecall.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAG7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,kBAAkB,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;QACjE,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,UAAC,SAAS,EAAE,UAAU;QAC5C,OAAA,0CAAmB,CAAC,SAAS,EAAE,UAAU,EAAE;YAC1C;gBACC,EAAE,EAAE,QAAQ;gBACZ,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,UAAU,CAAC,MAAM,IAAI,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;aAC7D;SACD,CAAC;IAPF,CAOE,CACF,CAAC;AACH,CAAC,CAAC"}
|
||||
20
Backend/dist/Integrations/buildin/viscaOverIP/actions/presetReset.js
vendored
Normal file
20
Backend/dist/Integrations/buildin/viscaOverIP/actions/presetReset.js
vendored
Normal 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.cameraPresetReset(properties.number);
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(function (EditorAPI, properties) {
|
||||
return simpleCommandHandler_1.simpleCommandEditor(EditorAPI, properties, [
|
||||
{
|
||||
id: 'number',
|
||||
name: 'Preset Index',
|
||||
type: 'number',
|
||||
value: properties.number != undefined ? properties.number : 1
|
||||
}
|
||||
]);
|
||||
});
|
||||
};
|
||||
//# sourceMappingURL=presetReset.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/presetReset.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/presetReset.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"presetReset.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/presetReset.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAG7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,iBAAiB,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;QAChE,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,UAAC,SAAS,EAAE,UAAU;QAC5C,OAAA,0CAAmB,CAAC,SAAS,EAAE,UAAU,EAAE;YAC1C;gBACC,EAAE,EAAE,QAAQ;gBACZ,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,UAAU,CAAC,MAAM,IAAI,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;aAC7D;SACD,CAAC;IAPF,CAOE,CACF,CAAC;AACH,CAAC,CAAC"}
|
||||
20
Backend/dist/Integrations/buildin/viscaOverIP/actions/presetSet.js
vendored
Normal file
20
Backend/dist/Integrations/buildin/viscaOverIP/actions/presetSet.js
vendored
Normal 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
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/presetSet.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/presetSet.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"presetSet.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/presetSet.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAG7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,eAAe,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;QAC9D,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,UAAC,SAAS,EAAE,UAAU;QAC5C,0CAAmB,CAAC,SAAS,EAAE,UAAU,EAAE;YAC1C;gBACC,EAAE,EAAE,QAAQ;gBACZ,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,UAAU,CAAC,MAAM,IAAI,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;aAC7D;SACD,CAAC,CAAC;IACJ,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
||||
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/reset.js
vendored
Normal file
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/reset.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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.cameraPanTiltReset();
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=reset.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/reset.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/reset.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"reset.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/reset.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,kBAAkB,EAAE,CAAC;QAChD,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/shutterDown.js
vendored
Normal file
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/shutterDown.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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.cameraShutterDown();
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=shutterDown.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/shutterDown.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/shutterDown.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"shutterDown.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/shutterDown.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,iBAAiB,EAAE,CAAC;QAC/C,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/shutterReset.js
vendored
Normal file
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/shutterReset.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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.cameraShutterReset();
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=shutterReset.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/shutterReset.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/shutterReset.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"shutterReset.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/shutterReset.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,kBAAkB,EAAE,CAAC;QAChD,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/shutterUp.js
vendored
Normal file
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/shutterUp.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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.cameraShutterUp();
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=shutterUp.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/shutterUp.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/shutterUp.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"shutterUp.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/shutterUp.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,eAAe,EAAE,CAAC;QAC7C,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
19
Backend/dist/Integrations/buildin/viscaOverIP/actions/tiltDown.js
vendored
Normal file
19
Backend/dist/Integrations/buildin/viscaOverIP/actions/tiltDown.js
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
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 connection = actionAPI.getConnection('viscaOverIpCamera', properties.connectionID);
|
||||
if (connection) {
|
||||
if (connection.instance != undefined) {
|
||||
var speed = connection.instance.internal != undefined && connection.instance.internal.pantiltSpeed != undefined
|
||||
? connection.instance.internal.pantiltSpeed
|
||||
: 10;
|
||||
var command = visca_over_ip_1.ViscaCommand.cameraPanTilt(0, 1 * speed);
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
}
|
||||
}
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=tiltDown.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/tiltDown.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/tiltDown.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"tiltDown.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/tiltDown.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,UAAU,GAAG,SAAS,CAAC,aAAa,CAAC,mBAAmB,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;QACvF,IAAI,UAAU,EAAE;YACf,IAAI,UAAU,CAAC,QAAQ,IAAI,SAAS,EAAE;gBACrC,IAAI,KAAK,GACR,UAAU,CAAC,QAAQ,CAAC,QAAQ,IAAI,SAAS,IAAI,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,YAAY,IAAI,SAAS;oBAClG,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,YAAY;oBAC3C,CAAC,CAAC,EAAE,CAAC;gBAEP,IAAI,OAAO,GAAG,4BAAY,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,CAAC;gBACvD,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;aAC5D;SACD;IACF,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
20
Backend/dist/Integrations/buildin/viscaOverIP/actions/tiltUp.js
vendored
Normal file
20
Backend/dist/Integrations/buildin/viscaOverIP/actions/tiltUp.js
vendored
Normal 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 connection = actionAPI.getConnection('viscaOverIpCamera', properties.connectionID);
|
||||
if (connection) {
|
||||
if (connection.instance != undefined) {
|
||||
var speed = connection.instance.internal != undefined && connection.instance.internal.pantiltSpeed != undefined
|
||||
? connection.instance.internal.pantiltSpeed
|
||||
: 10;
|
||||
var command = visca_over_ip_1.ViscaCommand.cameraPanTilt(0, -1 * speed);
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
}
|
||||
}
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
0;
|
||||
//# sourceMappingURL=tiltUp.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/tiltUp.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/tiltUp.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"tiltUp.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/tiltUp.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,UAAU,GAAG,SAAS,CAAC,aAAa,CAAC,mBAAmB,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;QACvF,IAAI,UAAU,EAAE;YACf,IAAI,UAAU,CAAC,QAAQ,IAAI,SAAS,EAAE;gBACrC,IAAI,KAAK,GACR,UAAU,CAAC,QAAQ,CAAC,QAAQ,IAAI,SAAS,IAAI,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,YAAY,IAAI,SAAS;oBAClG,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,YAAY;oBAC3C,CAAC,CAAC,EAAE,CAAC;gBAEP,IAAI,OAAO,GAAG,4BAAY,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC;gBACxD,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;aAC5D;SACD;IACF,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC;AACF,CAAC,CAAC"}
|
||||
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/zoomIn.js
vendored
Normal file
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/zoomIn.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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.cameraZoomIn();
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=zoomIn.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/zoomIn.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/zoomIn.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"zoomIn.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/zoomIn.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,YAAY,EAAE,CAAC;QAC1C,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/zoomOut.js
vendored
Normal file
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/zoomOut.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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.cameraZoomOut();
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=zoomOut.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/zoomOut.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/zoomOut.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"zoomOut.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/zoomOut.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,aAAa,EAAE,CAAC;QAC3C,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/zoomStop.js
vendored
Normal file
11
Backend/dist/Integrations/buildin/viscaOverIP/actions/zoomStop.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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.cameraZoomStop();
|
||||
simpleCommandHandler_1.simpleCommandHandle(actionAPI, command, properties, status);
|
||||
});
|
||||
actionAPI.onOpenEditor(simpleCommandHandler_1.simpleCommandEditor);
|
||||
};
|
||||
//# sourceMappingURL=zoomStop.js.map
|
||||
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/zoomStop.js.map
vendored
Normal file
1
Backend/dist/Integrations/buildin/viscaOverIP/actions/zoomStop.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"zoomStop.js","sourceRoot":"","sources":["../../../../../src/Integrations/buildin/viscaOverIP/actions/zoomStop.ts"],"names":[],"mappings":";AAAA,+CAA6C;AAE7C,gEAAmF;AAEnF,MAAM,CAAC,OAAO,GAAG,UAAC,SAAoB;IACrC,SAAS,CAAC,MAAM,CAAC,UAAC,UAAU,EAAE,MAA2D;QACxF,IAAI,OAAO,GAAG,4BAAY,CAAC,cAAc,EAAE,CAAC;QAC5C,0CAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,YAAY,CAAC,0CAAmB,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
||||
Reference in New Issue
Block a user