This commit is contained in:
atvstdla
2025-09-23 17:17:49 +09:00
parent 1d2bc49365
commit 7f18759004
17 changed files with 2407 additions and 2524 deletions

View File

@@ -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);