Initial commit

This commit is contained in:
ChiKyun Kim
2025-07-17 16:11:46 +09:00
parent 4865711adc
commit 4a1b1924ba
743 changed files with 230954 additions and 0 deletions

View File

@@ -0,0 +1,71 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
namespace Project
{
public class UserSetting : arUtil.Setting
{
public Boolean Option_QtyUpdate1 { get; set; }
public Boolean Option_PartUpdate { get; set; }
public Boolean Option_printforce1 { get; set; }
public Boolean Option_Confirm1 { get; set; }
public Boolean Option_AutoConfirm { get; set; }
public Boolean Option_vname { get; set; }
public Boolean Option_FixPrint1 { get; set; }
public string Option_PrintPos1 { get; set; }
public Boolean Option_SidConv { get; set; }
//public Boolean Option_QtyUpdate3 { get; set; }
//public Boolean Option_printforce3 { get; set; }
//public Boolean Option_Confirm3 { get; set; }
//public Boolean Option_FixPrint3 { get; set; }
//public string Option_PrintPos3 { get; set; }
public string LastJobUnP11 { get; set; }
public string LastJobUnP12 { get; set; }
public string LastJobUnP21 { get; set; }
public string LastJobUnP22 { get; set; }
public string LastJobUnP31 { get; set; }
public string LastJobUnP32 { get; set; }
public string LastJobUnP41 { get; set; }
public string LastJobUnP42 { get; set; }
public string LastLot { get; set; }
public string LastAltag { get; set; }
public string LastModelM { get; set; }
public string LastModelV { get; set; }
public string LastMC { get; set; }
public int jobtype { get; set; }
public int scantype { get; set; }
public bool useConv { get; set; }
public UserSetting()
{
this.filename = AppDomain.CurrentDomain.BaseDirectory + "UserSet.xml";
}
public override void AfterLoad()
{
if (PUB.uSetting.LastJobUnP11.isEmpty()) PUB.uSetting.LastJobUnP11 = "AUTO";
if (PUB.uSetting.LastJobUnP12.isEmpty()) PUB.uSetting.LastJobUnP12 = "AUTO";
if (PUB.uSetting.LastJobUnP21.isEmpty()) PUB.uSetting.LastJobUnP21 = "AUTO";
if (PUB.uSetting.LastJobUnP22.isEmpty()) PUB.uSetting.LastJobUnP22 = "AUTO";
if (PUB.uSetting.LastJobUnP31.isEmpty()) PUB.uSetting.LastJobUnP31 = "AUTO";
if (PUB.uSetting.LastJobUnP32.isEmpty()) PUB.uSetting.LastJobUnP32 = "AUTO";
if (PUB.uSetting.LastJobUnP41.isEmpty()) PUB.uSetting.LastJobUnP41 = "AUTO";
if (PUB.uSetting.LastJobUnP42.isEmpty()) PUB.uSetting.LastJobUnP42 = "AUTO";
}
public override void AfterSave()
{
//throw new NotImplementedException();
}
}
}