呼叫相关功能
This commit is contained in:
commit
3d501babf9
3 files changed
+34
-10
No files matched your search
@@ -73,6 +73,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.ViewModel
|
||||
public static DataTable Machines = new DataTable(); //设备表缓存
|
||||
// public static DataRow MachinesROW;
|
||||
public static DataTable USER_data = new DataTable();
|
||||
public static DataTable Dyelot_CALL = new DataTable();
|
||||
public static UserControls.info[] inf = new UserControls.info[999]; //定义总览信息卡
|
||||
public static int ERR_c = 0;//错误计数器
|
||||
public static bool[] USER_Capacity { set; get; } = new bool[99];
|
||||
@@ -318,7 +319,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.ViewModel
|
||||
/**染机用户信息**/
|
||||
try
|
||||
{
|
||||
if (Selet_Machines(Machines, "UserInfoStart", "ID='" + i + "'").ToString() == "901")
|
||||
if ((int)Selet_Machines(Machines, "UserInfoStart", "ID='" + i + "'") == 901)
|
||||
{
|
||||
MainWindow.InfData.Rows.Add(new object[] {
|
||||
Selet_Machines(Machines, "Name", "ID='" + i + "'"),
|
||||
@@ -333,9 +334,22 @@ namespace SunlightCentralizedControlManagement_SCCM_.ViewModel
|
||||
}
|
||||
}
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
if ((bool)Selet_Machines(Machines, "CALL", "ID='" + i + "'"))
|
||||
{
|
||||
stringQueue.Enqueue(new QueueString
|
||||
{
|
||||
ID = i,
|
||||
DAT = "SC827" + Selet_Machines(Machines, "SYSKEY", "ID='" + i + "'")
|
||||
});
|
||||
}
|
||||
}
|
||||
catch (Exception) { }
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
void Tick_Event_60S()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user