|
|
|
@ -1623,7 +1623,6 @@ namespace AKS.EnterpriseLibrary.WebBrowser
|
|
|
|
|
try |
|
|
|
|
{ |
|
|
|
|
WebSocketClientWithHeartbeat webSocket = new WebSocketClientWithHeartbeat(); |
|
|
|
|
|
|
|
|
|
Parame.ImgBase64 = ImageBase64; |
|
|
|
|
var mode = new |
|
|
|
|
{ |
|
|
|
@ -2032,12 +2031,12 @@ namespace AKS.EnterpriseLibrary.WebBrowser
|
|
|
|
|
{ |
|
|
|
|
if (true) |
|
|
|
|
{ |
|
|
|
|
//启动身份证、签字版、指纹服务 |
|
|
|
|
//启动身份证、签字版、指纹服务 nohup ./script.sh & |
|
|
|
|
string commod = "lsof -i:9399"; |
|
|
|
|
string zxjg = Bash(commod); |
|
|
|
|
if (string.IsNullOrEmpty(zxjg)) |
|
|
|
|
{ |
|
|
|
|
commod = "cd /opt/apps/yfzy/bin && ./FiveInchServer-yfzy.sh"; |
|
|
|
|
commod = "cd /opt/apps/yfzy/bin && nohup ./FiveInchServer-yfzy.sh &"; |
|
|
|
|
Bash(commod); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -2049,7 +2048,7 @@ namespace AKS.EnterpriseLibrary.WebBrowser
|
|
|
|
|
string zxjg = Bash(commod); |
|
|
|
|
if (string.IsNullOrEmpty(zxjg)) |
|
|
|
|
{ |
|
|
|
|
commod = "cd /opt/hCamera && ./start.sh"; |
|
|
|
|
commod = "cd /opt/hCamera && nohup ./start.sh &"; |
|
|
|
|
Bash(commod); |
|
|
|
|
//获取设备 |
|
|
|
|
GetSnIndex(); |
|
|
|
@ -2059,6 +2058,17 @@ namespace AKS.EnterpriseLibrary.WebBrowser
|
|
|
|
|
EnableDeskImage(1); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (true) |
|
|
|
|
{ |
|
|
|
|
//启动双目服务 |
|
|
|
|
string commod = "netstat -tuln | grep 22226"; |
|
|
|
|
string zxjg = Bash(commod); |
|
|
|
|
if (string.IsNullOrEmpty(zxjg)) |
|
|
|
|
{ |
|
|
|
|
commod = "cd /data/home/aks/lhtserver/lhtserver && nohup ./LhtCamServer.sh &"; |
|
|
|
|
Bash(commod); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
catch { } |
|
|
|
|
finally { } |
|
|
|
|