修改
This commit is contained in:
@@ -192,36 +192,36 @@ namespace CleanMachineHMI
|
||||
isPlcConnStatus = true;
|
||||
|
||||
GlobalHelper.SysThIsRunFlag = true;
|
||||
Thread th = new Thread(RefreshPlcItem)
|
||||
{
|
||||
IsBackground = true
|
||||
};
|
||||
th.Start();
|
||||
|
||||
|
||||
//Thread th = new Thread(RefreshPlcItem_M)
|
||||
//Thread th = new Thread(RefreshPlcItem)
|
||||
//{
|
||||
// IsBackground = true
|
||||
//};
|
||||
//th.Start();
|
||||
|
||||
//Thread th1 = new Thread(RefreshPlcItem_D)
|
||||
//{
|
||||
// IsBackground = true
|
||||
//};
|
||||
//th1.Start();
|
||||
|
||||
//Thread th2 = new Thread(RefreshPlcItem_X)
|
||||
//{
|
||||
// IsBackground = true
|
||||
//};
|
||||
//th2.Start();
|
||||
Thread th = new Thread(RefreshPlcItem_M)
|
||||
{
|
||||
IsBackground = true
|
||||
};
|
||||
th.Start();
|
||||
|
||||
//Thread th3 = new Thread(RefreshPlcItem_Y)
|
||||
//{
|
||||
// IsBackground = true
|
||||
//};
|
||||
//th3.Start();
|
||||
Thread th1 = new Thread(RefreshPlcItem_D)
|
||||
{
|
||||
IsBackground = true
|
||||
};
|
||||
th1.Start();
|
||||
|
||||
Thread th2 = new Thread(RefreshPlcItem_X)
|
||||
{
|
||||
IsBackground = true
|
||||
};
|
||||
th2.Start();
|
||||
|
||||
Thread th3 = new Thread(RefreshPlcItem_Y)
|
||||
{
|
||||
IsBackground = true
|
||||
};
|
||||
th3.Start();
|
||||
|
||||
Thread th4 = new Thread(MainThRunFunc)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user