You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
2.2 KiB
66 lines
2.2 KiB
using AksWebBrowser; |
|
using CPF.Controls; |
|
using Fleck; |
|
using System; |
|
using System.Collections.Generic; |
|
using System.Linq; |
|
using System.Net.Sockets; |
|
using System.Net.WebSockets; |
|
using System.Text; |
|
using System.Threading.Tasks; |
|
|
|
namespace AksWebBrowser |
|
{ |
|
public class Parame |
|
{ |
|
public static IWebSocketConnection socket { get; set; } |
|
public static TcpClient tcpClient { get; set; } |
|
public static CusWebBrowser webBrowser { get; set; } |
|
public static Window frm { get; set; } |
|
public static List<Func> FuncObject { get; set; } |
|
//接口地址 |
|
public static string apiUrl ="http://127.0.0.1:8098"; // "http://192.168.0.34:92"; |
|
//授权key |
|
public static string key = "1"; |
|
//硬件Ip |
|
public static string Ip = "192.168.1.166"; |
|
//高拍仪url |
|
public static string gpyUrl = "http://127.0.0.1:6543"; |
|
//高拍仪 |
|
public static string gpyVersion = "S1000A3"; |
|
//高拍仪devIndex |
|
public static string gpydevIndex = "0"; |
|
//签字版、指纹、身份证 |
|
public static string signUrl = "http://127.0.0.1:9399/device"; |
|
//请求超时 |
|
public static int timeout = 3000; |
|
//票据打印机 |
|
public static string pritPj = "/dev/ttyS7"; |
|
//波特率 |
|
public static int pritPjPort = 38400; |
|
//打印名字 |
|
public static string PrinterName = "Lexmark-MS430-Series"; |
|
//是否启用双目 |
|
public static bool isSM = true; |
|
//是否开启高拍仪 |
|
public static bool isGPY = false; |
|
//是否关闭授权定时请求 |
|
public static bool isCloseHttp = false; |
|
//双目摄像头 |
|
public static string smWebsocket = "ws://127.0.0.1:22226"; |
|
//消息推送 |
|
public static string messageData { get; set; } |
|
//人脸比对阈值 |
|
public static int score = 65; |
|
//人脸比对阈值 |
|
public static string ImgBase64 = string.Empty; |
|
//获取问答 |
|
public static string qwUrl = "http://116.205.231.210:82"; |
|
} |
|
public struct Func |
|
{ |
|
public string Id { get; set; } |
|
public string Platform { get; set; } |
|
public string Interfaceaddress { get; set; } |
|
}; |
|
}
|
|
|