Add new command flags for camera open camera closed. Re-organized and separated identifiers and cmd flags

This commit is contained in:
Matt McWilliams 2024-06-13 13:35:25 -04:00
parent 4dc988c5bb
commit 8e9a57bcd3
17 changed files with 218 additions and 8 deletions

View File

@ -1,5 +1,5 @@
{
"version": "1.8.118",
"version": "1.8.119",
"ext_port": 1111,
"profiles": {
"mcopy": {

2
app/package-lock.json generated
View File

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

View File

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

View File

@ -1,5 +1,5 @@
{
"version": "1.8.118",
"version": "1.8.119",
"ext_port": 1111,
"profiles": {
"mcopy": {

View File

@ -72,6 +72,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D';
/* 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();
void begin(char identity);

View File

@ -72,6 +72,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D';
/* 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();
void begin(char identity);

View File

@ -72,6 +72,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D';
/* 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();
void begin(char identity);

View File

@ -72,6 +72,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D';
/* 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();
void begin(char identity);

View File

@ -72,6 +72,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D';
/* 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();
void begin(char identity);

View File

@ -72,6 +72,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D';
/* 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();
void begin(char identity);

View File

@ -72,6 +72,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D';
/* 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();
void begin(char identity);

View File

@ -72,6 +72,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D';
/* 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();
void begin(char identity);

View File

@ -72,6 +72,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D';
/* 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();
void begin(char identity);

View File

@ -72,6 +72,27 @@ class McopySerial {
const char TAKEUP_FORWARD = 'D';
/* 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();
void begin(char identity);

4
package-lock.json generated
View File

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

View File

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

View File

@ -1,5 +1,5 @@
{
"version": "1.8.118",
"version": "1.8.119",
"ext_port": 1111,
"profiles": {
"mcopy": {