From 608b8c5f7e43c3a3f43ffffaa8287c8434adbdc9 Mon Sep 17 00:00:00 2001
From: chenyincheng <501753378@qq.com>
Date: 星期三, 22 三月 2023 20:14:43 +0800
Subject: [PATCH] 45
---
src/samples/node-api.ts | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/src/samples/node-api.ts b/src/samples/node-api.ts
index 6e92fa5..9d13a9f 100644
--- a/src/samples/node-api.ts
+++ b/src/samples/node-api.ts
@@ -43,13 +43,14 @@
console.log('配置文件没有配置')
}
else if(args.length>0&&args[0].clientCode.length>0){
+ console.log('配置文件读取')
clientCode=args[0].clientCode
// 建立sockte 通讯
deviceList=args[0].deviceList
// 存放conging到仓库
confingInfoStore().setconfingInfo(args[0])
connect()
- creatorClient(args[0])
+ // creatorClient(args[0])
}
}
@@ -117,6 +118,18 @@
}
)
break
+ case "人脸识别":
+ sockteStore().setfaceSockte(
+ {
+ deviceName:res.deviceName,
+ type:"血压计",
+ result:res.result,
+ resultTime:res.resultTime,
+ state:2
+ }
+ )
+ break
+
default:
console.log('有配置类型没有匹配')
}
--
Gitblit v1.8.0