..
This commit is contained in:
@@ -65,11 +65,9 @@ namespace Project
|
||||
/// <summary>
|
||||
/// database manager
|
||||
/// </summary>
|
||||
//public static Manager.DatabaseManagerHistory dbmHistory; //Tray records (by date)
|
||||
public static Manager.DatabaseManagerCount dbmCount; //Quantity records (by ID)
|
||||
public static Manager.DatabaseManagerSIDHistory dbmSidHistory;
|
||||
|
||||
//public static Manager.DataBaseMSSQL dbSQL;
|
||||
|
||||
/// <summary>
|
||||
/// model manager
|
||||
@@ -1098,7 +1096,7 @@ namespace Project
|
||||
|
||||
public static void initCore()
|
||||
{
|
||||
system_mot = new System_MotParameter(UTIL.MakePath("System_mot.xml"));
|
||||
system_mot = new System_MotParameter(UTIL.MakePath("Data","System_mot.xml"));
|
||||
system_mot.Load();
|
||||
|
||||
//setting
|
||||
@@ -1123,8 +1121,7 @@ namespace Project
|
||||
|
||||
//zpl파일 만든다.
|
||||
var fn = Path.Combine(UTIL.CurrentPath, "Data", "zpl.txt");
|
||||
if (File.Exists(fn) == false)
|
||||
File.WriteAllText(fn, Properties.Settings.Default.ZPL7, Encoding.Default);
|
||||
// i// File.WriteAllText(fn, Properties.Settings.Default.ZPL7, Encoding.Default);
|
||||
}
|
||||
|
||||
static void popup_WindowOpen(object sender, EventArgs e)
|
||||
@@ -1227,12 +1224,9 @@ namespace Project
|
||||
|
||||
LoadDataTable();
|
||||
|
||||
|
||||
|
||||
|
||||
//allow list
|
||||
userList = new DataSet1.UsersDataTable();
|
||||
string fn = AppDomain.CurrentDomain.BaseDirectory + "users.xml";
|
||||
string fn = UTIL.MakePath("Data", "users.xml");
|
||||
if (System.IO.File.Exists(fn)) userList.ReadXml(fn);
|
||||
else userList.WriteXml(fn, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user