Compare commits

..

4 Commits

3 changed files with 7 additions and 3 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "src/json"] [submodule "src/json"]
path = include/json path = include/json
url = https://github.com/nlohmann/json.git url = https://github.com/nlohmann/json.git
[submodule "include/args"]
path = include/args
url = https://github.com/Taywee/args.git

1
include/args Submodule

@ -0,0 +1 @@
Subproject commit cc2368ca0d8a962862c96c00fe919e1480050f51

View File

@ -69,6 +69,7 @@ function actionStop (img) {
action : 3, //STOP action : 3, //STOP
image : resolve(img) image : resolve(img)
} }
send(obj);
} }
client.connect(serverPort, serverAddress, async () => { client.connect(serverPort, serverAddress, async () => {
@ -83,11 +84,10 @@ client.connect(serverPort, serverAddress, async () => {
actionLoad(img, 100, 100, 640, 640); actionLoad(img, 100, 100, 640, 640);
// //
await delay(1000); await delay(1000);
actionExpose(img, 4000); actionStart(img);
//actionStart(img);
// //
await delay(2000); await delay(2000);
//actionStop(img); actionStop(img);
}); });
client.on('data', (data) => { client.on('data', (data) => {