73 lines
2.5 KiB
C#
73 lines
2.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.ComponentModel;
|
|
|
|
|
|
namespace AR
|
|
{
|
|
public class UserSetting : Setting
|
|
{
|
|
public string customerlist { get; set; }
|
|
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 = UTIL.MakePath("data", "UserSet.xml");
|
|
}
|
|
|
|
public override void AfterLoad()
|
|
{
|
|
|
|
if (LastJobUnP11.isEmpty()) LastJobUnP11 = "AUTO";
|
|
if (LastJobUnP12.isEmpty()) LastJobUnP12 = "AUTO";
|
|
if (LastJobUnP21.isEmpty()) LastJobUnP21 = "AUTO";
|
|
if (LastJobUnP22.isEmpty()) LastJobUnP22 = "AUTO";
|
|
if (LastJobUnP31.isEmpty()) LastJobUnP31 = "AUTO";
|
|
if (LastJobUnP32.isEmpty()) LastJobUnP32 = "AUTO";
|
|
if (LastJobUnP41.isEmpty()) LastJobUnP41 = "AUTO";
|
|
if (LastJobUnP42.isEmpty()) LastJobUnP42 = "AUTO";
|
|
|
|
}
|
|
public override void AfterSave()
|
|
{
|
|
//throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|