sc 3 weeks ago
parent
commit
ab5dfa85e1
  1. 5
      ViewModel/MainWindowViewModel.cs

5
ViewModel/MainWindowViewModel.cs

@ -107,8 +107,6 @@ namespace SunlightCentralizedControlManagement_SCCM_.ViewModel
SN_ID = Configini.IniReadvalue("SN", "SN2");
SN_KEY = Configini.IniReadvalue("SN", "SN1");
DyelotsDispenser = Convert.ToBoolean(Configini.IniReadvalue("SYS", "DyelotsDispenser"));
}
catch (Exception ex) { LogGing.ERRDATA(ex); }
SQLiteChartAdress = new SQLiteHelper(ChartAdress); //数据库连接路径
SQLiteChartAdress.Open(); //打开数据库
@ -121,6 +119,9 @@ namespace SunlightCentralizedControlManagement_SCCM_.ViewModel
Whole_dat.Columns.Add("Machine", Type.GetType("System.String"));
Whole_dat.Columns.Add("DateTime", Type.GetType("System.DateTime"));
Whole_dat.Columns.Add("DAT", Type.GetType("System.Double"));
}
catch (Exception ex) { LogGing.ERRDATA(ex);
}
USERCapacity(App.USER_Purview);//App.USER_Purview);
ClientNEW();

Loading…
Cancel
Save