Merge branch 'main' of ssh://git.sixteenmillimeter.com/16mm/mcopy

This commit is contained in:
Matt McWilliams 2024-06-22 14:11:34 -04:00
commit 603d5b0219
17 changed files with 270 additions and 8 deletions

View File

@ -1,5 +1,5 @@
{ {
"version": "1.8.118", "version": "1.8.120",
"ext_port": 1111, "ext_port": 1111,
"profiles": { "profiles": {
"mcopy": { "mcopy": {
@ -185,6 +185,10 @@
"camera_capper_projectors_identifier": "0", "camera_capper_projectors_identifier": "0",
"capper_on": "A", "capper_on": "A",
"capper_off": "B", "capper_off": "B",
"camera_open_forward": "J",
"camera_open_backward": "K",
"camera_close_forward": "L",
"camera_close_backward": "M",
"takeup_forward": "D", "takeup_forward": "D",
"takeup_backward": "F", "takeup_backward": "F",
"error": "E", "error": "E",

2
app/package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy-app", "name": "mcopy-app",
"version": "1.8.118", "version": "1.8.120",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {

View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy-app", "name": "mcopy-app",
"version": "1.8.118", "version": "1.8.120",
"description": "GUI for the mcopy small gauge film optical printer platform", "description": "GUI for the mcopy small gauge film optical printer platform",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {

View File

@ -1,5 +1,5 @@
{ {
"version": "1.8.118", "version": "1.8.120",
"ext_port": 1111, "ext_port": 1111,
"profiles": { "profiles": {
"mcopy": { "mcopy": {
@ -185,6 +185,10 @@
"camera_capper_projectors_identifier": "0", "camera_capper_projectors_identifier": "0",
"capper_on": "A", "capper_on": "A",
"capper_off": "B", "capper_off": "B",
"camera_open_forward": "J",
"camera_open_backward": "K",
"camera_close_forward": "L",
"camera_close_backward": "M",
"takeup_forward": "D", "takeup_forward": "D",
"takeup_backward": "F", "takeup_backward": "F",
"error": "E", "error": "E",

View File

@ -30,9 +30,13 @@ class McopySerial {
const char CAMERA_CAPPER_IDENTIFIER = '8'; const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9'; const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0'; const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char CAMERA_CLOSE_BACKWARD = 'M';
const char CAMERA_CLOSE_FORWARD = 'L';
const char CAMERA_EXPOSURE = 'G'; const char CAMERA_EXPOSURE = 'G';
const char CAMERA_FORWARD = 'e'; const char CAMERA_FORWARD = 'e';
const char CAMERA_IDENTIFIER = 'k'; const char CAMERA_IDENTIFIER = 'k';
const char CAMERA_OPEN_BACKWARD = 'K';
const char CAMERA_OPEN_FORWARD = 'J';
const char CAMERA_PROJECTORS_IDENTIFIER = '5'; const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_SECOND = '3'; const char CAMERA_SECOND = '3';
const char CAMERA_SECOND_BACKWARD = '2'; const char CAMERA_SECOND_BACKWARD = '2';
@ -72,6 +76,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D'; const char TAKEUP_FORWARD = 'D';
/* END CMD FLAGS */ /* END CMD FLAGS */
/* IDENTIFIERS FLAGS */
const char MCOPY_IDENTIFIER = 'm';
const char CAMERA_IDENTIFIER = 'k';
const char PROJECTOR_IDENTIFIER = 'j';
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
const char PROJECTORS_IDENTIFIER = 'd';
const char PROJECTOR_SECOND_IDENTIFIER = 't';
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
const char CAMERA_SECOND_IDENTIFIER = 'y';
const char CAMERAS_IDENTIFIER = 'a';
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
const char CAPPER_IDENTIFIER = 'C';
const char LIGHT_IDENTIFIER = 'o';
/* END IDENTIFIERS FLAGS */
McopySerial(); McopySerial();
void begin(char identity); void begin(char identity);

View File

@ -30,9 +30,13 @@ class McopySerial {
const char CAMERA_CAPPER_IDENTIFIER = '8'; const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9'; const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0'; const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char CAMERA_CLOSE_BACKWARD = 'M';
const char CAMERA_CLOSE_FORWARD = 'L';
const char CAMERA_EXPOSURE = 'G'; const char CAMERA_EXPOSURE = 'G';
const char CAMERA_FORWARD = 'e'; const char CAMERA_FORWARD = 'e';
const char CAMERA_IDENTIFIER = 'k'; const char CAMERA_IDENTIFIER = 'k';
const char CAMERA_OPEN_BACKWARD = 'K';
const char CAMERA_OPEN_FORWARD = 'J';
const char CAMERA_PROJECTORS_IDENTIFIER = '5'; const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_SECOND = '3'; const char CAMERA_SECOND = '3';
const char CAMERA_SECOND_BACKWARD = '2'; const char CAMERA_SECOND_BACKWARD = '2';
@ -72,6 +76,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D'; const char TAKEUP_FORWARD = 'D';
/* END CMD FLAGS */ /* END CMD FLAGS */
/* IDENTIFIERS FLAGS */
const char MCOPY_IDENTIFIER = 'm';
const char CAMERA_IDENTIFIER = 'k';
const char PROJECTOR_IDENTIFIER = 'j';
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
const char PROJECTORS_IDENTIFIER = 'd';
const char PROJECTOR_SECOND_IDENTIFIER = 't';
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
const char CAMERA_SECOND_IDENTIFIER = 'y';
const char CAMERAS_IDENTIFIER = 'a';
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
const char CAPPER_IDENTIFIER = 'C';
const char LIGHT_IDENTIFIER = 'o';
/* END IDENTIFIERS FLAGS */
McopySerial(); McopySerial();
void begin(char identity); void begin(char identity);

View File

@ -30,9 +30,13 @@ class McopySerial {
const char CAMERA_CAPPER_IDENTIFIER = '8'; const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9'; const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0'; const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char CAMERA_CLOSE_BACKWARD = 'M';
const char CAMERA_CLOSE_FORWARD = 'L';
const char CAMERA_EXPOSURE = 'G'; const char CAMERA_EXPOSURE = 'G';
const char CAMERA_FORWARD = 'e'; const char CAMERA_FORWARD = 'e';
const char CAMERA_IDENTIFIER = 'k'; const char CAMERA_IDENTIFIER = 'k';
const char CAMERA_OPEN_BACKWARD = 'K';
const char CAMERA_OPEN_FORWARD = 'J';
const char CAMERA_PROJECTORS_IDENTIFIER = '5'; const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_SECOND = '3'; const char CAMERA_SECOND = '3';
const char CAMERA_SECOND_BACKWARD = '2'; const char CAMERA_SECOND_BACKWARD = '2';
@ -72,6 +76,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D'; const char TAKEUP_FORWARD = 'D';
/* END CMD FLAGS */ /* END CMD FLAGS */
/* IDENTIFIERS FLAGS */
const char MCOPY_IDENTIFIER = 'm';
const char CAMERA_IDENTIFIER = 'k';
const char PROJECTOR_IDENTIFIER = 'j';
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
const char PROJECTORS_IDENTIFIER = 'd';
const char PROJECTOR_SECOND_IDENTIFIER = 't';
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
const char CAMERA_SECOND_IDENTIFIER = 'y';
const char CAMERAS_IDENTIFIER = 'a';
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
const char CAPPER_IDENTIFIER = 'C';
const char LIGHT_IDENTIFIER = 'o';
/* END IDENTIFIERS FLAGS */
McopySerial(); McopySerial();
void begin(char identity); void begin(char identity);

View File

@ -30,9 +30,13 @@ class McopySerial {
const char CAMERA_CAPPER_IDENTIFIER = '8'; const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9'; const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0'; const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char CAMERA_CLOSE_BACKWARD = 'M';
const char CAMERA_CLOSE_FORWARD = 'L';
const char CAMERA_EXPOSURE = 'G'; const char CAMERA_EXPOSURE = 'G';
const char CAMERA_FORWARD = 'e'; const char CAMERA_FORWARD = 'e';
const char CAMERA_IDENTIFIER = 'k'; const char CAMERA_IDENTIFIER = 'k';
const char CAMERA_OPEN_BACKWARD = 'K';
const char CAMERA_OPEN_FORWARD = 'J';
const char CAMERA_PROJECTORS_IDENTIFIER = '5'; const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_SECOND = '3'; const char CAMERA_SECOND = '3';
const char CAMERA_SECOND_BACKWARD = '2'; const char CAMERA_SECOND_BACKWARD = '2';
@ -72,6 +76,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D'; const char TAKEUP_FORWARD = 'D';
/* END CMD FLAGS */ /* END CMD FLAGS */
/* IDENTIFIERS FLAGS */
const char MCOPY_IDENTIFIER = 'm';
const char CAMERA_IDENTIFIER = 'k';
const char PROJECTOR_IDENTIFIER = 'j';
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
const char PROJECTORS_IDENTIFIER = 'd';
const char PROJECTOR_SECOND_IDENTIFIER = 't';
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
const char CAMERA_SECOND_IDENTIFIER = 'y';
const char CAMERAS_IDENTIFIER = 'a';
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
const char CAPPER_IDENTIFIER = 'C';
const char LIGHT_IDENTIFIER = 'o';
/* END IDENTIFIERS FLAGS */
McopySerial(); McopySerial();
void begin(char identity); void begin(char identity);

View File

@ -30,9 +30,13 @@ class McopySerial {
const char CAMERA_CAPPER_IDENTIFIER = '8'; const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9'; const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0'; const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char CAMERA_CLOSE_BACKWARD = 'M';
const char CAMERA_CLOSE_FORWARD = 'L';
const char CAMERA_EXPOSURE = 'G'; const char CAMERA_EXPOSURE = 'G';
const char CAMERA_FORWARD = 'e'; const char CAMERA_FORWARD = 'e';
const char CAMERA_IDENTIFIER = 'k'; const char CAMERA_IDENTIFIER = 'k';
const char CAMERA_OPEN_BACKWARD = 'K';
const char CAMERA_OPEN_FORWARD = 'J';
const char CAMERA_PROJECTORS_IDENTIFIER = '5'; const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_SECOND = '3'; const char CAMERA_SECOND = '3';
const char CAMERA_SECOND_BACKWARD = '2'; const char CAMERA_SECOND_BACKWARD = '2';
@ -72,6 +76,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D'; const char TAKEUP_FORWARD = 'D';
/* END CMD FLAGS */ /* END CMD FLAGS */
/* IDENTIFIERS FLAGS */
const char MCOPY_IDENTIFIER = 'm';
const char CAMERA_IDENTIFIER = 'k';
const char PROJECTOR_IDENTIFIER = 'j';
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
const char PROJECTORS_IDENTIFIER = 'd';
const char PROJECTOR_SECOND_IDENTIFIER = 't';
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
const char CAMERA_SECOND_IDENTIFIER = 'y';
const char CAMERAS_IDENTIFIER = 'a';
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
const char CAPPER_IDENTIFIER = 'C';
const char LIGHT_IDENTIFIER = 'o';
/* END IDENTIFIERS FLAGS */
McopySerial(); McopySerial();
void begin(char identity); void begin(char identity);

View File

@ -30,9 +30,13 @@ class McopySerial {
const char CAMERA_CAPPER_IDENTIFIER = '8'; const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9'; const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0'; const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char CAMERA_CLOSE_BACKWARD = 'M';
const char CAMERA_CLOSE_FORWARD = 'L';
const char CAMERA_EXPOSURE = 'G'; const char CAMERA_EXPOSURE = 'G';
const char CAMERA_FORWARD = 'e'; const char CAMERA_FORWARD = 'e';
const char CAMERA_IDENTIFIER = 'k'; const char CAMERA_IDENTIFIER = 'k';
const char CAMERA_OPEN_BACKWARD = 'K';
const char CAMERA_OPEN_FORWARD = 'J';
const char CAMERA_PROJECTORS_IDENTIFIER = '5'; const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_SECOND = '3'; const char CAMERA_SECOND = '3';
const char CAMERA_SECOND_BACKWARD = '2'; const char CAMERA_SECOND_BACKWARD = '2';
@ -72,6 +76,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D'; const char TAKEUP_FORWARD = 'D';
/* END CMD FLAGS */ /* END CMD FLAGS */
/* IDENTIFIERS FLAGS */
const char MCOPY_IDENTIFIER = 'm';
const char CAMERA_IDENTIFIER = 'k';
const char PROJECTOR_IDENTIFIER = 'j';
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
const char PROJECTORS_IDENTIFIER = 'd';
const char PROJECTOR_SECOND_IDENTIFIER = 't';
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
const char CAMERA_SECOND_IDENTIFIER = 'y';
const char CAMERAS_IDENTIFIER = 'a';
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
const char CAPPER_IDENTIFIER = 'C';
const char LIGHT_IDENTIFIER = 'o';
/* END IDENTIFIERS FLAGS */
McopySerial(); McopySerial();
void begin(char identity); void begin(char identity);

View File

@ -30,9 +30,13 @@ class McopySerial {
const char CAMERA_CAPPER_IDENTIFIER = '8'; const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9'; const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0'; const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char CAMERA_CLOSE_BACKWARD = 'M';
const char CAMERA_CLOSE_FORWARD = 'L';
const char CAMERA_EXPOSURE = 'G'; const char CAMERA_EXPOSURE = 'G';
const char CAMERA_FORWARD = 'e'; const char CAMERA_FORWARD = 'e';
const char CAMERA_IDENTIFIER = 'k'; const char CAMERA_IDENTIFIER = 'k';
const char CAMERA_OPEN_BACKWARD = 'K';
const char CAMERA_OPEN_FORWARD = 'J';
const char CAMERA_PROJECTORS_IDENTIFIER = '5'; const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_SECOND = '3'; const char CAMERA_SECOND = '3';
const char CAMERA_SECOND_BACKWARD = '2'; const char CAMERA_SECOND_BACKWARD = '2';
@ -72,6 +76,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D'; const char TAKEUP_FORWARD = 'D';
/* END CMD FLAGS */ /* END CMD FLAGS */
/* IDENTIFIERS FLAGS */
const char MCOPY_IDENTIFIER = 'm';
const char CAMERA_IDENTIFIER = 'k';
const char PROJECTOR_IDENTIFIER = 'j';
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
const char PROJECTORS_IDENTIFIER = 'd';
const char PROJECTOR_SECOND_IDENTIFIER = 't';
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
const char CAMERA_SECOND_IDENTIFIER = 'y';
const char CAMERAS_IDENTIFIER = 'a';
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
const char CAPPER_IDENTIFIER = 'C';
const char LIGHT_IDENTIFIER = 'o';
/* END IDENTIFIERS FLAGS */
McopySerial(); McopySerial();
void begin(char identity); void begin(char identity);

View File

@ -30,9 +30,13 @@ class McopySerial {
const char CAMERA_CAPPER_IDENTIFIER = '8'; const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9'; const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0'; const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char CAMERA_CLOSE_BACKWARD = 'M';
const char CAMERA_CLOSE_FORWARD = 'L';
const char CAMERA_EXPOSURE = 'G'; const char CAMERA_EXPOSURE = 'G';
const char CAMERA_FORWARD = 'e'; const char CAMERA_FORWARD = 'e';
const char CAMERA_IDENTIFIER = 'k'; const char CAMERA_IDENTIFIER = 'k';
const char CAMERA_OPEN_BACKWARD = 'K';
const char CAMERA_OPEN_FORWARD = 'J';
const char CAMERA_PROJECTORS_IDENTIFIER = '5'; const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_SECOND = '3'; const char CAMERA_SECOND = '3';
const char CAMERA_SECOND_BACKWARD = '2'; const char CAMERA_SECOND_BACKWARD = '2';
@ -72,6 +76,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D'; const char TAKEUP_FORWARD = 'D';
/* END CMD FLAGS */ /* END CMD FLAGS */
/* IDENTIFIERS FLAGS */
const char MCOPY_IDENTIFIER = 'm';
const char CAMERA_IDENTIFIER = 'k';
const char PROJECTOR_IDENTIFIER = 'j';
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
const char PROJECTORS_IDENTIFIER = 'd';
const char PROJECTOR_SECOND_IDENTIFIER = 't';
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
const char CAMERA_SECOND_IDENTIFIER = 'y';
const char CAMERAS_IDENTIFIER = 'a';
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
const char CAPPER_IDENTIFIER = 'C';
const char LIGHT_IDENTIFIER = 'o';
/* END IDENTIFIERS FLAGS */
McopySerial(); McopySerial();
void begin(char identity); void begin(char identity);

View File

@ -30,9 +30,13 @@ class McopySerial {
const char CAMERA_CAPPER_IDENTIFIER = '8'; const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9'; const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0'; const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char CAMERA_CLOSE_BACKWARD = 'M';
const char CAMERA_CLOSE_FORWARD = 'L';
const char CAMERA_EXPOSURE = 'G'; const char CAMERA_EXPOSURE = 'G';
const char CAMERA_FORWARD = 'e'; const char CAMERA_FORWARD = 'e';
const char CAMERA_IDENTIFIER = 'k'; const char CAMERA_IDENTIFIER = 'k';
const char CAMERA_OPEN_BACKWARD = 'K';
const char CAMERA_OPEN_FORWARD = 'J';
const char CAMERA_PROJECTORS_IDENTIFIER = '5'; const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_SECOND = '3'; const char CAMERA_SECOND = '3';
const char CAMERA_SECOND_BACKWARD = '2'; const char CAMERA_SECOND_BACKWARD = '2';
@ -72,6 +76,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D'; const char TAKEUP_FORWARD = 'D';
/* END CMD FLAGS */ /* END CMD FLAGS */
/* IDENTIFIERS FLAGS */
const char MCOPY_IDENTIFIER = 'm';
const char CAMERA_IDENTIFIER = 'k';
const char PROJECTOR_IDENTIFIER = 'j';
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
const char PROJECTORS_IDENTIFIER = 'd';
const char PROJECTOR_SECOND_IDENTIFIER = 't';
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
const char CAMERA_SECOND_IDENTIFIER = 'y';
const char CAMERAS_IDENTIFIER = 'a';
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
const char CAPPER_IDENTIFIER = 'C';
const char LIGHT_IDENTIFIER = 'o';
/* END IDENTIFIERS FLAGS */
McopySerial(); McopySerial();
void begin(char identity); void begin(char identity);

View File

@ -30,9 +30,13 @@ class McopySerial {
const char CAMERA_CAPPER_IDENTIFIER = '8'; const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9'; const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0'; const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char CAMERA_CLOSE_BACKWARD = 'M';
const char CAMERA_CLOSE_FORWARD = 'L';
const char CAMERA_EXPOSURE = 'G'; const char CAMERA_EXPOSURE = 'G';
const char CAMERA_FORWARD = 'e'; const char CAMERA_FORWARD = 'e';
const char CAMERA_IDENTIFIER = 'k'; const char CAMERA_IDENTIFIER = 'k';
const char CAMERA_OPEN_BACKWARD = 'K';
const char CAMERA_OPEN_FORWARD = 'J';
const char CAMERA_PROJECTORS_IDENTIFIER = '5'; const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_SECOND = '3'; const char CAMERA_SECOND = '3';
const char CAMERA_SECOND_BACKWARD = '2'; const char CAMERA_SECOND_BACKWARD = '2';
@ -72,6 +76,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D'; const char TAKEUP_FORWARD = 'D';
/* END CMD FLAGS */ /* END CMD FLAGS */
/* IDENTIFIERS FLAGS */
const char MCOPY_IDENTIFIER = 'm';
const char CAMERA_IDENTIFIER = 'k';
const char PROJECTOR_IDENTIFIER = 'j';
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
const char CAMERA_CAPPER_IDENTIFIER = '8';
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
const char PROJECTORS_IDENTIFIER = 'd';
const char PROJECTOR_SECOND_IDENTIFIER = 't';
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
const char CAMERA_SECOND_IDENTIFIER = 'y';
const char CAMERAS_IDENTIFIER = 'a';
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
const char CAPPER_IDENTIFIER = 'C';
const char LIGHT_IDENTIFIER = 'o';
/* END IDENTIFIERS FLAGS */
McopySerial(); McopySerial();
void begin(char identity); void begin(char identity);

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "mcopy", "name": "mcopy",
"version": "1.8.118", "version": "1.8.120",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "mcopy", "name": "mcopy",
"version": "1.8.118", "version": "1.8.120",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"alert": "file:app/lib/alert", "alert": "file:app/lib/alert",

View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy", "name": "mcopy",
"version": "1.8.118", "version": "1.8.120",
"description": "Small gauge film optical printer platform", "description": "Small gauge film optical printer platform",
"main": "build.js", "main": "build.js",
"directories": { "directories": {

View File

@ -1,5 +1,5 @@
{ {
"version": "1.8.118", "version": "1.8.120",
"ext_port": 1111, "ext_port": 1111,
"profiles": { "profiles": {
"mcopy": { "mcopy": {
@ -185,6 +185,10 @@
"camera_capper_projectors_identifier": "0", "camera_capper_projectors_identifier": "0",
"capper_on": "A", "capper_on": "A",
"capper_off": "B", "capper_off": "B",
"camera_open_forward": "J",
"camera_open_backward": "K",
"camera_close_forward": "L",
"camera_close_backward": "M",
"takeup_forward": "D", "takeup_forward": "D",
"takeup_backward": "F", "takeup_backward": "F",
"error": "E", "error": "E",