Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
G
GS.Terminal.VisitorSelfService
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
终端组
GS.Terminal.VisitorSelfService
Commits
71b8e7b5
Commit
71b8e7b5
authored
Sep 23, 2020
by
姜春辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
远程人脸认证地址配置化
parent
6214e09a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
Config.xml
...ice/Logic/GS.Terminal.VisitorSelfService.Logic/Config.xml
+1
-0
AuthenticationPageHandler.cs
...isitorSelfService.Logic/Core/AuthenticationPageHandler.cs
+1
-1
LocalSetting.cs
...ogic/GS.Terminal.VisitorSelfService.Logic/LocalSetting.cs
+1
-0
No files found.
Src/GS.Terminal.VisitorSelfService/Logic/GS.Terminal.VisitorSelfService.Logic/Config.xml
View file @
71b8e7b5
...
...
@@ -4,6 +4,7 @@
<Dict
Caption=
"基础配置"
Name=
"defaultconfig"
>
<Key
Caption=
"人脸识别阀值"
Name=
"FaceMinValue"
Value=
"0.85"
/>
<Key
Caption=
"心跳端口"
Name=
"HeartPort"
Value=
"16789"
/>
<Key
Caption=
"远程认证地址"
Name=
"FaceWebSocket"
Value=
"ws://192.168.1.7:5432/face/sdk2?persontype=访客"
/>
</Dict>
</Dictionaries>
<Structures>
...
...
Src/GS.Terminal.VisitorSelfService/Logic/GS.Terminal.VisitorSelfService.Logic/Core/AuthenticationPageHandler.cs
View file @
71b8e7b5
...
...
@@ -54,7 +54,7 @@ namespace GS.Terminal.VisitorSelfService.Logic.Core
_secondCardReader
=
Task
.
Factory
.
StartNew
(
_SecondCardRead
);
_CTS
=
new
CancellationTokenSource
();
_waiter
=
new
EventWaitHandle
(
false
,
EventResetMode
.
ManualReset
);
_faceWebSocket
=
new
WebSocket
(
"ws://192.168.1.68:5432/face/sdk2"
);
_faceWebSocket
=
new
WebSocket
(
LocalSetting
.
AddonDefaultConfig
.
FaceWebSocket
);
_faceWebSocket
.
Opened
+=
_faceWebSocket_Opened
;
_faceWebSocket
.
Closed
+=
_faceWebSocket_Closed
;
_faceWebSocket
.
Error
+=
_faceWebSocket_Error
;
...
...
Src/GS.Terminal.VisitorSelfService/Logic/GS.Terminal.VisitorSelfService.Logic/LocalSetting.cs
View file @
71b8e7b5
...
...
@@ -25,6 +25,7 @@ namespace GS.Terminal.VisitorSelfService.Logic
public
float
FaceMinValue
{
get
;
set
;
}
public
int
HeartPort
{
get
;
set
;
}
public
bool
DisableVideoDetect
{
get
;
set
;
}
public
string
FaceWebSocket
{
get
;
set
;
}
public
string
DictName
=>
"defaultconfig"
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment