Merge branch 'master' of http://www.scserverddns.top:13000/sc/DyeingComputer
This commit is contained in:
commit
a264db4b52
2 files changed
+13
-3
No files matched your search
@@ -53,7 +53,9 @@ namespace DyeingComputer.ViewModel
|
||||
private SQLiteHelper SQLiteHelpers = null; //定义数据库
|
||||
private readonly string DBAddress = Environment.CurrentDirectory + "\\DataBase\\800COMPUTER.db"; //数据库路径
|
||||
private IniFile.IniFiles Configini = new IniFile.IniFiles(Convert.ToString(System.AppDomain.CurrentDomain.BaseDirectory) + "DyeingComputer.ini");
|
||||
PID pid = new PID();
|
||||
private PID pid = new PID();
|
||||
public static DataTable RUN_DATATABLE = new DataTable();//缓存工作表
|
||||
public static int RUN_STEPID;//当前步骤
|
||||
|
||||
public MainWindowViewModel()
|
||||
{
|
||||
@@ -61,7 +63,7 @@ namespace DyeingComputer.ViewModel
|
||||
SYS_SET(); //crbl
|
||||
CountDown(); //启动循环任务
|
||||
SQL_data(); //读数据库
|
||||
UPort(); //启动串口
|
||||
UPort(); //启动串口
|
||||
}
|
||||
|
||||
private static int MT05;//主缸排水延时
|
||||
@@ -89,7 +91,6 @@ namespace DyeingComputer.ViewModel
|
||||
MT33 = Convert.ToDouble(Selet_sys("MT33"));//温度偏差参数
|
||||
MT90 = Convert.ToInt16(Selet_sys("MT90"));//呼叫操作员
|
||||
|
||||
|
||||
}
|
||||
DataTable dt_sys = new DataTable();
|
||||
public string Selet_sys(string key)//配置缓存
|
||||
@@ -776,6 +777,11 @@ namespace DyeingComputer.ViewModel
|
||||
}
|
||||
else
|
||||
{
|
||||
if (STEP_finish)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(Name_err.ToString()))
|
||||
{
|
||||
Status_Str = Resources.Await;
|
||||
|
||||
Reference in new issue
Block a user