Initial commit
This commit is contained in:
		
							
								
								
									
										187
									
								
								Handler/Project_form2/Class/AmkorReelID.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										187
									
								
								Handler/Project_form2/Class/AmkorReelID.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,187 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
|  | ||||
| namespace Project | ||||
| { | ||||
|     public static class AmkorReelID | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// 앰코 ID형태인지 확인합니다. | ||||
|         /// </summary> | ||||
|         /// <param name="rid"></param> | ||||
|         /// <param name="yy"></param> | ||||
|         /// <param name="m"></param> | ||||
|         /// <returns></returns> | ||||
|         public static Boolean IsValidID(string rid, out string yy, out string m) | ||||
|         { | ||||
|             yy = string.Empty; | ||||
|             m = string.Empty; | ||||
|             if (rid.Length != 15) return false; | ||||
|             try | ||||
|             { | ||||
|                 var custCost = rid.Substring(2, 4); | ||||
|                 var site = "K" + rid.Substring(6, 1); | ||||
|                 var mc = rid.Substring(7, 1); | ||||
|                 yy = rid.Substring(8, 2); | ||||
|                 m = rid.Substring(10, 1); | ||||
|                 var sn = rid.Substring(11, 4); | ||||
|                 return true; | ||||
|             } | ||||
|             catch | ||||
|             { | ||||
|                 return false; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         public static string MakeReelID(string customercode, string ym) | ||||
|         { | ||||
|             if (customercode.Length != 4) | ||||
|             { | ||||
|                 return String.Empty;// | ||||
|                                     //throw new Exception("Customer 코드는 4자리 입니다"); | ||||
|             } | ||||
|             if (ym.Length != 3) | ||||
|             { | ||||
|                 return string.Empty;// | ||||
|                                     //throw new Exception("Ym 코드는 3자리 입니다"); | ||||
|             } | ||||
|             var rid = "RC{CUST}{DEVLOC}{DEVID}{YM}"; | ||||
|             rid = rid.Replace("{DEVLOC}", Pub.setting.ReelIdDeviceLoc); | ||||
|             rid = rid.Replace("{DEVID}", Pub.setting.ReelIdDeviceID); | ||||
|             rid = rid.Replace("{CUST}", customercode); | ||||
|             rid = rid.Replace("{YM}", ym); | ||||
|             rid += GetNextSNbyYM(ym); | ||||
|             return rid; | ||||
|         } | ||||
|  | ||||
|  | ||||
|         /// <summary> | ||||
|         /// 입력된 월 기준으로 시리얼 번호를 생성합니다 | ||||
|         /// </summary> | ||||
|         /// <param name="ym">21년 1월의 경우 211,  10월의 경우 21A 식으로 표현</param> | ||||
|         /// <param name="removeR">1,2번 위치에 R기호를 제거 할 것인가?</param> | ||||
|         /// <returns></returns> | ||||
|         public static string GetNextSNbyYM(string ym) | ||||
|         { | ||||
|             //서버에서 자료를 조회해서 처리한다. | ||||
|             var db = new EEEntities(); | ||||
|             var dr = db.Component_Reel_Result.Where(t => t.PDATE == ym && t.PDATE.Contains("R") == false).OrderByDescending(t => t.RSN).FirstOrDefault(); | ||||
|             if (dr == null) return "0001"; //처음쓰는 자료인다. | ||||
|             var curSN = dr.RSN; | ||||
|             return GetNextSNbySN(curSN); | ||||
|         } | ||||
|  | ||||
|         /// <summary> | ||||
|         /// 해당월의 리턴릴의 번호를 생성한다 | ||||
|         /// </summary> | ||||
|         /// <param name="ym"></param> | ||||
|         /// <returns></returns> | ||||
|         public static string GetNextSNbyYM_Return(string ym) | ||||
|         { | ||||
|             //서버에서 자료를 조회해서 처리한다. | ||||
|             var db = new EEEntities(); | ||||
|             var dr = db.Component_Reel_Result.Where(t => t.PDATE == ym && t.PDATE.StartsWith("R")).OrderByDescending(t => t.RSN).FirstOrDefault(); | ||||
|             if (dr == null) return "R001"; //처음쓰는 자료인다. | ||||
|             var curSN = dr.RSN; | ||||
|             return GetNextSNbySN_Return(curSN); | ||||
|         } | ||||
|  | ||||
|         /// <summary> | ||||
|         /// 중복릴의 다은번호를 생성한다 | ||||
|         /// </summary> | ||||
|         /// <param name="ym"></param> | ||||
|         /// <returns></returns> | ||||
|         public static string GetNextSNbyYM_Dup(string ym) | ||||
|         { | ||||
|             //서버에서 자료를 조회해서 처리한다. | ||||
|             var db = new EEEntities(); | ||||
|             var dr = db.Component_Reel_Result.Where(t => t.PDATE == ym && t.PDATE.StartsWith("0R")).OrderByDescending(t => t.RSN).FirstOrDefault(); | ||||
|             if (dr == null) return "0R01"; //처음쓰는 자료인다. | ||||
|             var curSN = dr.RSN; | ||||
|             return GetNextSNbySN_Dup(curSN); | ||||
|         } | ||||
|  | ||||
|         /// <summary> | ||||
|         /// 입력한 시리얼 번호 이후의 번호를 생성합니다(0000~ZZZZ) 까지의 데이터를 가지며 2번쨰짜리까지는 R을 사용하지 못한다 | ||||
|         /// </summary> | ||||
|         /// <param name="sn">기준 시리얼번호 4자리</param> | ||||
|         /// <param name="removeR"></param> | ||||
|         /// <returns></returns> | ||||
|         public static string GetNextSNbySN(string sn) | ||||
|         { | ||||
|             //서버에서 자료를 조회해서 처리한다. | ||||
|             string curSN = sn; | ||||
|             if (sn.Length != 4) throw new Exception("s/n length 4"); | ||||
|  | ||||
|             var buffer = curSN.ToCharArray(); | ||||
|             for (int i = buffer.Length; i > 0; i--) | ||||
|             { | ||||
|                 if (i <= 2) | ||||
|                     if (buffer[i - 1] == 'Q') buffer[i - 1] = 'R'; | ||||
|  | ||||
|                 if (buffer[i - 1] == '9') { buffer[i - 1] = 'A'; break; } | ||||
|                 else if (buffer[i - 1] == 'Z') buffer[i - 1] = '0'; | ||||
|                 else { buffer[i - 1] = (char)((byte)buffer[i - 1] + 1); break; } | ||||
|             } | ||||
|             return string.Join("", buffer); | ||||
|         } | ||||
|  | ||||
|         /// <summary> | ||||
|         /// 리턴릴의 다음 번호 생성 R로시작하며 000~ZZZ 영역을 가진다(제외문자 없음) | ||||
|         /// </summary> | ||||
|         /// <param name="sn"></param> | ||||
|         /// <returns></returns> | ||||
|         public static string GetNextSNbySN_Return(string sn) | ||||
|         { | ||||
|             //서버에서 자료를 조회해서 처리한다. | ||||
|             string curSN = sn; | ||||
|             if (sn.Length != 4) throw new Exception("s/n length 4"); | ||||
|  | ||||
|             var buffer = curSN.ToCharArray(); | ||||
|             for (int i = buffer.Length; i > 1; i--) | ||||
|             { | ||||
|                 //if (i <= 2)  //1,2번 영역에는 R값이 들어가면 안된다. | ||||
|                 //{ | ||||
|                 //	if (buffer[i - 1] == 'Q') buffer[i - 1] = 'R'; | ||||
|                 //} | ||||
|  | ||||
|                 if (buffer[i - 1] == '9') { buffer[i - 1] = 'A'; break; } | ||||
|                 else if (buffer[i - 1] == 'Z') buffer[i - 1] = '0'; | ||||
|                 else { buffer[i - 1] = (char)((byte)buffer[i - 1] + 1); break; } | ||||
|             } | ||||
|             buffer[0] = 'R'; | ||||
|             return string.Join("", buffer); | ||||
|         } | ||||
|  | ||||
|         /// <summary> | ||||
|         /// 중복릴의 다음 번호 생성(0R로 시작하며 00~ZZ의 영역을 가진다) | ||||
|         /// </summary> | ||||
|         /// <param name="sn"></param> | ||||
|         /// <returns></returns> | ||||
|         public static string GetNextSNbySN_Dup(string sn) | ||||
|         { | ||||
|             //서버에서 자료를 조회해서 처리한다. | ||||
|             string curSN = sn; | ||||
|             if (sn.Length != 4) throw new Exception("s/n length 4"); | ||||
|  | ||||
|             var buffer = curSN.ToCharArray(); | ||||
|             for (int i = buffer.Length; i > 2; i--) | ||||
|             { | ||||
|                 //if (i <= 2)  //1,2번 영역에는 R값이 들어가면 안된다. | ||||
|                 //{ | ||||
|                 //	if (buffer[i - 1] == 'Q') buffer[i - 1] = 'R'; | ||||
|                 //} | ||||
|  | ||||
|                 if (buffer[i - 1] == '9') { buffer[i - 1] = 'A'; break; } | ||||
|                 else if (buffer[i - 1] == 'Z') buffer[i - 1] = '0'; | ||||
|                 else { buffer[i - 1] = (char)((byte)buffer[i - 1] + 1); break; } | ||||
|             } | ||||
|             buffer[0] = '0'; | ||||
|             buffer[1] = 'R'; | ||||
|             return string.Join("", buffer); | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										168
									
								
								Handler/Project_form2/Class/CHistoryJOB.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										168
									
								
								Handler/Project_form2/Class/CHistoryJOB.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,168 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Linq; | ||||
| using System.Runtime.CompilerServices; | ||||
| using System.Text; | ||||
|  | ||||
| namespace Project.Class | ||||
| { | ||||
|  | ||||
|     public class CHistoryJOB : INotifyPropertyChanged | ||||
|     { | ||||
|         public event PropertyChangedEventHandler PropertyChanged; | ||||
|         List<JobData> _items; | ||||
|         public CHistoryJOB() | ||||
|         { | ||||
|             _items = new List<JobData>(); | ||||
|         } | ||||
|         public void Clear() | ||||
|         { | ||||
|             lock (_items) | ||||
|             { | ||||
|                 _items.Clear(); | ||||
|             } | ||||
|  | ||||
|             OnPropertyChanged("Clear"); | ||||
|         } | ||||
|         public int Count | ||||
|         { | ||||
|             get | ||||
|             { | ||||
|                 lock (_items) | ||||
|                 { | ||||
|                     return _items.Count; | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|         public void SetItems(List<JobData> value) | ||||
|         { | ||||
|             lock (_items) | ||||
|             { | ||||
|                 this._items = value; | ||||
|             } | ||||
|             OnPropertyChanged("REFRESH"); | ||||
|         } | ||||
|  | ||||
|         public List<JobData> Items { get { return _items; } } | ||||
|         public void Add(JobData data) | ||||
|         { | ||||
|             lock (_items) | ||||
|             { | ||||
|                 data.No = this._items.Count + 1; | ||||
|                 _items.Add(data); | ||||
|             } | ||||
|  | ||||
|             OnPropertyChanged("Add:" + data.guid); | ||||
|         } | ||||
|  | ||||
|         public void Remove(JobData data) | ||||
|         { | ||||
|             lock (_items) | ||||
|             { | ||||
|                 _items.Remove(data); | ||||
|             } | ||||
|  | ||||
|             OnPropertyChanged("Remove:" + data.guid); | ||||
|         } | ||||
|         public void Remove(string guid) | ||||
|         { | ||||
|             lock (_items) | ||||
|             { | ||||
|                 var data = Get(guid); | ||||
|                 _items.Remove(data); | ||||
|             } | ||||
|             OnPropertyChanged("Remove:" + guid); | ||||
|         } | ||||
|         public JobData Get(string guid) | ||||
|         { | ||||
|             lock (_items) | ||||
|             { | ||||
|                 return _items.Where(t => t.guid == guid).FirstOrDefault(); | ||||
|             } | ||||
|         } | ||||
|         public void Set(JobData data) | ||||
|         { | ||||
|             var item = Get(data.guid); | ||||
|             if (item == null) throw new Exception("No data guid:" + data.guid.ToString()); | ||||
|             else | ||||
|             { | ||||
|                 //item.No = data.No; | ||||
|                 //item.JobStart = data.JobStart; | ||||
|                 //item.JobEnd = data.JobEnd; | ||||
|                 //item.VisionData = data.VisionData; | ||||
|                 //item.error = data.error; | ||||
|                 //item.Message = data.Message; | ||||
|                 OnPropertyChanged("Set:" + data.guid); | ||||
|             } | ||||
|         } | ||||
|         public void RaiseSetEvent(string guid) | ||||
|         { | ||||
|             OnPropertyChanged("Set:" + guid); | ||||
|         } | ||||
|  | ||||
|         protected void OnPropertyChanged([CallerMemberName] string name = null) | ||||
|         { | ||||
|             if (PropertyChanged != null) | ||||
|                 PropertyChanged.Invoke(this, new PropertyChangedEventArgs(name)); | ||||
|         } | ||||
|     } | ||||
|     //[Serializable] | ||||
|     //public class JobData | ||||
|     //{ | ||||
|     //    //고유식별자 | ||||
|     //    public string guid { get; private set; } | ||||
|  | ||||
|     //    //비젼처리값 | ||||
|     //    public Class.VisionData VisionData { get; set; } | ||||
|  | ||||
|     //    //언로더포트(L/R) | ||||
|     //    public string PortPos { get; set; } | ||||
|  | ||||
|     //    //프린트위치(U/LO) | ||||
|     //    public string PrintPos { get; set; } | ||||
|  | ||||
|     //    //작업시작시간 | ||||
|     //    public DateTime JobStart { get; set; } | ||||
|  | ||||
|     //    //작업종료시간 | ||||
|     //    public DateTime JobEnd { get; set; } | ||||
|  | ||||
|     //    /// <summary> | ||||
|     //    /// 이전 출고되는 시점과의 시간차 값 | ||||
|     //    /// </summary> | ||||
|     //    public double TackTime { get { return (JobEnd - JobStart).TotalSeconds; } } | ||||
|  | ||||
|     //    //작업순서 | ||||
|     //    public int No { get; set; } | ||||
|  | ||||
|     //    //오류상태 | ||||
|     //    public eJobResult error { get; set; } | ||||
|  | ||||
|     //    //메세지 | ||||
|     //    public string message { get; set; } | ||||
|  | ||||
|  | ||||
|     //    public TimeSpan JobRun | ||||
|     //    { | ||||
|     //        get | ||||
|     //        { | ||||
|     //            if (JobEnd.Year == 1982) return new TimeSpan(0); | ||||
|     //            else return this.JobEnd - this.JobStart; | ||||
|     //        } | ||||
|     //    } | ||||
|     //    public JobData() | ||||
|     //    { | ||||
|     //        this.No = 0; | ||||
|     //        PortPos = string.Empty; | ||||
|     //        PrintPos = string.Empty; | ||||
|     //        guid = Guid.NewGuid().ToString(); | ||||
|     //        VisionData = new VisionData(); | ||||
|     //        this.JobStart = new DateTime(1982, 11, 23); // DateTime.Parse("1982-11-23"); | ||||
|     //        this.JobEnd = new DateTime(1982, 11, 23); // DateTime.Parse("1982-11-23"); | ||||
|     //        error = eJobResult.None; | ||||
|     //        message = string.Empty; | ||||
|     //    } | ||||
|  | ||||
|     //} | ||||
| } | ||||
							
								
								
									
										134
									
								
								Handler/Project_form2/Class/CHistorySIDRef.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										134
									
								
								Handler/Project_form2/Class/CHistorySIDRef.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,134 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Linq; | ||||
| using System.Runtime.CompilerServices; | ||||
| using System.Text; | ||||
|  | ||||
| namespace Project.Class | ||||
| { | ||||
|     public class CHistorySIDRef : INotifyPropertyChanged | ||||
|     { | ||||
|         public event PropertyChangedEventHandler PropertyChanged; | ||||
|         public Boolean JobSIDRecvError | ||||
|         { | ||||
|             get | ||||
|             { | ||||
|                 //아이템이있어야 정상이다 | ||||
|                 if (_items == null || _items.Count < 1) return true; | ||||
|                 else if (JobSIDRecvTime.Year == 1982) return true; | ||||
|                 else return false; | ||||
|             } | ||||
|         } | ||||
|         public DateTime JobSIDRecvTime { get; set; } | ||||
|         public string JobSIDRecvMessage { get; set; } | ||||
|         List<SIDDataRef> _items; | ||||
|  | ||||
|         public CHistorySIDRef() | ||||
|         { | ||||
|             Clear(); | ||||
|         } | ||||
|         public void SetItems(List<SIDDataRef> value) | ||||
|         { | ||||
|             this._items = value; | ||||
|             OnPropertyChanged("REFRESH"); | ||||
|         } | ||||
|  | ||||
|         public List<SIDDataRef> Items { get { return _items; } } | ||||
|         public int Count | ||||
|         { | ||||
|             get | ||||
|             { | ||||
|                 return _items.Count; | ||||
|             } | ||||
|         } | ||||
|         public SIDDataRef Get(string sid_) | ||||
|         { | ||||
|             return _items.Where(t => t.sid == sid_).FirstOrDefault(); | ||||
|         } | ||||
|         public void Set(SIDDataRef data) | ||||
|         { | ||||
|             var item = Get(data.sid); | ||||
|             if (item == null) throw new Exception("No data sid:" + data.sid.ToString()); | ||||
|             else | ||||
|             { | ||||
|                 item.kpc = data.kpc; | ||||
|                 item.unit = data.unit; | ||||
|                 OnPropertyChanged("Set:" + data.sid); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         public void Set(string sid, int kpc, string unit) | ||||
|         { | ||||
|             var item = Get(sid); | ||||
|             if (item == null) | ||||
|             { | ||||
|                 Add(sid, kpc, unit);  //없다면 추가해준다 | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 item.kpc = kpc; | ||||
|                 item.unit = unit; | ||||
|                 OnPropertyChanged("Set:" + sid); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         public void Add(SIDDataRef data) | ||||
|         { | ||||
|             _items.Add(data); | ||||
|             OnPropertyChanged("Add:" + data.sid); | ||||
|         } | ||||
|  | ||||
|  | ||||
|         public void Add(string sid, int kpc_, string unit) | ||||
|         { | ||||
|             if (string.IsNullOrEmpty(sid)) | ||||
|             { | ||||
|                 Pub.log.AddAT("SID 추가 실패 SID 값이 입력되지 않았습니다"); | ||||
|                 return; | ||||
|             } | ||||
|             //if (JobSidList.ContainsKey(sid) == false) | ||||
|             _items.Add(new SIDDataRef(sid, kpc_, unit)); | ||||
|             OnPropertyChanged("Add:" + sid); | ||||
|             //else | ||||
|             //{ | ||||
|             //이미 데이터가 있다. 중복이므로 누적한다 | ||||
|             //JobSidList.TryGetValue() | ||||
|             //} | ||||
|         } | ||||
|         public void Clear() | ||||
|         { | ||||
|             //JobSIDRecvError = false; | ||||
|             JobSIDRecvMessage = string.Empty; | ||||
|             JobSIDRecvTime = DateTime.Parse("1982-11-23"); | ||||
|             if (this._items == null) this._items = new List<SIDDataRef>(); | ||||
|             else this._items.Clear(); | ||||
|             OnPropertyChanged("Clear"); | ||||
|         } | ||||
|  | ||||
|         protected void OnPropertyChanged([CallerMemberName] string name = null) | ||||
|         { | ||||
|             if (PropertyChanged != null) | ||||
|                 PropertyChanged.Invoke(this, new PropertyChangedEventArgs(name)); | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     [Serializable] | ||||
|     public class SIDDataRef | ||||
|     { | ||||
|         public string guid { get; set; } | ||||
|         public string sid { get; set; } | ||||
|         public string unit { get; set; } | ||||
|         public int kpc { get; set; } | ||||
|  | ||||
|         public SIDDataRef(string sid_, int kpc_, string unit_) | ||||
|         { | ||||
|  | ||||
|             guid = Guid.NewGuid().ToString(); | ||||
|             sid = sid_; | ||||
|             unit = unit_; | ||||
|             kpc = kpc_; | ||||
|         } | ||||
|         public SIDDataRef() : this(string.Empty, 0, string.Empty) { } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										572
									
								
								Handler/Project_form2/Class/CResult.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										572
									
								
								Handler/Project_form2/Class/CResult.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,572 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
|  | ||||
|  | ||||
| namespace Project | ||||
| { | ||||
|     public class CCustRule | ||||
|     { | ||||
|         public void Clear() | ||||
|         { | ||||
|             Code = string.Empty; | ||||
|         } | ||||
|         public string Code { get; set; } | ||||
|         public string Name { get; set; } | ||||
|         public int Len { get; set; } | ||||
|         public string Pre { get; set; } | ||||
|         public string Post { get; set; } | ||||
|         public string Expression { get; set; } | ||||
|  | ||||
|         public Boolean isValid | ||||
|         { | ||||
|             get | ||||
|             { | ||||
|                 return string.IsNullOrEmpty(Code) == false && Code.Equals("000") == false; | ||||
|             } | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     public class CResult | ||||
|     { | ||||
|         public enum eInspectResult | ||||
|         { | ||||
|             NG = 0, | ||||
|             OK, | ||||
|             ERROR, | ||||
|             NOTSET = 9, | ||||
|         } | ||||
|  | ||||
|         public DateTime ResetButtonDownTime = DateTime.Now; | ||||
|         //public Class.VisionData[] VisionData = new Class.VisionData[3]; | ||||
|         public Boolean ClearAllSID = false; | ||||
|         //public Class.CHistoryJOB JObHistory; | ||||
|         public Class.CHistorySIDRef SIDReference;         //SIDLIST받은 내역 | ||||
|         public List<UIControl.CItem> OUTHistory;    //출고포트 처리내역 | ||||
|         public DataSet1.SIDHistoryDataTable SIDHistory; //sID별 rid 전체 목록 차수별로만 저장된다 | ||||
|  | ||||
|         public DSList dsList; | ||||
|  | ||||
|         public ModelInfoM mModel;      //모션 모델  | ||||
|         public ModelInfoV vModel;        //작업 모델 | ||||
|  | ||||
|         /// <summary> | ||||
|         /// 아이템의 정보가 담겨있다 (0:왼쪽,1:비젼,2:오른쪽) | ||||
|         /// </summary> | ||||
|         public Class.JobData[] ItemData = new Class.JobData[3]; | ||||
|         public string JobType2 = string.Empty; | ||||
|         public Boolean JobFirst = false; | ||||
|         public List<CCustRule> CustomerRule = new List<CCustRule>(); | ||||
|  | ||||
|         public Boolean DryRun | ||||
|         { | ||||
|             get | ||||
|             { | ||||
|                 if (string.IsNullOrEmpty(JobType2)) return false; | ||||
|                 else return JobType2.ToUpper() == "DRY"; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|  | ||||
|         public int OverLoadCountF { get; set; } | ||||
|         public int OverLoadCountR { get; set; } | ||||
|  | ||||
|         public UIControl.CItem UnloaderItem = null; | ||||
|         public DateTime LastExtInputTime = DateTime.Parse("1982-11-23"); | ||||
|         public DateTime LastOutTime = DateTime.Parse("1982-11-23"); | ||||
|  | ||||
|         public Single[] PortAlignWaitSec = new float[] { 0, 0, 0, 0 }; | ||||
|         public long[] PortAlignTime = new long[] { 0, 0, 0, 0 }; | ||||
|  | ||||
|         public byte UnloaderSeq = 0; | ||||
|         public DateTime UnloaderSeqTime; | ||||
|         public DateTime UnloaderSendtime = DateTime.Parse("1982-11-23"); | ||||
|  | ||||
|  | ||||
|  | ||||
|         //작업옵션처리  210121 | ||||
|         public Boolean Option_Confirm1 = false; | ||||
|         public Boolean Option_QtyUpdate1 = false; | ||||
|         public Boolean Option_QtyUpdateM = false; | ||||
|         public Boolean Option_partUpdate = false; | ||||
|         public Boolean Option_AutoConf = false; | ||||
|         //public string Option_PrintPos1 = ""; | ||||
|         public Boolean Option_vname = false; | ||||
|         public Boolean Option_NewReelID = false; | ||||
|         //public bool Option_Dryrun = false; | ||||
|  | ||||
|         //public Boolean Option_Confirm3 = false; | ||||
|         //public Boolean Option_QtyUpdate3 = false; | ||||
|         //public Boolean Option_FixPrint3 = false; | ||||
|         //public Boolean Option_printforce3 = false; | ||||
|         //public string Option_PrintPos3 = ""; | ||||
|  | ||||
|  | ||||
|         /// <summary> | ||||
|         /// 로딩에 사용하는 포트번호 (자동 판단됨) | ||||
|         /// </summary> | ||||
|         public int LoadPortIndex = -1; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// 로딩시에 사용한 포트의 번호(이 값으로 수량기록 위치를 결정) | ||||
|         /// </summary> | ||||
|         public int LoadPickIndex = -1; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// 최종 할당된 언로딩 포트번호(1~8) | ||||
|         /// </summary> | ||||
|         public int UnloadPortNo = -1; | ||||
|         public byte LiveViewseq = 0; | ||||
|         public string AcceptBcd = string.Empty; | ||||
|         public DateTime AcceptBcdTime = DateTime.Now; | ||||
|         public string AcceptSid = string.Empty; | ||||
|  | ||||
|         //작업정보 | ||||
|         public eInspectResult Result; //작업결과가 저장됨 | ||||
|         public eResult ResultCode; | ||||
|         public string ResultMessage; | ||||
|  | ||||
|         public string LastSIDFrom = string.Empty;//101 = string.Empty; | ||||
|         public string LastSIDTo = string.Empty; // 103 = string.Empty; | ||||
|                                                 //public string LastSID103_2 = string.Empty; | ||||
|         public string LastVName = string.Empty; | ||||
|         public int LastSIDCnt = 0; | ||||
|  | ||||
|  | ||||
|  | ||||
|         //작업정보(시간) | ||||
|         public DateTime JobStartTime; | ||||
|         public DateTime JobEndTime; | ||||
|         public TimeSpan JobRunTime() | ||||
|         { | ||||
|             if (JobStartTime.Year == 1982) return new TimeSpan(0); | ||||
|             if (JobEndTime.Year == 1982) return DateTime.Now - JobStartTime; | ||||
|             else return JobEndTime - JobStartTime; | ||||
|         } | ||||
|  | ||||
|         /// <summary> | ||||
|         /// RUN -> Pause(Wait Start)모드 전환시 저장할 모터의 위치값 | ||||
|         /// 조그모드등으로 좌표를 옴길때의 기준 좌표 | ||||
|         /// 이 좌표값에서 현재 모션값에 변화가 있으면 프로그램에서는 오류로 처리하게 됨 | ||||
|         /// </summary> | ||||
|         public double[] PreventMotionPosition = new double[8]; | ||||
|  | ||||
|         #region "SetResultMessage" | ||||
|  | ||||
|         public void SetResultMessage(eResult code, eECode err, eNextStep systempause, params object[] args) | ||||
|         { | ||||
|             var msg = getResultCodeMessage(code) + " ERROR\n" + getErrorMessage(code, err, args); | ||||
|             SetResultMessage(code, msg, systempause); | ||||
|         } | ||||
|  | ||||
|         private void SetResultMessage(eResult code, string msg, eNextStep systemPause) | ||||
|         { | ||||
|             this.ResultCode = code; | ||||
|             this.ResultMessage = msg; | ||||
|             if (systemPause == eNextStep.pauseNoMessage) this.ResultMessage = string.Empty; //210129 | ||||
|             Pub.log.AddE(msg); | ||||
|             if (systemPause == eNextStep.pause) Pub.sm.setNewStep(StateMachine.eSMStep.PAUSE); | ||||
|             else if (systemPause == eNextStep.pauseNoMessage) Pub.sm.setNewStep(StateMachine.eSMStep.PAUSE); | ||||
|             else if (systemPause == eNextStep.error) Pub.sm.setNewStep(StateMachine.eSMStep.ERROR); | ||||
|         } | ||||
|  | ||||
|         //public void SetResultTimeOutMessage(StateMachine.eSMStep step, eNextStep systemPause) | ||||
|         //{ | ||||
|         //    SetResultMessage(eResult.TIMEOUT, eECode.timeout_step, systemPause, step); | ||||
|         //} | ||||
|         public void SetResultTimeOutMessage(eDOName pinName, Boolean checkState, eNextStep systemPause) | ||||
|         { | ||||
|             if (checkState) SetResultMessage(eResult.SENSOR, eECode.doon, systemPause, pinName); | ||||
|             else SetResultMessage(eResult.SENSOR, eECode.dooff, systemPause, pinName); | ||||
|         } | ||||
|         public void SetResultTimeOutMessage(eDIName pinName, Boolean checkState, eNextStep systemPause) | ||||
|         { | ||||
|             if (checkState) SetResultMessage(eResult.SENSOR, eECode.dion, systemPause, pinName); | ||||
|             else SetResultMessage(eResult.SENSOR, eECode.dioff, systemPause, pinName); | ||||
|         } | ||||
|         public void SetResultTimeOutMessage(eAxis motAxis, eECode ecode, eNextStep systemPause, string source) | ||||
|         { | ||||
|             SetResultMessage(eResult.TIMEOUT, ecode, systemPause, motAxis, source); | ||||
|         } | ||||
|         public void SetResultTimeOutMessage(eECode ecode, eNextStep systemPause, params object[] args) | ||||
|         { | ||||
|             SetResultMessage(eResult.TIMEOUT, ecode, systemPause, args); | ||||
|         } | ||||
|         #endregion | ||||
|  | ||||
|         public DateTime[,] diCheckTime = new DateTime[2, 64]; | ||||
|         public DateTime[,] doCheckTime = new DateTime[2, 64]; | ||||
|  | ||||
|         public Boolean isError { get; set; } | ||||
|         // public Boolean isMarkingMode { get; set; } | ||||
|  | ||||
|         public int retry = 0; | ||||
|         public DateTime retryTime; | ||||
|         public DateTime[] WaitForVar = new DateTime[255]; | ||||
|         public int JoystickAxisGroup = 0; | ||||
|  | ||||
|         public int ABCount = 0; | ||||
|  | ||||
|  | ||||
|         public CResult() | ||||
|         { | ||||
|             mModel = new ModelInfoM(); | ||||
|             vModel = new ModelInfoV(); | ||||
|  | ||||
|             SIDReference = new Class.CHistorySIDRef(); | ||||
|             SIDHistory = new DataSet1.SIDHistoryDataTable(); | ||||
|             //JObHistory = new Class.CHistoryJOB(); | ||||
|  | ||||
|             OUTHistory = new List<UIControl.CItem>(); | ||||
|  | ||||
|             this.Clear(); | ||||
|  | ||||
|             dsList = new DSList(); | ||||
|             LoadListDB(); | ||||
|         } | ||||
|  | ||||
|         public void SaveListDB() | ||||
|         { | ||||
|             var finame = System.IO.Path.Combine(Util.CurrentPath, "Data", "SavaedList.xml"); | ||||
|             var fi = new System.IO.FileInfo(finame); | ||||
|             if (fi.Directory.Exists == false) fi.Directory.Create(); | ||||
|             this.dsList.WriteXml(fi.FullName); | ||||
|             Pub.log.Add("사전목록DB를 저장 했습니다" + fi.FullName); | ||||
|         } | ||||
|  | ||||
|         public void LoadListDB() | ||||
|         { | ||||
|             var finame = System.IO.Path.Combine(Util.CurrentPath, "Data", "SavaedList.xml"); | ||||
|             var fi = new System.IO.FileInfo(finame); | ||||
|             if (fi.Directory.Exists == false) fi.Directory.Create(); | ||||
|             if (fi.Exists) | ||||
|             { | ||||
|                 this.dsList.ReadXml(fi.FullName); | ||||
|                 Pub.log.Add("사전목록DB를 불러왔습니다" + fi.FullName); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         /// <summary> | ||||
|         /// 입력한 sid 가 원본에 존재하지 않으면 -1을 존재하면 입력된 수량을 반환합니다 | ||||
|         /// </summary> | ||||
|         /// <param name="sid"></param> | ||||
|         /// <returns></returns> | ||||
|         public int ExistSIDReferenceCheck(string sid) | ||||
|         { | ||||
|             var dr = Pub.Result.SIDReference.Items.Where(t => t.sid.EndsWith(sid)).FirstOrDefault(); | ||||
|             if (dr == null) return -1; | ||||
|             else return dr.kpc; | ||||
|         } | ||||
|  | ||||
|  | ||||
|         public void ClearHistory() | ||||
|         { | ||||
|  | ||||
|             //this.JObHistory.Clear(); | ||||
|             this.SIDReference.Clear(); | ||||
|             Pub.log.AddI("Clear History"); | ||||
|         } | ||||
|  | ||||
|  | ||||
|         public void ClearOutPort() | ||||
|         { | ||||
|             OUTHistory.Clear(); | ||||
|         } | ||||
|  | ||||
|         public void Clear() | ||||
|         { | ||||
|             //this.JObHistory.Clear(); | ||||
|             this.ItemData = new Class.JobData[3]; | ||||
|             for (int i = 0; i < ItemData.Length; i++) | ||||
|             { | ||||
|                 ItemData[i] = new Class.JobData(i); | ||||
|             } | ||||
|             JobFirst = true; | ||||
|             OverLoadCountF = 0; | ||||
|             OverLoadCountR = 0; | ||||
|             ClearOutPort(); | ||||
|  | ||||
|             LoadPortIndex = -1; | ||||
|  | ||||
|             Pub.ClearRunStepSeqTime(); | ||||
|  | ||||
|             isError = false; | ||||
|             ABCount = 0; | ||||
|             ///기다림용 변수모듬 | ||||
|             for (int i = 0; i < WaitForVar.Length; i++) | ||||
|                 WaitForVar[i] = DateTime.Parse("1982-11-23"); | ||||
|  | ||||
|             //조그모드시 모션이동 감지용 저장 변수 | ||||
|             for (int i = 0; i < 6; i++) | ||||
|                 PreventMotionPosition[i] = 0.0; | ||||
|  | ||||
|             JobStartTime = DateTime.Parse("1982-11-23"); | ||||
|             JobEndTime = DateTime.Parse("1982-11-23"); | ||||
|             LastOutTime = DateTime.Parse("1982-11-23"); | ||||
|  | ||||
|             Result = eInspectResult.NOTSET; | ||||
|             ResultCode = eResult.NOERROR; | ||||
|             ResultMessage = string.Empty; | ||||
|  | ||||
|             //시간정보값을 초기화함 | ||||
|             for (int i = 0; i < 2; i++) | ||||
|                 ClearTime(i); | ||||
|  | ||||
|             Pub.log.Add("Result 데이터 초기화"); | ||||
|         } | ||||
|  | ||||
|  | ||||
|         public void ClearTime(int shutIdx) | ||||
|         { | ||||
|             JobStartTime = DateTime.Parse("1982-11-23"); | ||||
|             JobEndTime = DateTime.Parse("1982-11-23"); | ||||
|  | ||||
|             Result = eInspectResult.NOTSET; | ||||
|             ResultCode = eResult.NOERROR; | ||||
|             ResultMessage = string.Empty; | ||||
|  | ||||
|             Pub.log.Add("Result(Clear Time)"); | ||||
|         } | ||||
|  | ||||
|         public Boolean isSetmModel | ||||
|         { | ||||
|             get | ||||
|             { | ||||
|                 if (Pub.Result.mModel == null || Pub.Result.mModel.idx == -1 || Pub.Result.mModel.Title.isEmpty()) | ||||
|                     return false; | ||||
|                 else return true; | ||||
|             } | ||||
|  | ||||
|         } | ||||
|         public Boolean isSetvModel | ||||
|         { | ||||
|             get | ||||
|             { | ||||
|                 if (Pub.Result.vModel == null || Pub.Result.vModel.idx == -1 || Pub.Result.vModel.Title.isEmpty()) | ||||
|                     return false; | ||||
|                 else return true; | ||||
|             } | ||||
|  | ||||
|         } | ||||
|         public string getErrorMessage(eResult rlt, eECode err, params object[] args) | ||||
|         { | ||||
|             switch (err) | ||||
|             { | ||||
|  | ||||
|                 case eECode.DOORF: | ||||
|                     return string.Format("전면 도어가 열렸습니다"); | ||||
|                 case eECode.DOORR: | ||||
|                     return string.Format("후면 도어가 열렸습니다"); | ||||
|                 case eECode.SIDERR101: | ||||
|                     return string.Format("현재 작업 형태와 SID값이 일치하지 않습니다\nSID:{0}\n작업형태:{1}\n101 SID작업 입니다.", args); | ||||
|                 case eECode.SIDERR106: | ||||
|                     return string.Format("현재 작업 형태와 SID값이 일치하지 않습니다\nSID:{0}\n작업형태:{1}\n106 SID작업 입니다.", args); | ||||
|                 case eECode.SIDERR103: | ||||
|                     return string.Format("현재 작업 형태와 SID값이 일치하지 않습니다\nSID:{0}\n작업형태:{1}\n103 SID작업 입니다.", args); | ||||
|                 case eECode.RIDDUPL: | ||||
|                     return string.Format( | ||||
|                         "좌측 언로더에 사용되었던 REEL ID 입니다\n" + | ||||
|                         "바코드 오류 가능성이 있습니다\n" + | ||||
|                         "좌측 릴의 바코드를 확인하시기 바랍니다\n" + | ||||
|                         "작업을 계속할 수 없습니다. 취소 후 다시 시도하세요\n{0}", args); | ||||
|  | ||||
|  | ||||
|                 case eECode.RIDDUPR: | ||||
|                     return string.Format( | ||||
|                         "우측 언로더에 사용되었던 REEL ID 입니다\n" + | ||||
|                         "바코드 오류 가능성이 있습니다\n" + | ||||
|                         "우측 릴의 바코드를 확인하시기 바랍니다\n" + | ||||
|                         "작업을 계속할 수 없습니다. 취소 후 다시 시도하세요\n{0}", args); | ||||
|  | ||||
|                 case eECode.BARCODEVALIDERR: | ||||
|                     return string.Format("바코드 데이터 검증 실패\n" + | ||||
|                         "인쇄전 데이터와 인쇄후 데이터가 일치하지 않습니다\n" + | ||||
|                         "ID(O) : {1}\n" + | ||||
|                         "ID(N) : {2}\n" + | ||||
|                         "SID : {5}->{6}\n" + | ||||
|                         "QTY : {3}->{4}\n" + | ||||
|                         "DATE : {7}->{8}\n" + | ||||
|                         "Index : {0}", args); | ||||
|  | ||||
|                 case eECode.MOTX_SAFETY: | ||||
|                     return string.Format("PICKER-X 축이 안전위치에 없습니다\n1. 조그를 이용하여 중앙으로 이동 합니다\n2.홈 작업을 다시 실행합니다", args); | ||||
|                 case eECode.noerror: | ||||
|                     return string.Format("오류가 없습니다", args); | ||||
|  | ||||
|                 case eECode.portoverload: | ||||
|                     return string.Format("PORT OVERLOAD\n위치 : {0}\n" + | ||||
|                     "너무 많은 양이 적재 되었습니다\n" + "상단 LIMIT 센서에 걸리지 않게 적재하세요", args); | ||||
|                 case eECode.emergency: | ||||
|                     return string.Format("비상정지 버튼을 확인하세요\n" + | ||||
|                         "버튼 : F{0}\n" + | ||||
|                         "메인전원이 OFF 된 경우에도 이 메세지가 표시 됩니다\n" + | ||||
|                         "메인전원은 모니터 하단 AIR버튼 좌측에 있습니다" | ||||
|                         , Util_DO.GetIOInput(eDIName.BUT_EMGF)); | ||||
|                 case eECode.nomodelm: | ||||
|                     return "모션모델이 선택되지 않았습니다\n" + | ||||
|                      "상단 메뉴 [모션모델]에서 사용할 모델을 선택하세요"; | ||||
|                 case eECode.nomodelv: | ||||
|                     return "작업모델이 선택되지 않았습니다\n" + | ||||
|                      "상단 메뉴 [작업모델]에서 사용할 모델을 선택하세요"; | ||||
|  | ||||
|                 case eECode.CARTERROR: | ||||
|                     return string.Format("언로더 카트가 없거나 크기 정보가 일치하지 않습니다\n좌측:{0}, 로더:{1}, 우측:{2}", args); | ||||
|                 case eECode.CARTL: | ||||
|                     return string.Format("왼쪽(UNLOAD) 포트에 카트가 감지되지 않습니다\n카트를 장착하세요\n카트크기 : {0}, 릴크기:{1}", args); | ||||
|                 case eECode.CARTC: | ||||
|                     return string.Format("중앙(LOAD) 포트에 카트가 감지되지 않습니다\n카트를 장착하세요\n카트크기 : {0}, 릴크기:{1}", args); | ||||
|                 case eECode.CARTR: | ||||
|                     return string.Format("오른쪽(UNLOAD) 포트에 카트가 감지되지 않습니다\n카트를 장착하세요\n카트크기 : {0}, 릴크기:{1}", args); | ||||
|  | ||||
|                 case eECode.CARTLMATCH: | ||||
|                     return string.Format("왼쪽(UNLOAD) 카트와 피커의 릴 크기가 일치하지 않습니다\n카트크기를 확인 하세요\n카트크기 : {0}, 릴크기:{1}", args); | ||||
|                 case eECode.CARTCMATCH: | ||||
|                     return string.Format("중앙(LOAD) 카트와 피커의 릴 크기가 일치하지 않습니다\n카트크기를 확인 하세요\n카트크기 : {0}, 릴크기:{1}", args); | ||||
|                 case eECode.CARTRMATCH: | ||||
|                     return string.Format("오른쪽(UNLOAD) 카트와 피커의 릴 크기가 일치하지 않습니다\n카트크기를 확인 하세요\n카트크기 : {0}, 릴크기:{1}", args); | ||||
|  | ||||
|  | ||||
|                 case eECode.NOREELSIZEL: | ||||
|                     return string.Format("왼쪽포트에 놓을 릴의 크기정보가 없습니다\n프로그램 오류입니다\n개발자에게 해당 메세지를 전달하세요\n" + | ||||
|                         "장치 초기화를 진행 한 후 다시 시도하세요"); | ||||
|  | ||||
|                 case eECode.NOREELSIZER: | ||||
|                     return string.Format("오른쪽포트에 놓을 릴의 크기정보가 없습니다\n프로그램 오류입니다\n개발자에게 해당 메세지를 전달하세요\n" + | ||||
|                         "장치 초기화를 진행 한 후 다시 시도하세요"); | ||||
|  | ||||
|                 case eECode.CAM_CONN: | ||||
|                     return string.Format("카메라({0}) 연결 안됨", args); | ||||
|  | ||||
|                 case eECode.EVISION_CONN: | ||||
|                     return string.Format("E-Vision USB Dongle Error", args); | ||||
|                 case eECode.CAM_NOBARCODEL: | ||||
|                     return string.Format("로더 바코드 필수값을 읽지 못했습니다", args); | ||||
|                 case eECode.CAM_NOBARCODEU: | ||||
|                     return string.Format("언로더({0}) 바코드를 읽지 못했습니다", args); | ||||
|                 case eECode.HOME_TIMEOUT: | ||||
|                     return string.Format("홈 진행이 완료되지 않고 있습니다\n" + | ||||
|                         "오류가 발생했다면 '홈' 작업을 다시 진행하세요\n" + | ||||
|                         "대기시간 : {0}초", args); | ||||
|  | ||||
|                 case eECode.PICKOVL: | ||||
|                     return string.Format("피커({0})에서 오버로드가 감지되었습니다\n" + | ||||
|                 "센서및 포트의 적재 상태를 확인한 후 다시 시도하세요", args); | ||||
|  | ||||
|                 case eECode.saftyport: | ||||
|                     return string.Format("포트 안전센서가 감지 되었습니다\n" + | ||||
|                         "안전센서를 확인한 후 다시 시도하세요\n", args); | ||||
|  | ||||
|                 case eECode.airnoout: | ||||
|                     return "AIR 공급이 차단 되어 있습니다.\n" + | ||||
|                         "전면의 AIR 버튼을 누르세요\n" + | ||||
|                         "공급이 되지 않으면 메인 전원 을 확인하세요\n" + | ||||
|                         "메인 전원은 AIR 버튼 좌측에 있습니다" + | ||||
|                         "메인 전원 공급 실패시 장비 후면의 차단기를 확인하세요"; | ||||
|  | ||||
|  | ||||
|                 case eECode.dooff: | ||||
|                     var pinoOf = (eDOName)args[0]; | ||||
|                     return string.Format("출력이 OFF 되지 않았습니다.\n" + | ||||
|                        "포트설명 : {0}\n" + | ||||
|                        "포트번호 : {1} ({2})", Util_DO.getPinDescription(pinoOf), (int)pinoOf, Enum.GetName(typeof(eDOPin), pinoOf)); | ||||
|                 case eECode.doon: | ||||
|                     var pinoOn = (eDOName)args[0]; | ||||
|                     return string.Format("출력이 ON 되지 않았습니다.\n" + | ||||
|                        "포트설명 : {0}\n" + | ||||
|                        "포트번호 : {1} ({2})", Util_DO.getPinDescription(pinoOn), (int)pinoOn, Enum.GetName(typeof(eDOPin), pinoOn)); | ||||
|                 case eECode.dioff: | ||||
|                     var piniOf = (eDIName)args[0]; | ||||
|                     return string.Format("입력이 OFF 되지 않았습니다.\n" + | ||||
|                        "포트설명 : {0}\n" + | ||||
|                        "포트번호 : {1} ({2})", Util_DO.getPinDescription(piniOf), (int)piniOf, Enum.GetName(typeof(eDIPin), piniOf)); | ||||
|                 case eECode.dion: | ||||
|                     var piniOn = (eDIName)args[0]; | ||||
|                     return string.Format("입력이 ON 되지 않았습니다.\n" + | ||||
|                         "포트설명 : {0}\n" + | ||||
|                         "포트번호 : {1} ({2})", Util_DO.getPinDescription(piniOn), (int)piniOn, Enum.GetName(typeof(eDIPin), piniOn)); | ||||
|  | ||||
|                 case eECode.azininit: | ||||
|                     return string.Format("DIO 혹은 모션카드가 초기화 되지 않았습니다.\n" + | ||||
|                  "DIO    : {0}\n" + | ||||
|                  "MOTION : {1}\n" + | ||||
|                  "해당 카드는 본체 내부 PCI 슬롯에 장착 된 장비 입니다\n" + | ||||
|                  "EzConfig AXT 프로그램으로 카드 상태를 확인하세요", | ||||
|                  Pub.dio.IsInit, Pub.mot.IsInit); | ||||
|  | ||||
|  | ||||
|                 case eECode.MOT_INIT: | ||||
|                     return string.Format("모션카드가 초기화 되지 않았습니다\n" + | ||||
|                         "아진엑스텍 프로그램을 통해서 보드를 확인하세요\n" + | ||||
|                         "PC를 재부팅한 후 재시도 하세요", args); | ||||
|  | ||||
|                 case eECode.MOT_HSET: | ||||
|                     var msg = "모션의 HOME 검색이 완료되지 않았습니다"; | ||||
|                     for (int i = 0; i < 6; i++) | ||||
|                     { | ||||
|                         if (Pub.mot.isUse[i] == false) continue; | ||||
|                         var axis = (eAxis)i; | ||||
|                         var stat = Pub.mot.isHomeSet[i]; | ||||
|                         if (stat == false) msg += string.Format("\n[{0}] {1} : {2}", i, axis, stat); | ||||
|                     } | ||||
|                     msg += "\n장치 초기화를 실행하세요"; | ||||
|                     return msg; | ||||
|                 case eECode.MOT_SVOFF: | ||||
|                     var msgsv = "모션 중 SERVO-OFF 된 축이 있습니다"; | ||||
|                     for (int i = 0; i < 6; i++) | ||||
|                     { | ||||
|                         if (Pub.mot.isUse[i] == false) continue; | ||||
|                         var axis = (eAxis)i; | ||||
|                         var stat = Pub.mot.isSERVOON[i]; | ||||
|                         if (stat == false) msgsv += string.Format("\n[{0}] {1} : {2}", i, axis, stat); | ||||
|                     } | ||||
|                     msgsv += "\nRESET을 누른 후 '모션설정' 화면에서 확인합니다"; | ||||
|                     return msgsv; | ||||
|                 case eECode.MOT_HSEARCH: | ||||
|                     return string.Format("모션의 홈 검색이 실패되었습니다\n" + | ||||
|                                          "축 : {0}\n" + | ||||
|                                          "메세지 : {1}", args); | ||||
|  | ||||
|                 case eECode.MOT_CMD: | ||||
|                     var axisNo = (int)((eAxis)args[0]); | ||||
|                     var axisSrc = args[1].ToString(); | ||||
|                     return string.Format("모션축 명령이 실패 되었습니다\n축 : {0}\n" + | ||||
|                         "현재위치 : {2}\n" + | ||||
|                         "명령위치 : {3}\n" + | ||||
|                         "소스 : {1}", axisNo, axisSrc, Pub.mot.dACTPOS[axisNo], Pub.mot.dCMDPOS[axisNo]); | ||||
|  | ||||
|                 case eECode.MNBR: | ||||
|                     return string.Format("MNBR 값이 없습니다\n" + | ||||
|                     "환경설정에서 MNBR 값을 입력하세요", args); | ||||
|  | ||||
|                 //case eECode.timeout_step: | ||||
|                 //    return string.Format("스텝당 최대 실행 시간이 초과 되었습니다.\n" + | ||||
|                 //             "스텝 : {0}\n" + | ||||
|                 //             "최대동작시간 : " + Pub.setting.Timeout_StepMaxTime.ToString(), args); | ||||
|  | ||||
|  | ||||
|                 case eECode.USER_STOP: | ||||
|                     return "'일시정지' 버튼 눌림\n" + | ||||
|                   "사용자에 의해 작동이 중지 되었습니다\n" + | ||||
|                   "'RESET' -> 'START'로 작업을 계속할 수 있습니다"; | ||||
|  | ||||
|                 case eECode.CAM_RIGHT: | ||||
|                     return "우측카메라가 사용가능한 상태가 아닙니다.\n" + | ||||
|                         "신규 실행시에는 초기화 완료까지 기다려 주세요"; | ||||
|                 case eECode.CAM_LEFT: | ||||
|                     return "좌측카메라가 사용가능한 상태가 아닙니다.\n" + | ||||
|                         "신규 실행시에는 초기화 완료까지 기다려 주세요"; | ||||
|                 default: | ||||
|                     return err.ToString(); | ||||
|             } | ||||
|  | ||||
|         } | ||||
|         public string getResultCodeMessage(eResult rltCode) | ||||
|         { | ||||
|             //별도 메세지처리없이 그대로 노출한다 | ||||
|             return rltCode.ToString().ToUpper(); | ||||
|         } | ||||
|  | ||||
|     } | ||||
|  | ||||
| } | ||||
							
								
								
									
										1009
									
								
								Handler/Project_form2/Class/EnumData.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1009
									
								
								Handler/Project_form2/Class/EnumData.cs
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										89
									
								
								Handler/Project_form2/Class/ItemData.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										89
									
								
								Handler/Project_form2/Class/ItemData.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,89 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
|  | ||||
| namespace Project.Class | ||||
| { | ||||
| 	[Serializable] | ||||
| 	public class JobData | ||||
| 	{ | ||||
| 		public enum ErrorCode | ||||
| 		{ | ||||
| 			None = 0, | ||||
| 			BarcodeRead, | ||||
| 			Print, | ||||
| 			Camera, | ||||
| 		} | ||||
| 		public ErrorCode error = ErrorCode.None; | ||||
| 		public int No { get; set; } | ||||
| 		public VisionData VisionData; | ||||
|  | ||||
| 		public DateTime JobStart | ||||
| 		{ | ||||
| 			get | ||||
| 			{ | ||||
| 				if (this.VisionData == null) return new DateTime(1982, 11, 23); | ||||
| 				else return VisionData.STime; | ||||
| 			} | ||||
| 		} | ||||
| 		public DateTime JobEnd; | ||||
| 		public TimeSpan JobRun | ||||
| 		{ | ||||
| 			get | ||||
| 			{ | ||||
| 				if (JobEnd.Year == 1982) return new TimeSpan(0); | ||||
| 				else if (JobStart.Year == 1982) return new TimeSpan(0); | ||||
| 				else return JobEnd - JobStart; | ||||
| 			} | ||||
| 		} | ||||
|  | ||||
| 		//작업데이터의 GUID(자료식별) | ||||
| 		public string guid { get; private set; } | ||||
|  | ||||
| 		//언로더포트위치(L/R) | ||||
| 		public string PortPos; | ||||
|  | ||||
|  | ||||
| 		//동작관련 메세지 | ||||
| 		public string Message; | ||||
|  | ||||
| 		int idx; | ||||
| 		public JobData(int idx_) | ||||
| 		{ | ||||
| 			this.idx = idx_; | ||||
| 			Clear("INIT"); | ||||
| 		} | ||||
| 		public void Clear(string source) | ||||
| 		{ | ||||
| 			Pub.AddDebugLog($"item data {idx} clear by {source}"); | ||||
|  | ||||
| 			No = 0; | ||||
| 			//JobStart = new DateTime(1982, 11, 23); | ||||
| 			JobEnd = new DateTime(1982, 11, 23); | ||||
| 			PortPos = string.Empty; | ||||
| 			guid = Guid.NewGuid().ToString(); | ||||
| 			Message = string.Empty; | ||||
| 			if (VisionData == null) | ||||
| 				VisionData = new VisionData(source); | ||||
| 			else | ||||
| 				VisionData.Clear(source, false); | ||||
| 		} | ||||
|  | ||||
| 		public void CopyTo(ref JobData obj) | ||||
| 		{ | ||||
| 			if (obj == null) return; | ||||
| 			//obj.JobStart = this.JobStart; | ||||
| 			obj.JobEnd = this.JobEnd; | ||||
| 			obj.guid = this.guid; | ||||
| 			obj.PortPos = this.PortPos; | ||||
| 			obj.Message = this.Message; | ||||
|  | ||||
| 			Pub.AddDebugLog("아이템 복사 전 rid:" + this.VisionData.RID); | ||||
| 			this.VisionData.CopyTo(ref obj.VisionData); | ||||
| 			Pub.AddDebugLog("아이템 복사 후 대상 rid : " + obj.VisionData.RID); | ||||
| 		} | ||||
|  | ||||
| 	} | ||||
| } | ||||
							
								
								
									
										275
									
								
								Handler/Project_form2/Class/JoystickRaw.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										275
									
								
								Handler/Project_form2/Class/JoystickRaw.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,275 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading; | ||||
| using System.Threading.Tasks; | ||||
| using HidSharp; | ||||
| using HidSharp.Reports; | ||||
| using HidSharp.Reports.Encodings; | ||||
|  | ||||
| namespace arDev.Joystick | ||||
| { | ||||
|     public class JoystickRaw : IDisposable | ||||
|     { | ||||
|         HidDevice _dev; | ||||
|         HidStream _hidStream; | ||||
|  | ||||
|         public Boolean IsOpen { get; private set; } | ||||
|         public event EventHandler Disconnected; | ||||
|         public event EventHandler Connected; | ||||
|         public event EventHandler Changed; | ||||
|         public delegate void MessageHandler(string msg); | ||||
|         public event MessageHandler Message; | ||||
|         public int InputLength { get; private set; } | ||||
|         public int OutputLength { get; private set; } | ||||
|         public int FeatureLength { get; private set; } | ||||
|         public int vid { get; set; } | ||||
|         public int pid { get; set; } | ||||
|         public Boolean[] Buttons = new bool[64];    //버튼정보를 기록한다 | ||||
|         Boolean bListUpdate = false; | ||||
|  | ||||
|         public JoystickRaw() | ||||
|         { | ||||
|             vid = -1; | ||||
|             pid = -1; | ||||
|             this.InputLength = 0; | ||||
|             this.OutputLength = 0; | ||||
|             this.FeatureLength = 0; | ||||
|             this.IsOpen = false; | ||||
|             this._dev = null; | ||||
|             this._hidStream = null; | ||||
|             DeviceList.Local.Changed += Local_Changed; | ||||
|             Job = new Task(JobMain, ct); | ||||
|             Job.Start(); | ||||
|             for (int i = 0; i < Buttons.Length; i++) | ||||
|                 Buttons[i] = false; | ||||
|  | ||||
|         } | ||||
|         CancellationToken  ct ; | ||||
|         public IEnumerable<HidDevice> GetHidDevices() | ||||
|         { | ||||
|             return DeviceList.Local.GetHidDevices(); | ||||
|         } | ||||
|         public void Connect(int vid, int pid) | ||||
|         { | ||||
|             this.vid = vid; | ||||
|             this.pid = pid; | ||||
|         } | ||||
|         public void Connect(HidDevice device) | ||||
|         { | ||||
|             this.vid = device.VendorID; | ||||
|             this.pid = device.ProductID; | ||||
|         } | ||||
|  | ||||
|         Task Job = null; | ||||
|         private bool disposed = false; | ||||
|         DateTime LastConnTime = DateTime.Now; | ||||
|         void JobMain() | ||||
|         { | ||||
|             //개체가 소멸하기전까지 진행한다 | ||||
|             while (this.disposed == false) | ||||
|             { | ||||
|                 if (IsOpen == false) | ||||
|                 { | ||||
|                     if (this.vid == -1 || this.pid == -1) | ||||
|                     { | ||||
|                         //아직설정되지 않았으니 대기를한다 | ||||
|                         System.Threading.Thread.Sleep(3000); | ||||
|                     } | ||||
|                     else | ||||
|                     { | ||||
|                         //연결작업을 시작해야한다 | ||||
|                         if (bListUpdate || (DateTime.Now - LastConnTime).TotalMilliseconds >= 3000) | ||||
|                         { | ||||
|                             LastConnTime = DateTime.Now; | ||||
|  | ||||
|                             //연결작업 | ||||
|                             var list = this.GetHidDevices(); | ||||
|                             this._dev = list.Where(t => t.VendorID == this.vid && t.ProductID == this.pid).FirstOrDefault(); | ||||
|                             if (_dev != null) | ||||
|                             { | ||||
|                                 try | ||||
|                                 { | ||||
|                                     IsOpen = _dev.TryOpen(out _hidStream); | ||||
|                                     if (IsOpen) | ||||
|                                     { | ||||
|                                         this.InputLength = _dev.GetMaxInputReportLength(); | ||||
|                                         this.OutputLength = _dev.GetMaxOutputReportLength(); | ||||
|                                         this.FeatureLength = _dev.GetMaxFeatureReportLength(); | ||||
|                                         this._hidStream.ReadTimeout = Timeout.Infinite; | ||||
|  | ||||
|                                         Connected?.Invoke(this, null); | ||||
|                                         var rawReportDescriptor = _dev.GetRawReportDescriptor(); | ||||
|                                         var msg = ("Report Descriptor:"); | ||||
|                                         msg += string.Format("  {0} ({1} bytes)", string.Join(" ", rawReportDescriptor.Select(d => d.ToString("X2"))), rawReportDescriptor.Length); | ||||
|                                         Message?.Invoke(msg); | ||||
|                                     } | ||||
|                                     else | ||||
|                                     { | ||||
|                                         if (this._hidStream != null) this._hidStream.Dispose(); | ||||
|                                     } | ||||
|                                 } | ||||
|                                 catch { System.Threading.Thread.Sleep(1500); } | ||||
|                             } | ||||
|                             else System.Threading.Thread.Sleep(1500); | ||||
|                         } | ||||
|                         else System.Threading.Thread.Sleep(1500); | ||||
|                     } | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|                     //데이터를 가지고 온다 | ||||
|                     using (_hidStream) | ||||
|                     { | ||||
|                         try | ||||
|                         { | ||||
|                             reportDescriptor = _dev.GetReportDescriptor(); | ||||
|                             deviceItem = reportDescriptor.DeviceItems[0]; | ||||
|                             var inputReportBuffer = new byte[_dev.GetMaxInputReportLength()]; | ||||
|                             var inputReceiver = reportDescriptor.CreateHidDeviceInputReceiver(); | ||||
|                             var inputParser = deviceItem.CreateDeviceItemInputParser(); | ||||
|  | ||||
|                             inputReceiver.Start(_hidStream); | ||||
|  | ||||
|                             while (true) | ||||
|                             { | ||||
|                                 if (!inputReceiver.IsRunning) { break; } // Disconnected? | ||||
|  | ||||
|                                 Report report; // | ||||
|                                 while (inputReceiver.TryRead(inputReportBuffer, 0, out report)) | ||||
|                                 { | ||||
|                                     if (inputParser.TryParseReport(inputReportBuffer, 0, report)) | ||||
|                                     { | ||||
|                                         WriteDeviceItemInputParserResult(inputParser); | ||||
|                                     } | ||||
|                                 } | ||||
|                                 System.Threading.Thread.Sleep(20); | ||||
|                             } | ||||
|  | ||||
|                             inputReceiver = null; | ||||
|                             IsOpen = false; | ||||
|                         } | ||||
|                         catch (Exception ex) | ||||
|                         { | ||||
|  | ||||
|                             Message?.Invoke(ex.Message); | ||||
|  | ||||
|                         } | ||||
|                         finally | ||||
|                         { | ||||
|                             Disconnected?.Invoke(this, null); | ||||
|                             IsOpen = false; | ||||
|                         } | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         void WriteDeviceItemInputParserResult(HidSharp.Reports.Input.DeviceItemInputParser parser) | ||||
|         { | ||||
|             while (parser.HasChanged) | ||||
|             { | ||||
|                 int changedIndex = parser.GetNextChangedIndex(); | ||||
|                 var previousDataValue = parser.GetPreviousValue(changedIndex); | ||||
|                 var dataValue = parser.GetValue(changedIndex); | ||||
|  | ||||
|                 var oVal = previousDataValue.GetPhysicalValue(); | ||||
|                 var nVal = dataValue.GetPhysicalValue(); | ||||
|  | ||||
|                 if (double.IsNaN(oVal)) oVal = 0.0; | ||||
|                 if (double.IsNaN(nVal)) nVal = 0.0; | ||||
|  | ||||
|                 var InputMethod = (Usage)dataValue.Usages.FirstOrDefault(); | ||||
|                 if (InputMethod.ToString().StartsWith("Button")) | ||||
|                 { | ||||
|                     var butNo = int.Parse(InputMethod.ToString().Substring(6)); | ||||
|                     this.Buttons[butNo - 1] = nVal > 0; //버튼값은 기록 210107 | ||||
|                 } | ||||
|  | ||||
|                 //이벤트발생 | ||||
|                 InputChanged?.Invoke(this, new InputChangedEventHandler( | ||||
|                     InputMethod, oVal, nVal)); | ||||
|  | ||||
|                 //메세지도 발생함 | ||||
|                 //var msg = (string.Format("  {0}: {1} -> {2}", | ||||
|                 //                  (Usage)dataValue.Usages.FirstOrDefault(), | ||||
|                 //                  previousDataValue.GetPhysicalValue(), | ||||
|                 //                  dataValue.GetPhysicalValue())); | ||||
|                 //Message?.Invoke(msg); | ||||
|  | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         public event EventHandler<InputChangedEventHandler> InputChanged; | ||||
|  | ||||
|         public class InputChangedEventHandler : EventArgs | ||||
|         { | ||||
|             public Usage input { get; set; } | ||||
|             public double oldValue { get; set; } | ||||
|             public double newValue { get; set; } | ||||
|             public InputChangedEventHandler(Usage input_, double oValue_, double nValue_) | ||||
|             { | ||||
|                 this.input = input_; | ||||
|                 this.oldValue = oValue_; | ||||
|                 this.newValue = nValue_; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         ReportDescriptor reportDescriptor; | ||||
|         DeviceItem deviceItem; | ||||
|         ~JoystickRaw() | ||||
|         { | ||||
|  | ||||
|             Dispose(false); | ||||
|         } | ||||
|  | ||||
|         public void Dispose() | ||||
|         { | ||||
|             Dispose(true); | ||||
|             // This object will be cleaned up by the Dispose method. | ||||
|             // Therefore, you should call GC.SupressFinalize to | ||||
|             // take this object off the finalization queue | ||||
|             // and prevent finalization code for this object | ||||
|             // from executing a second time. | ||||
|             GC.SuppressFinalize(this); | ||||
|         } | ||||
|         protected virtual void Dispose(bool disposing) | ||||
|         { | ||||
|             // Check to see if Dispose has already been called. | ||||
|             if (!this.disposed) | ||||
|             { | ||||
|                 // If disposing equals true, dispose all managed | ||||
|                 // and unmanaged resources. | ||||
|  | ||||
|                 if (disposing) | ||||
|                 { | ||||
|                     // Dispose managed resources. | ||||
|                     this._dev = null; | ||||
|                 } | ||||
|  | ||||
|  | ||||
|                 Job.Wait(); | ||||
|                 Job.Dispose(); | ||||
|  | ||||
|                 // Call the appropriate methods to clean up | ||||
|                 // unmanaged resources here. | ||||
|                 // If disposing is false, | ||||
|                 // only the following code is executed. | ||||
|                 //CloseHandle(handle); | ||||
|                 //handle = IntPtr.Zero; | ||||
|  | ||||
|                 // Note disposing has been done. | ||||
|                 DeviceList.Local.Changed -= Local_Changed; | ||||
|                 disposed = true; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private void Local_Changed(object sender, DeviceListChangedEventArgs e) | ||||
|         { | ||||
|             Changed?.Invoke(sender, e); | ||||
|             bListUpdate = true; | ||||
|         } | ||||
|  | ||||
|     } | ||||
| } | ||||
							
								
								
									
										87
									
								
								Handler/Project_form2/Class/KeyenceBarcodeData.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										87
									
								
								Handler/Project_form2/Class/KeyenceBarcodeData.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,87 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using System.Drawing; | ||||
|  | ||||
| namespace Project.Class | ||||
| { | ||||
|     public class KeyenceBarcodeData | ||||
|     { | ||||
|         public double Angle { get; set; } | ||||
|         public StdLabelPrint.CAmkorSTDBarcode AmkorData { get; set; } | ||||
|         public Point[] vertex { get; set; } | ||||
|         public string Data { get; set; } | ||||
|         public Point CenterPX { get; set; } | ||||
|         public string sym { get; set; } | ||||
|         public Boolean UserActive { get; set; } | ||||
|         public Boolean isSTDBarcode | ||||
|         { | ||||
|             get | ||||
|             { | ||||
|                 if (AmkorData != null && sym == "1" && AmkorData.isValid) return true; | ||||
|                 return false; | ||||
|             } | ||||
|         } | ||||
|         public Boolean isNewLen15 | ||||
|         { | ||||
|             get | ||||
|             { | ||||
|                 if (AmkorData != null && sym == "1" && AmkorData.isValid && AmkorData.NewLen15Barcode) return true; | ||||
|                 return false; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         /// <summary> | ||||
|         /// 라벨의 위치를 표시한다. 8방향이며 키패드 유사하게 설정한다 789/4-6/123 | ||||
|         /// </summary> | ||||
|         public byte LabelPosition { get; set; } | ||||
|         public KeyenceBarcodeData() | ||||
|         { | ||||
|             LabelPosition = 0; | ||||
|             Angle = 0.0; | ||||
|             Data = string.Empty; | ||||
|             CenterPX = Point.Empty; | ||||
|             AmkorData = null; | ||||
|             vertex = null; | ||||
|             sym = string.Empty; | ||||
|             UserActive = false; | ||||
|         } | ||||
|  | ||||
|         public override string ToString() | ||||
|         { | ||||
|             return string.Format("{0},Deg={1},Center={2}x{3}", Data, Angle, CenterPX.X, CenterPX.Y); | ||||
|         } | ||||
|  | ||||
|         /// <summary> | ||||
|         /// 해당 중심점이 겹치는지 확인합니다. | ||||
|         /// </summary> | ||||
|         /// <param name="Center"></param> | ||||
|         /// <returns></returns> | ||||
|         public Boolean CheckIntersect(Point Center, string data) | ||||
|         { | ||||
|             if (data.Equals(this.Data) == false) return false; //자료가 다르면 다른 자료로 처리한다 | ||||
|             return getInside(Center, vertex); | ||||
|         } | ||||
|  | ||||
|         bool getInside(Point pt, Point[] ptArr) | ||||
|         { | ||||
|             int crosses = 0; | ||||
|             for (int i = 0; i < ptArr.Length; i++) | ||||
|             { | ||||
|                 int j = (i + 1) % ptArr.Length; | ||||
|                 if ((ptArr[i].Y > pt.Y) != (ptArr[j].Y > pt.Y)) | ||||
|                 { | ||||
|                     //atX는 점 B를 지나는 수평선과 선분 (p[i], p[j])의 교점 | ||||
|                     double atX = (ptArr[j].X - ptArr[i].X) * (pt.Y - ptArr[i].Y) / (ptArr[j].Y - ptArr[i].Y) + ptArr[i].X; | ||||
|                     //atX가 오른쪽 반직선과의 교점이 맞으면 교점의 개수를 증가시킨다. | ||||
|                     if (pt.X < atX) | ||||
|                         crosses++; | ||||
|                 } | ||||
|             } | ||||
|             return crosses % 2 > 0; | ||||
|         } | ||||
|  | ||||
|     } | ||||
| } | ||||
							
								
								
									
										128
									
								
								Handler/Project_form2/Class/ModelInfoM.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										128
									
								
								Handler/Project_form2/Class/ModelInfoM.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,128 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Drawing; | ||||
| using System.ComponentModel; | ||||
|  | ||||
| namespace Project | ||||
| { | ||||
|  | ||||
|     public class ModelInfoM | ||||
|     { | ||||
|         //스피드 값과, 위치값을 저장하면 된다. | ||||
|         public int idx { get; set; } | ||||
|         public string Title { get; set; } | ||||
|  | ||||
|         public Dictionary<int, PositionData[]> Position { get; set; } | ||||
|     | ||||
|  | ||||
|         public ModelInfoM() | ||||
|         { | ||||
|             idx = -1; | ||||
|             Title = string.Empty; | ||||
|             ClearDataPosition(); | ||||
|         } | ||||
|         void ClearDataPosition() | ||||
|         { | ||||
|             Position = new Dictionary<int, PositionData[]>(); | ||||
|             var motCount = Enum.GetNames(typeof(eAxis)).Length; | ||||
|             for (int i = 0; i < motCount; i++) | ||||
|             { | ||||
|                 var datas = new PositionData[64]; | ||||
|                 for (int j = 0; j < datas.Length; j++) | ||||
|                     datas[j] = new PositionData(-1, string.Empty, 0.0); | ||||
|  | ||||
|                 Position.Add(i, datas); | ||||
|             } | ||||
|         } | ||||
|       | ||||
|         public Boolean isSet | ||||
|         { | ||||
|             get | ||||
|             { | ||||
|                 if (idx == -1) return false; | ||||
|                 else return !Title.isEmpty(); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         public void ReadValue(DataSet1.MCModelRow dr) | ||||
|         { | ||||
|             idx = dr.idx; | ||||
|             Title = dr.Title; | ||||
|             ReadValuePosition(idx); | ||||
|         } | ||||
|  | ||||
|         public void ReadValue(int index) | ||||
|         { | ||||
|             var dr = Pub.mdm.dataSet.MCModel.Where(t => t.idx == index).FirstOrDefault(); | ||||
|             if (dr == null) | ||||
|             { | ||||
|                 idx = -1; | ||||
|                 Title = string.Empty; | ||||
|                 ClearDataPosition(); | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 idx = dr.idx; | ||||
|                 Title = dr.Title; | ||||
|                 ReadValuePosition(idx); | ||||
|             } | ||||
|         } | ||||
|         public void ReadValue(string title) | ||||
|         { | ||||
|             ReadValue(title, Pub.mdm.dataSet.MCModel); | ||||
|         } | ||||
|         public void ReadValue(string title, DataSet1.MCModelDataTable dt) | ||||
|         { | ||||
|             var dr = dt.Where(t => t.Title == title).FirstOrDefault(); | ||||
|             if (dr == null) | ||||
|             { | ||||
|                 idx = -1; | ||||
|                 this.Title= string.Empty; | ||||
|                 ClearDataPosition(); | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 idx = dr.idx; | ||||
|                 this.Title = dr.Title; | ||||
|                 ReadValuePosition(idx); | ||||
|             } | ||||
|         } | ||||
|         public void ReadValuePosition(int modelidx) | ||||
|         { | ||||
|             ReadValuePosition(modelidx, Pub.mdm.dataSet.MCModel); | ||||
|         } | ||||
|         public void ReadValuePosition(int modelidx, DataSet1.MCModelDataTable dt) | ||||
|         { | ||||
|             ClearDataPosition(); | ||||
|  | ||||
|             //각 모터별로 데이터를 가져온다 | ||||
|             int cnt = 0; | ||||
|             foreach (var data in Position) | ||||
|             { | ||||
|                 //해당 모터의 속도값을 가져온다 | ||||
|                 var drows = dt.Where(t => t.pidx == modelidx && t.PosIndex >= 0 && t.MotIndex == data.Key); | ||||
|                 foreach (DataSet1.MCModelRow dr in drows) | ||||
|                 { | ||||
|                     var item = data.Value[dr.PosIndex]; | ||||
|                     item.index = dr.PosIndex; | ||||
|                     item.title = dr.PosTitle; | ||||
|                     item.value = dr.Position; | ||||
|                     item.speed = dr.Speed; | ||||
|                     item.acc = dr.SpeedAcc; | ||||
|                     item.dcc = dr.SpeedDcc; | ||||
|                     data.Value[dr.PosIndex] = item; | ||||
|                     cnt += 1; | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|             Pub.log.Add(String.Format("model {0} 의 위치 데이터 {1}건을 불러왔습니다", modelidx, cnt)); | ||||
|         } | ||||
|          | ||||
|     } | ||||
|  | ||||
|  | ||||
|     | ||||
|  | ||||
| } | ||||
							
								
								
									
										257
									
								
								Handler/Project_form2/Class/ModelInfoV.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										257
									
								
								Handler/Project_form2/Class/ModelInfoV.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,257 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Drawing; | ||||
| using System.ComponentModel; | ||||
|  | ||||
| namespace Project | ||||
| { | ||||
|     | ||||
|     public class ModelInfoV | ||||
|     { | ||||
|         [Browsable(false)] | ||||
|         public string SPN { get; set; } | ||||
|         //[Browsable(false)] | ||||
|         //public Boolean SplitSPN { get; set; } | ||||
|         [Browsable(false)] | ||||
|         public string Title { get; set; } | ||||
|         [Browsable(false)] | ||||
|         public int idx { get; set; } | ||||
|  | ||||
|         [Browsable(false)] | ||||
|         public Rectangle Roi_UnitArea { get; set; } | ||||
|         [Browsable(false)] | ||||
|         public Rectangle Roi_Orient { get; set; } | ||||
|         [Browsable(false)] | ||||
|         public Rectangle Roi_TrayDetect { get; set; } | ||||
|         [Browsable(false)] | ||||
|         public Rectangle Roi_DMDetect { get; set; } | ||||
|         [Browsable(false)] | ||||
|         public Rectangle Roi_DataMatrix { get; set; } | ||||
|          | ||||
|         [Browsable(false)] | ||||
|         public Point UnitCount { get; set; } | ||||
|         [Browsable(false)] | ||||
|         public Point RoiCount { get; set; } | ||||
|         [Browsable(false)] | ||||
|         public int ColCount { get { return UnitCount.X; } } | ||||
|         [Browsable(false)] | ||||
|         public int RowCount { get { return UnitCount.Y; } } | ||||
|         [Browsable(false)] | ||||
|         public int TotalUnitCount { get { return UnitCount.X * UnitCount.Y; } } | ||||
|  | ||||
|         [Browsable(false)] | ||||
|         public Point VisionCount { get; set; } | ||||
|         [Browsable(false)] | ||||
|         public int VisionColCount { get { return VisionCount.X; } } | ||||
|         [Browsable(false)] | ||||
|         public int VisionRowCount { get { return VisionCount.Y; } } | ||||
|         [Browsable(false)] | ||||
|         public int TotalVisionCount { get { return VisionCount.X * VisionCount.Y; } } | ||||
|  | ||||
|         [Browsable(false)] | ||||
|         public UInt16 airBlowRuntime { get; set; } | ||||
|  | ||||
|  | ||||
|         [Browsable(false)] | ||||
|         public UInt16 LimitCount { get; set; } | ||||
|  | ||||
|         [Browsable(false)] | ||||
|         public float DotFontSize { get; set; } | ||||
|  | ||||
|  | ||||
|         //여기는 사용하지 않는 코드(일단 몰라서 나둠) | ||||
|  | ||||
|         [Browsable(false), Description("범위 : 0.0~1.0")] | ||||
|         public double OrientScore { get; set; } | ||||
|  | ||||
|         [Browsable(false)] | ||||
|         public Size OrientROSSize { get; set; } | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|         [Category("ROI Offset(Front)"), DisplayName("모션이동(Column)"), Description("비젼축(X)이 이동하는 경우 적용할 옵셋값 입니다. 트레이기준 '열'의 위치가 변경되면 이 옵셋이 적용 됩니다")] | ||||
|         public RoiOffset ROIOffsetColF { get; set; } | ||||
|         [Category("ROI Offset(Front)"), DisplayName("모션이동(Row)"), Description("셔틀축(Y)이 이동하는 경우 적용할 옵셋값 입니다. 트레이기준 '줄'의 위치가 변경되면 이 옵셋이 적용 됩니다.")] | ||||
|         public RoiOffset ROIOffsetRowF { get; set; } | ||||
|         [Category("ROI Offset(Front)"), DisplayName("기본옵셋"), Description("입력된 ROI기준으로 추가로 적용할 옵셋값 입니다")] | ||||
|         public RoiOffset ROIOffsetFront { get; set; } | ||||
|         [Category("ROI Offset(Front)"), DisplayName("개별간격"), Description("자동으로 생성되는 ROI(=Dummy ROI)에 적용하는 옵셋 값입니다. Theta 의 오류가 있는 경우 이 값을 통해서 ROI를 회전하는 효과를 얻을 수 있습니다")] | ||||
|         public RoiOffset ROIOffsetUnitTermFront { get; set; } | ||||
|  | ||||
|  | ||||
|         [Category("ROI Offset(Rear)"), DisplayName("모션이동(Column)"), Description("비젼축(X)이 이동하는 경우 적용할 옵셋값 입니다. 트레이기준 '열'의 위치가 변경되면 이 옵셋이 적용 됩니다")] | ||||
|         public RoiOffset ROIOffsetColR { get; set; } | ||||
|         [Category("ROI Offset(Rear)"), DisplayName("모션이동(Row)"), Description("셔틀축(Y)이 이동하는 경우 적용할 옵셋값 입니다. 트레이기준 '줄'의 위치가 변경되면 이 옵셋이 적용 됩니다.")] | ||||
|         public RoiOffset ROIOffsetRowR { get; set; } | ||||
|         [Category("ROI Offset(Rear)"), DisplayName("기본옵셋"), Description("입력된 ROI기준으로 추가로 적용할 옵셋값 입니다")] | ||||
|         public RoiOffset ROIOffsetRear { get; set; } | ||||
|         [Category("ROI Offset(Rear)"), DisplayName("개별간격"), Description("자동으로 생성되는 ROI(=Dummy ROI)에 적용하는 옵셋 값입니다. Theta 의 오류가 있는 경우 이 값을 통해서 ROI를 회전하는 효과를 얻을 수 있습니다")] | ||||
|         public RoiOffset ROIOffsetUnitTermRear { get; set; } | ||||
|  | ||||
|         [Category("Common"), DisplayName("검사영역 간격"),Description("자동으로 생성되는 ROI(=Dummy ROI)의 간격입니다. 각 유닛의 Pitch 값이며, 화면을 보고 해당 간격을 맞추시기 바랍니다.")] | ||||
|         public Point UnitTerm { get; set; } | ||||
|          | ||||
|         [Category("Common"), DisplayName("조명 밝기"), Description("조명의 밝기 입니다. 라이브영상으로 전환 후 화면 하단의 Light 영역내에서 그 값을 변경하며 확인할 수 있습니다. (입력범위 : 0~255)")] | ||||
|         public UInt16 LightValue { get; set; } | ||||
|  | ||||
|  | ||||
|         [Browsable(false), Category("Common"), Description("비젼 판독을 위한 설정 값")] | ||||
|         public CVisionProcess VisionParameter { get; set; } | ||||
|  | ||||
|  | ||||
|         public ModelInfoV() | ||||
|         { | ||||
|             VisionParameter = new CVisionProcess(); | ||||
|         } | ||||
|  | ||||
|         public void ReadValue(DataSet1.ModelRow dr) | ||||
|         { | ||||
|             this.Title = dr.Title; | ||||
|             this.idx = dr.idx; | ||||
|         } | ||||
|         public bool WriteValue() | ||||
|         { | ||||
|             var model = Pub.mdm.GetDataV(this.Title); | ||||
|             return WriteValue(ref model); | ||||
|         } | ||||
|         public bool WriteValue(ref DataSet1.ModelRow dr) | ||||
|         { | ||||
|             try | ||||
|             { | ||||
|                 dr.Title = this.Title; | ||||
|                 dr.EndEdit(); | ||||
|                 Pub.mdm.SaveModelV(); | ||||
|                 return true; | ||||
|             } | ||||
|             catch (Exception ex) | ||||
|             { | ||||
|                 Pub.log.AddE("write model error" + ex.Message); | ||||
|                 return false; | ||||
|             } | ||||
|  | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     [TypeConverterAttribute(typeof(ExpandableObjectConverter))] | ||||
|     public class RoiOffset | ||||
|     { | ||||
|         [DisplayName("Horizon"), Description("수직(Y축) 변화 값(+는 아래쪽,-는 위쪽)")]         | ||||
|         public double Y { get; set; } | ||||
|         [DisplayName("Vertical"), Description("수평(X축) 변화 값(+는 오른쪽,-는 왼쪽)")] | ||||
|         public double X { get; set; } | ||||
|         [Browsable(false)] | ||||
|         public bool IsEmpty { get { if (Y == 0 && X == 0) return true; else return false; } } | ||||
|  | ||||
|         public RoiOffset(double start = 0.0, double end = 0.0) | ||||
|         { | ||||
|             this.Y = start; | ||||
|             this.X = end; | ||||
|         } | ||||
|         public override string ToString() | ||||
|         { | ||||
|             return string.Format("{0},{1}", Y, X); | ||||
|         } | ||||
|         public string toPointStr() | ||||
|         { | ||||
|             return string.Format("{0};{1}", Y, X); | ||||
|         } | ||||
|     } | ||||
|  | ||||
|  | ||||
|     [TypeConverterAttribute(typeof(ExpandableObjectConverter))] | ||||
|     public class Range | ||||
|     { | ||||
|         [DisplayName("시작값")] | ||||
|         public uint Start { get; set; } | ||||
|         [DisplayName("종료값")] | ||||
|         public uint End { get; set; } | ||||
|         [Browsable(false)] | ||||
|         public bool IsEmpty { get { if (Start == 0 && End == 0) return true; else return false; } } | ||||
|  | ||||
|         public Range(UInt16 start, UInt16 end) : this((uint)start, (uint)end) { } | ||||
|         public Range(uint start = 0, uint end = 0) | ||||
|         { | ||||
|             this.Start = start; | ||||
|             this.End = end; | ||||
|         } | ||||
|         public static implicit operator RangeF(Range p) | ||||
|         { | ||||
|             return new RangeF((float)p.Start, (float)p.End); | ||||
|         } | ||||
|         public override string ToString() | ||||
|         { | ||||
|             return string.Format("{0}~{1}", Start, End); | ||||
|         } | ||||
|     } | ||||
|     [TypeConverterAttribute(typeof(ExpandableObjectConverter))] | ||||
|     public class RangeF | ||||
|     { | ||||
|         [DisplayName("시작값")] | ||||
|         public float Start { get; set; } | ||||
|         [DisplayName("종료값")] | ||||
|         public float End { get; set; } | ||||
|         [Browsable(false)] | ||||
|         public bool IsEmpty { get { if (Start == 0f && End == 0f) return true; else return false; } } | ||||
|         public RangeF(float start = 0f, float end = 0f) | ||||
|         { | ||||
|             this.Start = start; | ||||
|             this.End = end; | ||||
|         } | ||||
|         public static implicit operator Range(RangeF p) | ||||
|         { | ||||
|             return new Range((uint)p.Start, (uint)p.End); | ||||
|         } | ||||
|         public override string ToString() | ||||
|         { | ||||
|             return string.Format("{0}~{1}", Start, End); | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     [TypeConverterAttribute(typeof(ExpandableObjectConverter))] | ||||
|     public class CVisionProcess | ||||
|     { | ||||
|  | ||||
|         [Category("특수설정(개발자용)"), Description("미사용(DOT 인식시에 사용했음)")] | ||||
|         public UInt16 halfKernel { get; set; } | ||||
|         [Category("특수설정(개발자용)"), Description("미사용(DOT 인식시에 사용했음)")] | ||||
|         public UInt16 Constant { get; set; } | ||||
|         [Category("특수설정(개발자용)"), DisplayName("MP_Dilate"),Description("미사용(DOT 인식시에 사용했음)")] | ||||
|         public UInt16 dilate { get; set; } | ||||
|         [Category("특수설정(개발자용)"), DisplayName("MP_Erode"), Description("미사용(DOT 인식시에 사용했음)")] | ||||
|         public UInt16 erode { get; set; } | ||||
|         [Category("특수설정(개발자용)"), DisplayName("MP_Open"), Description("미사용(DOT 인식시에 사용했음)")] | ||||
|         public UInt16 open { get; set; } | ||||
|         [Category("특수설정(개발자용)"), DisplayName("MP_Open"), Description("미사용(DOT 인식시에 사용했음)")] | ||||
|         public UInt32 segment_threshold { get; set; } | ||||
|         [Category("특수설정(개발자용)"), DisplayName("MP_Open"), Description("미사용(DOT 인식시에 사용했음)")] | ||||
|         public Boolean isBlack { get; set; } | ||||
|         [Category("특수설정(개발자용)"), DisplayName("MP_Open"), Description("미사용(DOT 인식시에 사용했음)")] | ||||
|         public UInt32 judg_runcount { get; set; } | ||||
|  | ||||
|  | ||||
|         [Category("유닛 감지"),DisplayName("밝기 기준값"), Description("입력된 값 이상의 데이터를 취합니다. 이 값이 낮을 수록 검출값이 높아지게 됩니다. 이 기준값으로 검출된 값으로 판정을 합니다. 유닛은 밝은 데이터를 보고 판정 하므로 이 기준값 이상의 데이터가 검출이 됩니다")] | ||||
|         public byte detect_threhosld { get; set; } | ||||
|         [Category("유닛 감지"),DisplayName("판정 기준값"), Description("판정을 하는 기준 값입니다. 밝기기준값으로 인해 검출된 값이 5000이라면. 이 판정 기준에 입력된 값이 5000보다 크면 유닛이 존재하는 것으로 판정하며, 그 보다 낮을 때에는 유닛이 없는 'Empty' 유닛으로 감지 됩니다")] | ||||
|         public UInt16 detect_count { get; set; } | ||||
|         [Category("유닛 감지"), DisplayName("*예외영역 판정기준"), Description("빈 유닛(=Empty) 일때 셔틀 프레임의 빛 반사가 심할 경우 해당 반사값에 의해 유닛이 감지됩니다. 그러한 데이터를 제거하기위해 이 값이 사용되며, 유닛검출에 사용하는 흰색영역의 값외에 추가로 검은색 덩어리를 검사합니다. 설정한 값사이의 검은색 덩어리가 검출되면 'Empty' 유닛으로 감지 됩니다")] | ||||
|         public Point detect_blobrange { get; set; } | ||||
|  | ||||
|         [Category("2D 감지"), DisplayName("밝기 기준값"), Description("입력된 값 이하의 데이터를 취합니다. 이 값이 낮을 수록 검출값도 낮아지게 됩니다. 이 기준값으로 검출된 값으로 판정을 합니다. 2D는 어두운 데이터를 보고 판정 하므로 이 기준값 이하의 데이터가 검출이 됩니다")] | ||||
|         public byte detectDM_threhosld { get; set; } | ||||
|         [Category("2D 감지"), DisplayName("판정 기준값"), Description("판정을 하는 기준 값입니다. 밝기기준값으로 인해 검출된 값이 5000이라면. 이 판정 기준에 입력된 값이 5000보다 크면 ID가 존재하는 것으로 판정하며, 그 보다 낮을 때에는 ID가 없는 'New' 유닛으로 감지 됩니다")] | ||||
|         public UInt16 detectDM_count { get; set; } | ||||
|  | ||||
|         public CVisionProcess() | ||||
|         { | ||||
|  | ||||
|         } | ||||
|         public override string ToString() | ||||
|         { | ||||
|             return "비젼 설정 값"; | ||||
|         } | ||||
|     } | ||||
|  | ||||
| } | ||||
							
								
								
									
										34
									
								
								Handler/Project_form2/Class/PositionData.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								Handler/Project_form2/Class/PositionData.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,34 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
|  | ||||
| namespace Project | ||||
| { | ||||
|     public class PositionData | ||||
|     { | ||||
|         public int index { get; set; } | ||||
|         public string title { get; set; } | ||||
|         public double value { get; set; } | ||||
|         public double speed { get; set; } | ||||
|         public double acc { get; set; } | ||||
|         public double dcc { get; set; } | ||||
|         public PositionData() | ||||
|         { | ||||
|             index = -1; | ||||
|             title = string.Empty; | ||||
|             value = 0.0; | ||||
|             this.speed = 0.0; | ||||
|             this.acc = 100.0; | ||||
|             this.dcc = 0.0; | ||||
|         } | ||||
|         public PositionData(int idx_, string title_, double value_) | ||||
|         { | ||||
|             this.index = idx_; | ||||
|             this.title = title_; | ||||
|             this.value = value_; | ||||
|         } | ||||
|     } | ||||
|      | ||||
| } | ||||
							
								
								
									
										536
									
								
								Handler/Project_form2/Class/VisionData.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										536
									
								
								Handler/Project_form2/Class/VisionData.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,536 @@ | ||||
| using Emgu.CV.Structure; | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using System.Drawing; | ||||
|  | ||||
| namespace Project.Class | ||||
| { | ||||
|  | ||||
|     public class VisionData | ||||
|     { | ||||
|         public int RetryLoader { get; set; } | ||||
|         public List<string> bcdMessage { get; set; } | ||||
|         public Boolean LightOn { get; set; } | ||||
|         public DateTime STime;      //비젼시작시간 | ||||
|         public DateTime ETime;      //비젼종료시간 | ||||
|         public TimeSpan RunTime { get { return ETime - STime; } }   //비젼동작시간 | ||||
|         public DateTime GTime;      //이미지수집시간 | ||||
|         public string FileNameL;    //로딩존 촬영 | ||||
|         public string FileNameU;    //언로딩존 촬영 | ||||
|         public Boolean Complete; | ||||
|  | ||||
|         //public Boolean AngleQR { get; set; } | ||||
|         //public Boolean AngleSTD { get; set; } | ||||
|         //public double Angle { get; set; } | ||||
|  | ||||
|         //public Boolean IsAngleSet | ||||
|         //{ | ||||
|         //    get | ||||
|         //    { | ||||
|         //        if (AngleQR == false && AngleSTD == false && Angle == 0.0) return true; | ||||
|         //        else return false; | ||||
|         //    } | ||||
|         //} | ||||
|         public double ApplyAngle { get; set; }     //적용된 회전 각도 | ||||
|         public Boolean NeedCylinderForward { get; set; } //부착시 실린더를 올려야하는가 | ||||
|         public Boolean ApplyOffset { get; set; } | ||||
|         public Boolean BaseAngle(out string msg, out KeyenceBarcodeData bcd) | ||||
|         { | ||||
|  | ||||
|             msg = string.Empty; | ||||
|             bcd = null; | ||||
|  | ||||
|             //데이터없다면 회전하지 못한다. | ||||
|             if (this.barcodelist == null || this.barcodelist.Count < 1) | ||||
|             { | ||||
|                 msg = "No barcode data"; | ||||
|                 return false; | ||||
|             } | ||||
|  | ||||
|             //사용자가 확정한 코드를 우선으로 한다 | ||||
|             bcd = barcodelist.Where(t => t.UserActive).FirstOrDefault(); | ||||
|             if (bcd != null) | ||||
|             { | ||||
|                 //angle = bcd.Angle; | ||||
|                 msg = "User Active"; | ||||
|                 return true; | ||||
|             } | ||||
|  | ||||
|             //표준바코드를 최우선 으로 사용 | ||||
|             //15자리 기존 바코드는 angle 로 사용하지 않는다. | ||||
|             bcd = barcodelist.Where(t => t.isSTDBarcode && t.isNewLen15 == false).FirstOrDefault(); | ||||
|             if (bcd != null) | ||||
|             { | ||||
|                 //angle = bcd.Angle; | ||||
|                 msg = "STD Barcode"; | ||||
|                 return true; | ||||
|             } | ||||
|  | ||||
|             //QR코드를 우선으로 사용 - return 릴은 적용하지 안게한다. | ||||
|             //RQ코드가 적용되지 않게한다  210824 | ||||
|             bcd = barcodelist.Where(t => t.sym == "1" && t.isNewLen15 == false && t.Data.EndsWith(";;;") == false && t.Data.StartsWith("RQ")==false).FirstOrDefault(); | ||||
|             if (bcd != null) | ||||
|             { | ||||
|                 //angle = bcd.Angle; | ||||
|                 msg = "QR Code"; | ||||
|                 return true; | ||||
|             } | ||||
|  | ||||
|             //첫번쨰 아이템을 우선으로 사용 | ||||
|             if (barcodelist.Count == 1) | ||||
|             { | ||||
|                 bcd = barcodelist[0]; | ||||
|                 msg = "First Barcode = " + bcd.Data; | ||||
|                 return true; | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 //여러개가 있음 | ||||
|                 bcd = barcodelist.Where(t => t.sym == "0").FirstOrDefault(); | ||||
|                 if (bcd != null) | ||||
|                 { | ||||
|                     msg = "1D Data"; | ||||
|                     return true; | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|                     bcd = barcodelist[0]; | ||||
|                     msg = "first"; | ||||
|                     return true; | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|  | ||||
|             // angle = bcd.Angle; | ||||
|             //return true; | ||||
|         }   //모션회전각도 | ||||
|         public Boolean Ready { get; set; } | ||||
|         public Boolean ServerUpdate { get; set; } | ||||
|  | ||||
|         public Boolean Confirm { get { return ConfirmAuto || ConfirmUser; } } | ||||
|         public Boolean ConfirmUser { get; set; } | ||||
|         public Boolean ConfirmAuto { get; set; } | ||||
|  | ||||
|         public Boolean ValidSkipbyUser { get; set; } | ||||
|  | ||||
|         public string QTY0 { get; set; }        //원본수량 | ||||
|         public string QTY { get; set; }       //바코드수량(=서버수량) | ||||
|  | ||||
|         /// <summary> | ||||
|         /// QTY값이 RQ에서 입력된 데이터인가? | ||||
|         /// </summary> | ||||
|         public Boolean QTYRQ { get; set; } | ||||
|  | ||||
|         public string SID0 { get; set; }    //원본SID | ||||
|         public string SID { get; set; }     //바코드 | ||||
|  | ||||
|         private string _rid = string.Empty; | ||||
|         public string RID | ||||
|         { | ||||
|             get { return _rid; } | ||||
|         }     //바코드         | ||||
|         public void SetRID(string value, string reason) | ||||
|         { | ||||
|             //값이 변경될때 로그에 변경 | ||||
|             if (_rid.Equals(value) == false) | ||||
|             { | ||||
|                 Pub.AddDebugLog(string.Format("RID 변경 {0} -> {1} by {2}", _rid, value, reason)); | ||||
|             } | ||||
|             _rid = value; | ||||
|         } | ||||
|  | ||||
|         public string RID0 { get; set; } | ||||
|         public string VLOT { get; set; } | ||||
|         public string VNAME { get; set; } | ||||
|         //public string SCODE { get; set; } //서플라이코드  210219 | ||||
|         public string MFGDATE { get; set; } | ||||
|         public string PARTNO { get; set; } | ||||
|         public Boolean HASHEADER { get; set; } | ||||
|  | ||||
|         public string temp_custcode { get; set; } | ||||
|         public string temp_custname { get; set; } | ||||
|  | ||||
|         /// <summary> | ||||
|         /// 데이터가 모두존재하는지 확인 | ||||
|         /// </summary> | ||||
|         public Boolean DataValid | ||||
|         { | ||||
|             get | ||||
|             { | ||||
|                 if (Confirm == false) return false; | ||||
|                 return QTY.isEmpty() == false && | ||||
|                     SID.isEmpty() == false && | ||||
|                     RID.isEmpty() == false && | ||||
|                     VLOT.isEmpty() == false && | ||||
|                     VNAME.isEmpty() == false && | ||||
|                     MFGDATE.isEmpty() == false && | ||||
|                     PARTNO.isEmpty(); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|  | ||||
|         public Boolean PrintPositionCheck { get; set; } | ||||
|         public string PrintPositionData { get; set; } | ||||
|  | ||||
|         //상단위치에 프린트를 할것인가? | ||||
|         //프린트위치에 따른다 | ||||
|         public ePrintPutPos GetPrintPutPosition() | ||||
|         { | ||||
|             //하단에 찍는경우이다 | ||||
|             if (PrintPositionData == "1" || | ||||
|                 PrintPositionData == "2" || | ||||
|                 PrintPositionData == "3") | ||||
|             { | ||||
|                 return ePrintPutPos.Bottom; | ||||
|             } | ||||
|             else if (PrintPositionData == "7" || | ||||
|                 PrintPositionData == "8" || | ||||
|                 PrintPositionData == "9") | ||||
|             { | ||||
|                 return ePrintPutPos.Top; | ||||
|             } | ||||
|             else if (PrintPositionData == "4")  //왼쪽 | ||||
|             { | ||||
|                 return ePrintPutPos.Middle; | ||||
|             } | ||||
|             else if (PrintPositionData == "6")  //오른쪽 | ||||
|             { | ||||
|                 return ePrintPutPos.Middle; | ||||
|             } | ||||
|             else return ePrintPutPos.None; | ||||
|  | ||||
|         } | ||||
|         //public string LabelPos { get; set; } | ||||
|         //public Boolean PrintForce { get; set; } | ||||
|  | ||||
|         public eCartSize ReelSize { get; set; } | ||||
|  | ||||
|         public string QTY2 { get; set; }       //바코드수량 | ||||
|         public string SID2 { get; set; }     //바코드 | ||||
|         public string RID2 { get; set; }     //바코드         | ||||
|         public string VLOT2 { get; set; } | ||||
|         public string MANU2 { get; set; } | ||||
|         public string MFGDATE2 { get; set; } | ||||
|         public string PARTNO2 { get; set; } | ||||
|  | ||||
|         public Emgu.CV.Image<Gray, Byte> image { get; private set; }    //최종수집된 이미지 | ||||
|  | ||||
|         public void SetImage(Emgu.CV.Image<Gray, Byte> img_) | ||||
|         { | ||||
|             if (this.image != null) | ||||
|             { | ||||
|                 this.image.Dispose(); | ||||
|                 this.image = null; | ||||
|             } | ||||
|  | ||||
|             //이미지를 신규로 해성하고 데이터를 복사한다  210121 | ||||
|             this.image = new Emgu.CV.Image<Gray, byte>(img_.Size); | ||||
|             img_.CopyTo(this.image); | ||||
|  | ||||
|         } | ||||
|         public System.Drawing.Color GetColorByBarcodeCount(int idx) | ||||
|         { | ||||
|             if (QRPositionData[idx] > 0) return Color.Gold; //QR데이터가있다면 금색으로 한다 | ||||
|  | ||||
|             var Cnt = LabelPositionData[idx]; | ||||
|             if (Cnt == MaxBarcodePosData) return Color.Purple; | ||||
|             else if (Cnt == 0) return Color.FromArgb(32, 32, 32); | ||||
|             { | ||||
|                 //나머진 숫자별로 데이터를 표시한다 ( | ||||
|                 var GValue = Cnt * 10; | ||||
|                 if (GValue > 255) GValue = 255; | ||||
|                 return Color.FromArgb(32, 32, GValue); | ||||
|             } | ||||
|  | ||||
|         } | ||||
|         public Boolean isMaxBarcodePosition(int idx) | ||||
|         { | ||||
|             return LabelPositionData[idx] == MaxBarcodePosData; | ||||
|         } | ||||
|  | ||||
|         public byte[] QRPositionData { get; private set; } | ||||
|         public byte[] LabelPositionData { get; private set; } | ||||
|         private List<Class.KeyenceBarcodeData> _barcodelist; | ||||
|         //리더기로부터 읽은 자료 모두가 들어잇다 | ||||
|         public List<Class.KeyenceBarcodeData> barcodelist | ||||
|         { | ||||
|             get { return _barcodelist; } | ||||
|             set | ||||
|             { | ||||
|                 this._barcodelist = value; | ||||
|                 UpdateBarcodePositionData(); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         public byte MaxBarcodePosData { get; private set; } | ||||
|         /// <summary> | ||||
|         /// 바코드목록을 이용해서 라벨위치 분포값을 변경합낟. | ||||
|         /// 해당 위치값은 labelposdata로 접근가능함 | ||||
|         /// </summary> | ||||
|         public void UpdateBarcodePositionData() | ||||
|         { | ||||
|             LabelPositionData[0] = (byte)_barcodelist.Where(t => t.LabelPosition == 1).Count(); | ||||
|             LabelPositionData[1] = (byte)_barcodelist.Where(t => t.LabelPosition == 2).Count(); | ||||
|             LabelPositionData[2] = (byte)_barcodelist.Where(t => t.LabelPosition == 3).Count(); | ||||
|  | ||||
|             LabelPositionData[3] = (byte)_barcodelist.Where(t => t.LabelPosition == 4).Count(); | ||||
|             LabelPositionData[4] = (byte)_barcodelist.Where(t => t.LabelPosition == 6).Count(); | ||||
|  | ||||
|             LabelPositionData[5] = (byte)_barcodelist.Where(t => t.LabelPosition == 7).Count(); | ||||
|             LabelPositionData[6] = (byte)_barcodelist.Where(t => t.LabelPosition == 8).Count(); | ||||
|             LabelPositionData[7] = (byte)_barcodelist.Where(t => t.LabelPosition == 9).Count(); | ||||
|  | ||||
|             QRPositionData[0] = (byte)_barcodelist.Where(t => t.LabelPosition == 1 && t.AmkorData.isValid).Count(); | ||||
|             QRPositionData[1] = (byte)_barcodelist.Where(t => t.LabelPosition == 2 && t.AmkorData.isValid).Count(); | ||||
|             QRPositionData[2] = (byte)_barcodelist.Where(t => t.LabelPosition == 3 && t.AmkorData.isValid).Count(); | ||||
|  | ||||
|             QRPositionData[3] = (byte)_barcodelist.Where(t => t.LabelPosition == 4 && t.AmkorData.isValid).Count(); | ||||
|             QRPositionData[4] = (byte)_barcodelist.Where(t => t.LabelPosition == 6 && t.AmkorData.isValid).Count(); | ||||
|  | ||||
|             QRPositionData[5] = (byte)_barcodelist.Where(t => t.LabelPosition == 7 && t.AmkorData.isValid).Count(); | ||||
|             QRPositionData[6] = (byte)_barcodelist.Where(t => t.LabelPosition == 8 && t.AmkorData.isValid).Count(); | ||||
|             QRPositionData[7] = (byte)_barcodelist.Where(t => t.LabelPosition == 9 && t.AmkorData.isValid).Count(); | ||||
|  | ||||
|             MaxBarcodePosData = LabelPositionData.Max(t => t); | ||||
|         } | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Data1(인쇄전 인식데이터) 과 Data2(QR)가 동일한지 비교합니다. | ||||
|         /// </summary> | ||||
|         public Boolean MatchValidation | ||||
|         { | ||||
|             get | ||||
|             { | ||||
|                 if (PARTNO == null) this.PARTNO = string.Empty; | ||||
|                 if (PARTNO2 == null) this.PARTNO2 = string.Empty; | ||||
|                 if (QTY == null) QTY = string.Empty; | ||||
|                 if (QTY2 == null) QTY2 = string.Empty; | ||||
|                 if (SID == null) SID = string.Empty; | ||||
|                 if (SID2 == null) SID2 = string.Empty; | ||||
|                 if (VLOT == null) VLOT = string.Empty; | ||||
|                 if (VLOT2 == null) VLOT2 = string.Empty; | ||||
|                 if (PARTNO == null) PARTNO = string.Empty; | ||||
|                 if (PARTNO2 == null) PARTNO2 = string.Empty; | ||||
|  | ||||
|                 if (QTY.Equals(QTY2) == false) | ||||
|                 { | ||||
|                     Pub.log.AddE(string.Format("QR검증실패 수량:{0} != {1}", QTY, QTY2)); | ||||
|                     return false; | ||||
|                 } | ||||
|                 if (RID.Equals(RID2) == false) | ||||
|                 { | ||||
|                     Pub.log.AddE(string.Format("QR검증실패 RID:{0} != {1}", RID, RID2)); | ||||
|                     return false; | ||||
|                 } | ||||
|                 if (VLOT.Equals(VLOT2) == false) | ||||
|                 { | ||||
|                     Pub.log.AddE(string.Format("QR검증실패 VLOT:{0} != {1}", VLOT, VLOT2)); | ||||
|                     return false; | ||||
|                 } | ||||
|                 if (PARTNO.Equals(PARTNO2) == false) | ||||
|                 { | ||||
|                     Pub.log.AddE(string.Format("QR검증실패 PARTNO:{0} != {1}", PARTNO, PARTNO2)); | ||||
|                     return false; | ||||
|                 } | ||||
|                 if (SID.Equals(SID2) == false) | ||||
|                 { | ||||
|                     Pub.log.AddE(string.Format("QR검증실패 SID:{0} != {1}", SID, SID2)); | ||||
|                     return false; | ||||
|                 } | ||||
|  | ||||
|                 return true; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         public string QRInputRaw { get; set; }  //입력에 사용한 RAW | ||||
|         public string QROutRaw { get; set; }    //부착된 QR코드의 값 | ||||
|         public string ZPL { get; set; } //출력시 사용한 ZPL | ||||
|         public string QRData { get; set; }  //출력시 사용한 ZPL에 포함된 QR데이터 | ||||
|  | ||||
|         public VisionData(string reason) | ||||
|         { | ||||
|             Clear(reason, false); | ||||
|         } | ||||
|         public Boolean isEmpty() | ||||
|         { | ||||
|             return RID.isEmpty(); | ||||
|         } | ||||
|         public void Clear(string reason, Boolean timeBackup) | ||||
|         { | ||||
|             RetryLoader = 0; | ||||
|             ApplyOffset = false; | ||||
|             var baktime = new DateTime(1982, 11, 23); | ||||
|             if (timeBackup) baktime = this.STime; | ||||
|             bcdMessage = new List<string>(); | ||||
|  | ||||
|           | ||||
|             HASHEADER = false; | ||||
|             temp_custcode = string.Empty; | ||||
|             temp_custname = string.Empty; | ||||
|             RID0 = string.Empty; | ||||
|             LightOn = false; | ||||
|             //SCODE = string.Empty; | ||||
|             ValidSkipbyUser = false; | ||||
|             NeedCylinderForward = false; | ||||
|             ApplyAngle = 0; | ||||
|             MaxBarcodePosData = 0; | ||||
|             PrintPositionCheck = false; | ||||
|             LabelPositionData = new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 }; | ||||
|             QRPositionData = new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 }; | ||||
|             ReelSize = eCartSize.None; | ||||
|             // PrintForce = false; | ||||
|             ConfirmAuto = false; | ||||
|             ConfirmUser = false; | ||||
|             if (image != null) | ||||
|             { | ||||
|                 image.Dispose(); | ||||
|                 image = null; | ||||
|             } | ||||
|             ServerUpdate = false; | ||||
|             PrintPositionData = ""; | ||||
|             //LabelPos = ""; | ||||
|             _barcodelist = new List<KeyenceBarcodeData>(); | ||||
|             QRInputRaw = string.Empty; | ||||
|             QROutRaw = string.Empty; | ||||
|             ZPL = string.Empty; | ||||
|             QRData = string.Empty; | ||||
|  | ||||
|             STime = baktime;// DateTime.Parse("1982-11-23"); | ||||
|             ETime = DateTime.Parse("1982-11-23"); | ||||
|             GTime = DateTime.Parse("1982-11-23"); | ||||
|             Complete = false; | ||||
|             //Angle = 0.0; | ||||
|             //AngleQR = false; | ||||
|             //AngleSTD = false; | ||||
|             Ready = false; | ||||
|             QTY0 = string.Empty; | ||||
|             QTY = string.Empty;// string.Empty; | ||||
|             QTYRQ = false; | ||||
| 			Pub.log.AddI($"비젼개체 CLEAR 로 RQ 상태 초기화(false)"); | ||||
|  | ||||
|             SID0 = string.Empty; | ||||
|             SID = string.Empty; | ||||
|             //RID = string.Empty; | ||||
|             SetRID(string.Empty, reason); | ||||
|             VLOT = string.Empty; | ||||
|             MFGDATE = string.Empty; | ||||
|             VNAME = string.Empty; | ||||
|             PARTNO = string.Empty; | ||||
|  | ||||
|             QTY2 = "0";// string.Empty; | ||||
|             SID2 = string.Empty; | ||||
|             RID2 = string.Empty; | ||||
|             VLOT2 = string.Empty; | ||||
|             MFGDATE2 = string.Empty; | ||||
|             MANU2 = string.Empty; | ||||
|             PARTNO2 = string.Empty; | ||||
|  | ||||
|             FileNameL = string.Empty; | ||||
|             FileNameU = string.Empty; | ||||
|  | ||||
|             Pub.log.Add($"Vision Data Clear : {reason}"); | ||||
|         } | ||||
|  | ||||
|         public void CopyTo(ref VisionData obj) | ||||
|         { | ||||
|             //바코드메세지 복사 | ||||
|             obj.bcdMessage = new List<string>(); | ||||
|             foreach (var item in this.bcdMessage) | ||||
|                 obj.bcdMessage.Add(item); | ||||
|  | ||||
|             obj.ApplyOffset = this.ApplyOffset; | ||||
|             obj.ConfirmAuto = this.ConfirmAuto; | ||||
|             obj.ConfirmUser = this.ConfirmUser; | ||||
|             obj.temp_custcode = this.temp_custcode; | ||||
|             obj.temp_custname = this.temp_custname; | ||||
|             obj.LightOn = this.LightOn; | ||||
|             //obj.SCODE = this.SCODE; | ||||
|             obj.ValidSkipbyUser = this.ValidSkipbyUser; | ||||
|             obj.NeedCylinderForward = this.NeedCylinderForward; //210207 | ||||
|             obj.ApplyAngle = this.ApplyAngle; //210207 | ||||
|             obj.STime = this.STime; | ||||
|             obj.ETime = this.ETime; | ||||
|             obj.GTime = this.GTime; | ||||
|             obj.FileNameL = this.FileNameL; | ||||
|             obj.FileNameU = this.FileNameU; | ||||
|             obj.Complete = this.Complete; | ||||
|             //obj.Angle = this.Angle; | ||||
|             //obj.AngleQR = this.AngleQR; | ||||
|             //obj.AngleSTD = this.AngleSTD; | ||||
|             obj.Ready = this.Ready; | ||||
|             obj.QTY = this.QTY; | ||||
|             obj.QTYRQ = this.QTYRQ; | ||||
|             obj.SID = this.SID; | ||||
|             obj.SID0 = this.SID0; //210331 | ||||
|             obj.SetRID(this.RID, "copy");//	 obj.RID = this.RID; | ||||
|             obj.RID0 = this.RID0; | ||||
|             obj.VLOT = this.VLOT; | ||||
|             obj.VNAME = this.VNAME; | ||||
|             obj.MFGDATE = this.MFGDATE; | ||||
|             obj.PARTNO = this.PARTNO; | ||||
|  | ||||
|             obj.QTY2 = this.QTY2; | ||||
|             obj.SID2 = this.SID2; | ||||
|             obj.RID2 = this.RID2; | ||||
|             obj.VLOT2 = this.VLOT2; | ||||
|             obj.MANU2 = this.MANU2; | ||||
|             obj.MFGDATE2 = this.MFGDATE; | ||||
|             obj.PARTNO2 = this.PARTNO2; | ||||
|  | ||||
|             obj.QRInputRaw = this.QRInputRaw; | ||||
|             obj.QROutRaw = this.QROutRaw; | ||||
|             obj.ZPL = this.ZPL; | ||||
|             obj.QRData = this.QRData; | ||||
|             obj.PrintPositionData = this.PrintPositionData; | ||||
|             //obj.PrintForce = this.PrintForce; | ||||
|             obj.ReelSize = this.ReelSize; | ||||
|             obj.PrintPositionCheck = this.PrintPositionCheck; | ||||
|  | ||||
|  | ||||
|             //라벨위치값 복사 | ||||
|             for (int i = 0; i < obj.LabelPositionData.Length; i++) | ||||
|                 obj.LabelPositionData[i] = this.LabelPositionData[i]; | ||||
|             for (int i = 0; i < obj.QRPositionData.Length; i++) | ||||
|                 obj.QRPositionData[i] = this.QRPositionData[i]; | ||||
|             if (obj.image != null) | ||||
|             { | ||||
|                 obj.image.Dispose(); | ||||
|                 obj.image = null; | ||||
|             } | ||||
|  | ||||
|             //이미지를 복사해준다. 210121 | ||||
|             if (this.image != null) | ||||
|             { | ||||
|                 obj.image = new Emgu.CV.Image<Gray, byte>(this.image.Size); | ||||
|                 this.image.CopyTo(obj.image); | ||||
|             } | ||||
|  | ||||
|             //바코드 데이터를 복사해준다.              | ||||
|             obj.barcodelist = new List<KeyenceBarcodeData>(); | ||||
|             if (this.barcodelist.Count > 0) | ||||
|             { | ||||
|                 foreach (var bcd in this.barcodelist) | ||||
|                 { | ||||
|                     var newitema = new KeyenceBarcodeData | ||||
|                     { | ||||
|                         Angle = bcd.Angle, | ||||
|                         CenterPX = new Point(bcd.CenterPX.X, bcd.CenterPX.Y), | ||||
|                         Data = bcd.Data, | ||||
|                         LabelPosition = bcd.LabelPosition, | ||||
|                         UserActive = bcd.UserActive, | ||||
|                         sym = bcd.sym, | ||||
|                     }; | ||||
|  | ||||
|                     newitema.vertex = new Point[bcd.vertex.Length]; | ||||
|                     bcd.vertex.CopyTo(newitema.vertex, 0); | ||||
|                     bcd.AmkorData.CopyTo(newitema.AmkorData); | ||||
|                     obj.barcodelist.Add(newitema); | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										20
									
								
								Handler/Project_form2/Component_Reel_CustInfo.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								Handler/Project_form2/Component_Reel_CustInfo.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| //------------------------------------------------------------------------------ | ||||
| // <auto-generated> | ||||
| //     이 코드는 템플릿에서 생성되었습니다. | ||||
| // | ||||
| //     이 파일을 수동으로 변경하면 응용 프로그램에서 예기치 않은 동작이 발생할 수 있습니다. | ||||
| //     이 파일을 수동으로 변경하면 코드가 다시 생성될 때 변경 내용을 덮어씁니다. | ||||
| // </auto-generated> | ||||
| //------------------------------------------------------------------------------ | ||||
|  | ||||
| namespace Project | ||||
| { | ||||
|     using System; | ||||
|     using System.Collections.Generic; | ||||
|      | ||||
|     public partial class Component_Reel_CustInfo | ||||
|     { | ||||
|         public string code { get; set; } | ||||
|         public string name { get; set; } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										24
									
								
								Handler/Project_form2/Component_Reel_CustRule.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								Handler/Project_form2/Component_Reel_CustRule.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | ||||
| //------------------------------------------------------------------------------ | ||||
| // <auto-generated> | ||||
| //     이 코드는 템플릿에서 생성되었습니다. | ||||
| // | ||||
| //     이 파일을 수동으로 변경하면 응용 프로그램에서 예기치 않은 동작이 발생할 수 있습니다. | ||||
| //     이 파일을 수동으로 변경하면 코드가 다시 생성될 때 변경 내용을 덮어씁니다. | ||||
| // </auto-generated> | ||||
| //------------------------------------------------------------------------------ | ||||
|  | ||||
| namespace Project | ||||
| { | ||||
|     using System; | ||||
|     using System.Collections.Generic; | ||||
|      | ||||
|     public partial class Component_Reel_CustRule | ||||
|     { | ||||
|         public int idx { get; set; } | ||||
|         public string code { get; set; } | ||||
|         public string pre { get; set; } | ||||
|         public string pos { get; set; } | ||||
|         public Nullable<int> len { get; set; } | ||||
|         public string exp { get; set; } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										23
									
								
								Handler/Project_form2/Component_Reel_Info.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								Handler/Project_form2/Component_Reel_Info.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| //------------------------------------------------------------------------------ | ||||
| // <auto-generated> | ||||
| //     이 코드는 템플릿에서 생성되었습니다. | ||||
| // | ||||
| //     이 파일을 수동으로 변경하면 응용 프로그램에서 예기치 않은 동작이 발생할 수 있습니다. | ||||
| //     이 파일을 수동으로 변경하면 코드가 다시 생성될 때 변경 내용을 덮어씁니다. | ||||
| // </auto-generated> | ||||
| //------------------------------------------------------------------------------ | ||||
|  | ||||
| namespace Project | ||||
| { | ||||
|     using System; | ||||
|     using System.Collections.Generic; | ||||
|      | ||||
|     public partial class Component_Reel_Info | ||||
|     { | ||||
|         public int idx { get; set; } | ||||
|         public string CUST { get; set; } | ||||
|         public string AMKSID { get; set; } | ||||
|         public string CUST_PARTNO { get; set; } | ||||
|         public string MFG_PARTNO { get; set; } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										44
									
								
								Handler/Project_form2/Component_Reel_Result.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								Handler/Project_form2/Component_Reel_Result.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,44 @@ | ||||
| //------------------------------------------------------------------------------ | ||||
| // <auto-generated> | ||||
| //     이 코드는 템플릿에서 생성되었습니다. | ||||
| // | ||||
| //     이 파일을 수동으로 변경하면 응용 프로그램에서 예기치 않은 동작이 발생할 수 있습니다. | ||||
| //     이 파일을 수동으로 변경하면 코드가 다시 생성될 때 변경 내용을 덮어씁니다. | ||||
| // </auto-generated> | ||||
| //------------------------------------------------------------------------------ | ||||
|  | ||||
| namespace Project | ||||
| { | ||||
|     using System; | ||||
|     using System.Collections.Generic; | ||||
|      | ||||
|     public partial class Component_Reel_Result | ||||
|     { | ||||
|         public int idx { get; set; } | ||||
|         public System.DateTime STIME { get; set; } | ||||
|         public Nullable<System.DateTime> ETIME { get; set; } | ||||
|         public Nullable<System.DateTime> PTIME { get; set; } | ||||
|         public string PDATE { get; set; } | ||||
|         public string JTYPE { get; set; } | ||||
|         public string JGUID { get; set; } | ||||
|         public string SID { get; set; } | ||||
|         public string SID0 { get; set; } | ||||
|         public string RID { get; set; } | ||||
|         public string RID0 { get; set; } | ||||
|         public string RSN { get; set; } | ||||
|         public string QR { get; set; } | ||||
|         public string ZPL { get; set; } | ||||
|         public string POS { get; set; } | ||||
|         public string LOC { get; set; } | ||||
|         public Nullable<double> ANGLE { get; set; } | ||||
|         public Nullable<int> QTY { get; set; } | ||||
|         public Nullable<int> QTY0 { get; set; } | ||||
|         public string VLOT { get; set; } | ||||
|         public string VNAME { get; set; } | ||||
|         public string MFGDATE { get; set; } | ||||
|         public Nullable<bool> PRNATTACH { get; set; } | ||||
|         public Nullable<bool> PRNVALID { get; set; } | ||||
|         public string REMARK { get; set; } | ||||
|         public System.DateTime wdate { get; set; } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										29
									
								
								Handler/Project_form2/Component_Reel_SIDConv.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								Handler/Project_form2/Component_Reel_SIDConv.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,29 @@ | ||||
| //------------------------------------------------------------------------------ | ||||
| // <auto-generated> | ||||
| //     이 코드는 템플릿에서 생성되었습니다. | ||||
| // | ||||
| //     이 파일을 수동으로 변경하면 응용 프로그램에서 예기치 않은 동작이 발생할 수 있습니다. | ||||
| //     이 파일을 수동으로 변경하면 코드가 다시 생성될 때 변경 내용을 덮어씁니다. | ||||
| // </auto-generated> | ||||
| //------------------------------------------------------------------------------ | ||||
|  | ||||
| namespace Project | ||||
| { | ||||
|     using System; | ||||
|     using System.Collections.Generic; | ||||
|      | ||||
|     public partial class Component_Reel_SIDConv | ||||
|     { | ||||
|         public int idx { get; set; } | ||||
|         public string M101 { get; set; } | ||||
|         public string M103 { get; set; } | ||||
|         public string M106 { get; set; } | ||||
|         public string M108 { get; set; } | ||||
|         public string M103_2 { get; set; } | ||||
|         public string M101_2 { get; set; } | ||||
|         public Nullable<bool> Chk { get; set; } | ||||
|         public string SIDFrom { get; set; } | ||||
|         public string SIDTo { get; set; } | ||||
|         public string Remark { get; set; } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										25
									
								
								Handler/Project_form2/Component_Reel_SIDInfo.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								Handler/Project_form2/Component_Reel_SIDInfo.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | ||||
| //------------------------------------------------------------------------------ | ||||
| // <auto-generated> | ||||
| //     이 코드는 템플릿에서 생성되었습니다. | ||||
| // | ||||
| //     이 파일을 수동으로 변경하면 응용 프로그램에서 예기치 않은 동작이 발생할 수 있습니다. | ||||
| //     이 파일을 수동으로 변경하면 코드가 다시 생성될 때 변경 내용을 덮어씁니다. | ||||
| // </auto-generated> | ||||
| //------------------------------------------------------------------------------ | ||||
|  | ||||
| namespace Project | ||||
| { | ||||
|     using System; | ||||
|     using System.Collections.Generic; | ||||
|      | ||||
|     public partial class Component_Reel_SIDInfo | ||||
|     { | ||||
|         public string SID { get; set; } | ||||
|         public string CustCode { get; set; } | ||||
|         public string CustName { get; set; } | ||||
|         public string VenderName { get; set; } | ||||
|         public string PartNo { get; set; } | ||||
|         public string PrintPosition { get; set; } | ||||
|         public string Remark { get; set; } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										2378
									
								
								Handler/Project_form2/DSList.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										2378
									
								
								Handler/Project_form2/DSList.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										8
									
								
								Handler/Project_form2/DSList.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								Handler/Project_form2/DSList.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| namespace Project | ||||
| { | ||||
|  | ||||
|  | ||||
|     partial class DSList | ||||
|     { | ||||
|     } | ||||
| } | ||||
							
								
								
									
										9
									
								
								Handler/Project_form2/DSList.xsc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								Handler/Project_form2/DSList.xsc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!--<autogenerated> | ||||
|      This code was generated by a tool. | ||||
|      Changes to this file may cause incorrect behavior and will be lost if | ||||
|      the code is regenerated. | ||||
| </autogenerated>--> | ||||
| <DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> | ||||
|   <TableUISettings /> | ||||
| </DataSetUISetting> | ||||
							
								
								
									
										156
									
								
								Handler/Project_form2/DSList.xsd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										156
									
								
								Handler/Project_form2/DSList.xsd
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,156 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <xs:schema id="DSList" targetNamespace="http://tempuri.org/DSList.xsd" xmlns:mstns="http://tempuri.org/DSList.xsd" xmlns="http://tempuri.org/DSList.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified"> | ||||
|   <xs:annotation> | ||||
|     <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource"> | ||||
|       <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> | ||||
|         <Connections> | ||||
|           <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="CS" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="CS (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Project.Properties.Settings.GlobalReference.Default.CS" Provider="System.Data.SqlClient" /> | ||||
|         </Connections> | ||||
|         <Tables> | ||||
|           <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Component_Reel_CustRuleTableAdapter" GeneratorDataComponentClassName="Component_Reel_CustRuleTableAdapter" Name="Component_Reel_CustRule" UserDataComponentName="Component_Reel_CustRuleTableAdapter"> | ||||
|             <MainSource> | ||||
|               <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_CustRule" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> | ||||
|                 <DeleteCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>DELETE FROM [Component_Reel_CustRule] WHERE (([code] = @Original_code) AND ((@IsNull_pre = 1 AND [pre] IS NULL) OR ([pre] = @Original_pre)) AND ((@IsNull_pos = 1 AND [pos] IS NULL) OR ([pos] = @Original_pos)) AND ((@IsNull_len = 1 AND [len] IS NULL) OR ([len] = @Original_len)) AND ((@IsNull_exp = 1 AND [exp] IS NULL) OR ([exp] = @Original_exp)))</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pre" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pre" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pre" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pre" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pos" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pos" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pos" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pos" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_len" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="len" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_len" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="len" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_exp" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="exp" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_exp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="exp" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </DeleteCommand> | ||||
|                 <InsertCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>INSERT INTO [Component_Reel_CustRule] ([code], [pre], [pos], [len], [exp]) VALUES (@code, @pre, @pos, @len, @exp); | ||||
| SELECT code, pre, pos, len, exp FROM Component_Reel_CustRule WHERE (code = @code)</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pre" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pre" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pos" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pos" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@len" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="len" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@exp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="exp" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </InsertCommand> | ||||
|                 <SelectCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||
|                     <CommandText>SELECT  Component_Reel_CustRule.* | ||||
| FROM     Component_Reel_CustRule</CommandText> | ||||
|                     <Parameters /> | ||||
|                   </DbCommand> | ||||
|                 </SelectCommand> | ||||
|                 <UpdateCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>UPDATE [Component_Reel_CustRule] SET [code] = @code, [pre] = @pre, [pos] = @pos, [len] = @len, [exp] = @exp WHERE (([code] = @Original_code) AND ((@IsNull_pre = 1 AND [pre] IS NULL) OR ([pre] = @Original_pre)) AND ((@IsNull_pos = 1 AND [pos] IS NULL) OR ([pos] = @Original_pos)) AND ((@IsNull_len = 1 AND [len] IS NULL) OR ([len] = @Original_len)) AND ((@IsNull_exp = 1 AND [exp] IS NULL) OR ([exp] = @Original_exp))); | ||||
| SELECT code, pre, pos, len, exp FROM Component_Reel_CustRule WHERE (code = @code)</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pre" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pre" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pos" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pos" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@len" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="len" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@exp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="exp" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pre" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pre" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pre" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pre" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pos" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pos" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pos" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pos" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_len" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="len" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_len" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="len" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_exp" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="exp" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_exp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="exp" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </UpdateCommand> | ||||
|               </DbSource> | ||||
|             </MainSource> | ||||
|             <Mappings> | ||||
|               <Mapping SourceColumn="code" DataSetColumn="code" /> | ||||
|               <Mapping SourceColumn="pre" DataSetColumn="pre" /> | ||||
|               <Mapping SourceColumn="pos" DataSetColumn="pos" /> | ||||
|               <Mapping SourceColumn="len" DataSetColumn="len" /> | ||||
|               <Mapping SourceColumn="exp" DataSetColumn="exp" /> | ||||
|             </Mappings> | ||||
|             <Sources /> | ||||
|           </TableAdapter> | ||||
|         </Tables> | ||||
|         <Sources /> | ||||
|       </DataSource> | ||||
|     </xs:appinfo> | ||||
|   </xs:annotation> | ||||
|   <xs:element name="DSList" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DSList" msprop:Generator_UserDSName="DSList"> | ||||
|     <xs:complexType> | ||||
|       <xs:choice minOccurs="0" maxOccurs="unbounded"> | ||||
|         <xs:element name="Supply" msprop:Generator_TableClassName="SupplyDataTable" msprop:Generator_TableVarName="tableSupply" msprop:Generator_TablePropName="Supply" msprop:Generator_RowDeletingName="SupplyRowDeleting" msprop:Generator_RowChangingName="SupplyRowChanging" msprop:Generator_RowEvHandlerName="SupplyRowChangeEventHandler" msprop:Generator_RowDeletedName="SupplyRowDeleted" msprop:Generator_UserTableName="Supply" msprop:Generator_RowChangedName="SupplyRowChanged" msprop:Generator_RowEvArgName="SupplyRowChangeEvent" msprop:Generator_RowClassName="SupplyRow"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="TITLE" msprop:Generator_ColumnVarNameInTable="columnTITLE" msprop:Generator_ColumnPropNameInRow="TITLE" msprop:Generator_ColumnPropNameInTable="TITLEColumn" msprop:Generator_UserColumnName="TITLE" type="xs:string" /> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="SIDConvert" msprop:Generator_TableClassName="SIDConvertDataTable" msprop:Generator_TableVarName="tableSIDConvert" msprop:Generator_TablePropName="SIDConvert" msprop:Generator_RowDeletingName="SIDConvertRowDeleting" msprop:Generator_RowChangingName="SIDConvertRowChanging" msprop:Generator_RowEvHandlerName="SIDConvertRowChangeEventHandler" msprop:Generator_RowDeletedName="SIDConvertRowDeleted" msprop:Generator_UserTableName="SIDConvert" msprop:Generator_RowChangedName="SIDConvertRowChanged" msprop:Generator_RowEvArgName="SIDConvertRowChangeEvent" msprop:Generator_RowClassName="SIDConvertRow"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="SID101" msprop:Generator_ColumnVarNameInTable="columnSID101" msprop:Generator_ColumnPropNameInRow="SID101" msprop:Generator_ColumnPropNameInTable="SID101Column" msprop:Generator_UserColumnName="SID101" type="xs:string" /> | ||||
|               <xs:element name="SID103" msprop:Generator_ColumnVarNameInTable="columnSID103" msprop:Generator_ColumnPropNameInRow="SID103" msprop:Generator_ColumnPropNameInTable="SID103Column" msprop:Generator_UserColumnName="SID103" type="xs:string" /> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="Component_Reel_CustRule" msprop:Generator_TableClassName="Component_Reel_CustRuleDataTable" msprop:Generator_TableVarName="tableComponent_Reel_CustRule" msprop:Generator_RowChangedName="Component_Reel_CustRuleRowChanged" msprop:Generator_TablePropName="Component_Reel_CustRule" msprop:Generator_RowDeletingName="Component_Reel_CustRuleRowDeleting" msprop:Generator_RowChangingName="Component_Reel_CustRuleRowChanging" msprop:Generator_RowEvHandlerName="Component_Reel_CustRuleRowChangeEventHandler" msprop:Generator_RowDeletedName="Component_Reel_CustRuleRowDeleted" msprop:Generator_RowClassName="Component_Reel_CustRuleRow" msprop:Generator_UserTableName="Component_Reel_CustRule" msprop:Generator_RowEvArgName="Component_Reel_CustRuleRowChangeEvent"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="code" msprop:Generator_ColumnVarNameInTable="columncode" msprop:Generator_ColumnPropNameInRow="code" msprop:Generator_ColumnPropNameInTable="codeColumn" msprop:Generator_UserColumnName="code"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="10" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="pre" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="pre" msprop:Generator_ColumnVarNameInTable="columnpre" msprop:Generator_ColumnPropNameInTable="preColumn" msprop:Generator_UserColumnName="pre" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="20" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="pos" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="pos" msprop:Generator_ColumnVarNameInTable="columnpos" msprop:Generator_ColumnPropNameInTable="posColumn" msprop:Generator_UserColumnName="pos" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="20" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="len" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="len" msprop:Generator_ColumnVarNameInTable="columnlen" msprop:Generator_ColumnPropNameInTable="lenColumn" msprop:Generator_UserColumnName="len" type="xs:int" minOccurs="0" /> | ||||
|               <xs:element name="exp" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="exp" msprop:Generator_ColumnVarNameInTable="columnexp" msprop:Generator_ColumnPropNameInTable="expColumn" msprop:Generator_UserColumnName="exp" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|       </xs:choice> | ||||
|     </xs:complexType> | ||||
|     <xs:unique name="Constraint1" msdata:PrimaryKey="true"> | ||||
|       <xs:selector xpath=".//mstns:Supply" /> | ||||
|       <xs:field xpath="mstns:TITLE" /> | ||||
|     </xs:unique> | ||||
|     <xs:unique name="SIDConvert_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true"> | ||||
|       <xs:selector xpath=".//mstns:SIDConvert" /> | ||||
|       <xs:field xpath="mstns:SID101" /> | ||||
|       <xs:field xpath="mstns:SID103" /> | ||||
|     </xs:unique> | ||||
|     <xs:unique name="Component_Reel_CustRule_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true"> | ||||
|       <xs:selector xpath=".//mstns:Component_Reel_CustRule" /> | ||||
|       <xs:field xpath="mstns:code" /> | ||||
|     </xs:unique> | ||||
|   </xs:element> | ||||
| </xs:schema> | ||||
							
								
								
									
										14
									
								
								Handler/Project_form2/DSList.xss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								Handler/Project_form2/DSList.xss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!--<autogenerated> | ||||
|      This code was generated by a tool to store the dataset designer's layout information. | ||||
|      Changes to this file may cause incorrect behavior and will be lost if | ||||
|      the code is regenerated. | ||||
| </autogenerated>--> | ||||
| <DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout"> | ||||
|   <Shapes> | ||||
|     <Shape ID="DesignTable:Supply" ZOrder="3" X="120" Y="87" Height="48" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="44" /> | ||||
|     <Shape ID="DesignTable:SIDConvert" ZOrder="2" X="316" Y="82" Height="67" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="63" /> | ||||
|     <Shape ID="DesignTable:Component_Reel_CustRule" ZOrder="1" X="506" Y="142" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" /> | ||||
|   </Shapes> | ||||
|   <Connectors /> | ||||
| </DiagramLayout> | ||||
							
								
								
									
										11844
									
								
								Handler/Project_form2/DataSet1.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										11844
									
								
								Handler/Project_form2/DataSet1.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										16
									
								
								Handler/Project_form2/DataSet1.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								Handler/Project_form2/DataSet1.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| namespace Project | ||||
| { | ||||
|  | ||||
|  | ||||
|     public partial class DataSet1 | ||||
|     { | ||||
|         partial class ResultDataDataTable | ||||
|         { | ||||
|         } | ||||
|  | ||||
|         partial class ModelDataTable | ||||
|         { | ||||
|  | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										9
									
								
								Handler/Project_form2/DataSet1.xsc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								Handler/Project_form2/DataSet1.xsc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!--<autogenerated> | ||||
|      This code was generated by a tool. | ||||
|      Changes to this file may cause incorrect behavior and will be lost if | ||||
|      the code is regenerated. | ||||
| </autogenerated>--> | ||||
| <DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> | ||||
|   <TableUISettings /> | ||||
| </DataSetUISetting> | ||||
							
								
								
									
										926
									
								
								Handler/Project_form2/DataSet1.xsd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										926
									
								
								Handler/Project_form2/DataSet1.xsd
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,926 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <xs:schema id="DataSet1" targetNamespace="http://tempuri.org/DataSet1.xsd" xmlns:mstns="http://tempuri.org/DataSet1.xsd" xmlns="http://tempuri.org/DataSet1.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified"> | ||||
|   <xs:annotation> | ||||
|     <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource"> | ||||
|       <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> | ||||
|         <Connections> | ||||
|           <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="CS" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="CS (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Project.Properties.Settings.GlobalReference.Default.CS" Provider="System.Data.SqlClient" /> | ||||
|         </Connections> | ||||
|         <Tables> | ||||
|           <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Component_Reel_SIDConvTableAdapter" GeneratorDataComponentClassName="Component_Reel_SIDConvTableAdapter" Name="Component_Reel_SIDConv" UserDataComponentName="Component_Reel_SIDConvTableAdapter"> | ||||
|             <MainSource> | ||||
|               <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_SIDConv" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> | ||||
|                 <DeleteCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>DELETE FROM [Component_Reel_SIDConv] WHERE (([idx] = @Original_idx) AND ((@IsNull_M101 = 1 AND [M101] IS NULL) OR ([M101] = @Original_M101)) AND ((@IsNull_M103 = 1 AND [M103] IS NULL) OR ([M103] = @Original_M103)) AND ((@IsNull_M106 = 1 AND [M106] IS NULL) OR ([M106] = @Original_M106)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ((@IsNull_M108 = 1 AND [M108] IS NULL) OR ([M108] = @Original_M108)) AND ((@IsNull_M103_2 = 1 AND [M103_2] IS NULL) OR ([M103_2] = @Original_M103_2)))</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_M101" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="M101" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_M101" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M101" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_M103" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="M103" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_M103" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M103" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_M106" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="M106" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_M106" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M106" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_M108" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="M108" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_M108" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M108" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_M103_2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="M103_2" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_M103_2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M103_2" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </DeleteCommand> | ||||
|                 <InsertCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>INSERT INTO [Component_Reel_SIDConv] ([M101], [M103], [M106], [Remark], [M108], [M103_2]) VALUES (@M101, @M103, @M106, @Remark, @M108, @M103_2); | ||||
| SELECT idx, M101, M103, M106, Remark, M108, M103_2 FROM Component_Reel_SIDConv WHERE (idx = SCOPE_IDENTITY())</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@M101" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M101" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@M103" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M103" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@M106" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M106" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@M108" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M108" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@M103_2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M103_2" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </InsertCommand> | ||||
|                 <SelectCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>SELECT  idx, M101, M103, M106, Remark, M108, M103_2 | ||||
| FROM     Component_Reel_SIDConv</CommandText> | ||||
|                     <Parameters /> | ||||
|                   </DbCommand> | ||||
|                 </SelectCommand> | ||||
|                 <UpdateCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>UPDATE [Component_Reel_SIDConv] SET [M101] = @M101, [M103] = @M103, [M106] = @M106, [Remark] = @Remark, [M108] = @M108, [M103_2] = @M103_2 WHERE (([idx] = @Original_idx) AND ((@IsNull_M101 = 1 AND [M101] IS NULL) OR ([M101] = @Original_M101)) AND ((@IsNull_M103 = 1 AND [M103] IS NULL) OR ([M103] = @Original_M103)) AND ((@IsNull_M106 = 1 AND [M106] IS NULL) OR ([M106] = @Original_M106)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)) AND ((@IsNull_M108 = 1 AND [M108] IS NULL) OR ([M108] = @Original_M108)) AND ((@IsNull_M103_2 = 1 AND [M103_2] IS NULL) OR ([M103_2] = @Original_M103_2))); | ||||
| SELECT idx, M101, M103, M106, Remark, M108, M103_2 FROM Component_Reel_SIDConv WHERE (idx = @idx)</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@M101" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M101" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@M103" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M103" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@M106" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M106" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@M108" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M108" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@M103_2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M103_2" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_M101" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="M101" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_M101" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M101" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_M103" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="M103" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_M103" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M103" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_M106" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="M106" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_M106" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M106" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_M108" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="M108" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_M108" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M108" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_M103_2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="M103_2" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_M103_2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="M103_2" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.Component_Reel_SIDConv" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </UpdateCommand> | ||||
|               </DbSource> | ||||
|             </MainSource> | ||||
|             <Mappings> | ||||
|               <Mapping SourceColumn="idx" DataSetColumn="idx" /> | ||||
|               <Mapping SourceColumn="M101" DataSetColumn="M101" /> | ||||
|               <Mapping SourceColumn="M103" DataSetColumn="M103" /> | ||||
|               <Mapping SourceColumn="M106" DataSetColumn="M106" /> | ||||
|               <Mapping SourceColumn="Remark" DataSetColumn="Remark" /> | ||||
|               <Mapping SourceColumn="M108" DataSetColumn="M108" /> | ||||
|               <Mapping SourceColumn="M103_2" DataSetColumn="M103_2" /> | ||||
|             </Mappings> | ||||
|             <Sources /> | ||||
|           </TableAdapter> | ||||
|           <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Component_Reel_SIDInfoTableAdapter" GeneratorDataComponentClassName="Component_Reel_SIDInfoTableAdapter" Name="Component_Reel_SIDInfo" UserDataComponentName="Component_Reel_SIDInfoTableAdapter"> | ||||
|             <MainSource> | ||||
|               <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_SIDInfo" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> | ||||
|                 <DeleteCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>DELETE FROM [Component_Reel_SIDInfo] WHERE (([SID] = @Original_SID) AND ([CustCode] = @Original_CustCode) AND ((@IsNull_CustName = 1 AND [CustName] IS NULL) OR ([CustName] = @Original_CustName)) AND ((@IsNull_VenderName = 1 AND [VenderName] IS NULL) OR ([VenderName] = @Original_VenderName)) AND ([PartNo] = @Original_PartNo) AND ((@IsNull_PrintPosition = 1 AND [PrintPosition] IS NULL) OR ([PrintPosition] = @Original_PrintPosition)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark)))</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PrintPosition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </DeleteCommand> | ||||
|                 <InsertCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>INSERT INTO [Component_Reel_SIDInfo] ([SID], [CustCode], [CustName], [VenderName], [PartNo], [PrintPosition], [Remark]) VALUES (@SID, @CustCode, @CustName, @VenderName, @PartNo, @PrintPosition, @Remark); | ||||
| SELECT SID, CustCode, CustName, VenderName, PartNo, PrintPosition, Remark FROM Component_Reel_SIDInfo WHERE (CustCode = @CustCode) AND (PartNo = @PartNo) AND (SID = @SID)</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </InsertCommand> | ||||
|                 <SelectCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>SELECT  SID, CustCode, CustName, VenderName, PartNo, PrintPosition, Remark | ||||
| FROM     Component_Reel_SIDInfo</CommandText> | ||||
|                     <Parameters /> | ||||
|                   </DbCommand> | ||||
|                 </SelectCommand> | ||||
|                 <UpdateCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>UPDATE [Component_Reel_SIDInfo] SET [SID] = @SID, [CustCode] = @CustCode, [CustName] = @CustName, [VenderName] = @VenderName, [PartNo] = @PartNo, [PrintPosition] = @PrintPosition, [Remark] = @Remark WHERE (([SID] = @Original_SID) AND ([CustCode] = @Original_CustCode) AND ((@IsNull_CustName = 1 AND [CustName] IS NULL) OR ([CustName] = @Original_CustName)) AND ((@IsNull_VenderName = 1 AND [VenderName] IS NULL) OR ([VenderName] = @Original_VenderName)) AND ([PartNo] = @Original_PartNo) AND ((@IsNull_PrintPosition = 1 AND [PrintPosition] IS NULL) OR ([PrintPosition] = @Original_PrintPosition)) AND ((@IsNull_Remark = 1 AND [Remark] IS NULL) OR ([Remark] = @Original_Remark))); | ||||
| SELECT SID, CustCode, CustName, VenderName, PartNo, PrintPosition, Remark FROM Component_Reel_SIDInfo WHERE (CustCode = @CustCode) AND (PartNo = @PartNo) AND (SID = @SID)</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustCode" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CustName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustName" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VenderName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_VenderName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VenderName" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PartNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PartNo" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PrintPosition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PrintPosition" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PrintPosition" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Remark" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </UpdateCommand> | ||||
|               </DbSource> | ||||
|             </MainSource> | ||||
|             <Mappings> | ||||
|               <Mapping SourceColumn="SID" DataSetColumn="SID" /> | ||||
|               <Mapping SourceColumn="CustCode" DataSetColumn="CustCode" /> | ||||
|               <Mapping SourceColumn="CustName" DataSetColumn="CustName" /> | ||||
|               <Mapping SourceColumn="VenderName" DataSetColumn="VenderName" /> | ||||
|               <Mapping SourceColumn="PartNo" DataSetColumn="PartNo" /> | ||||
|               <Mapping SourceColumn="PrintPosition" DataSetColumn="PrintPosition" /> | ||||
|               <Mapping SourceColumn="Remark" DataSetColumn="Remark" /> | ||||
|             </Mappings> | ||||
|             <Sources /> | ||||
|           </TableAdapter> | ||||
|           <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Component_Reel_ResultTableAdapter" GeneratorDataComponentClassName="Component_Reel_ResultTableAdapter" Name="Component_Reel_Result" UserDataComponentName="Component_Reel_ResultTableAdapter"> | ||||
|             <MainSource> | ||||
|               <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> | ||||
|                 <DeleteCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>DELETE FROM Component_Reel_Result | ||||
| WHERE  (idx = @Original_idx)</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </DeleteCommand> | ||||
|                 <InsertCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>INSERT INTO [Component_Reel_Result] ([STIME], [ETIME], [PDATE], [JTYPE], [JGUID], [SID], [SID0], [RID], [RID0], [RSN], [QR], [ZPL], [POS], [LOC], [ANGLE], [QTY], [QTY0], [wdate], [VNAME], [PRNATTACH], [PRNVALID], [PTIME], [MFGDATE], [VLOT], [REMARK]) VALUES (@STIME, @ETIME, @PDATE, @JTYPE, @JGUID, @SID, @SID0, @RID, @RID0, @RSN, @QR, @ZPL, @POS, @LOC, @ANGLE, @QTY, @QTY0, @wdate, @VNAME, @PRNATTACH, @PRNVALID, @PTIME, @MFGDATE, @VLOT, @REMARK); | ||||
| SELECT idx, STIME, ETIME, PDATE, JTYPE, JGUID, SID, SID0, RID, RID0, RSN, QR, ZPL, POS, LOC, ANGLE, QTY, QTY0, wdate, VNAME, PRNATTACH, PRNVALID, PTIME, MFGDATE, VLOT, REMARK FROM Component_Reel_Result WHERE (idx = SCOPE_IDENTITY()) ORDER BY wdate DESC</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@STIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ETIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ETIME" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PDATE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PDATE" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@JTYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="JTYPE" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@JGUID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="JGUID" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SID0" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SID0" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@RID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RID" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@RID0" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RID0" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@RSN" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RSN" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@QR" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="QR" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ZPL" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ZPL" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@POS" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="POS" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LOC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LOC" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@ANGLE" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ANGLE" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QTY" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QTY0" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QTY0" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VNAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VNAME" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@PRNATTACH" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="PRNATTACH" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@PRNVALID" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="PRNVALID" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@PTIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PTIME" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MFGDATE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MFGDATE" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VLOT" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VLOT" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@REMARK" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="REMARK" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </InsertCommand> | ||||
|                 <SelectCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>SELECT  idx, STIME, ETIME, PDATE, JTYPE, JGUID, SID, SID0, RID, RID0, RSN, QR, ZPL, POS, LOC, ANGLE, QTY, QTY0, wdate, VNAME, PRNATTACH, PRNVALID, PTIME, MFGDATE, VLOT, REMARK, | ||||
|                    (SELECT  TOP (1) VAL1 | ||||
|                     FROM     dbo.FN_SPLIT(Component_Reel_Result.QR, ';') AS FN_SPLIT_1 | ||||
|                     WHERE  (POS = 3)) AS PNO | ||||
| FROM     Component_Reel_Result | ||||
| WHERE  (CONVERT(varchar(10), wdate, 120) BETWEEN @sd AND @ed) | ||||
| ORDER BY wdate DESC</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="sd" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="ed" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </SelectCommand> | ||||
|                 <UpdateCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>UPDATE Component_Reel_Result | ||||
| SET        STIME = @STIME, ETIME = @ETIME, PDATE = @PDATE, JTYPE = @JTYPE, JGUID = @JGUID, SID = @SID, SID0 = @SID0, RID = @RID, RID0 = @RID0, RSN = @RSN, QR = @QR,  | ||||
|                ZPL = @ZPL, POS = @POS, LOC = @LOC, ANGLE = @ANGLE, QTY = @QTY, QTY0 = @QTY0, wdate = @wdate, VNAME = @VNAME, PRNATTACH = @PRNATTACH, PRNVALID = @PRNVALID,  | ||||
|                PTIME = @PTIME, MFGDATE = @MFGDATE, VLOT = @VLOT, REMARK = @REMARK | ||||
| WHERE  (idx = @Original_idx);  | ||||
| SELECT idx, STIME, ETIME, PDATE, JTYPE, JGUID, SID, SID0, RID, RID0, RSN, QR, ZPL, POS, LOC, ANGLE, QTY, QTY0, wdate, VNAME, PRNATTACH, PRNVALID, PTIME, MFGDATE, VLOT, REMARK FROM Component_Reel_Result WHERE (idx = @idx) ORDER BY wdate DESC</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="STIME" ColumnName="STIME" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@STIME" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="STIME" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="ETIME" ColumnName="ETIME" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@ETIME" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="ETIME" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="PDATE" ColumnName="PDATE" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@PDATE" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="PDATE" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="JTYPE" ColumnName="JTYPE" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@JTYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="JTYPE" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="JGUID" ColumnName="JGUID" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@JGUID" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="JGUID" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="SID" ColumnName="SID" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@SID" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SID" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="SID0" ColumnName="SID0" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@SID0" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="SID0" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="RID" ColumnName="RID" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@RID" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="RID" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="RID0" ColumnName="RID0" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@RID0" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="RID0" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="RSN" ColumnName="RSN" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@RSN" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="RSN" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="QR" ColumnName="QR" DataSourceName="" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@QR" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="QR" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="ZPL" ColumnName="ZPL" DataSourceName="" DataTypeServer="varchar(1000)" DbType="AnsiString" Direction="Input" ParameterName="@ZPL" Precision="0" ProviderType="VarChar" Scale="0" Size="1000" SourceColumn="ZPL" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="POS" ColumnName="POS" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@POS" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="POS" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="LOC" ColumnName="LOC" DataSourceName="" DataTypeServer="varchar(1)" DbType="AnsiString" Direction="Input" ParameterName="@LOC" Precision="0" ProviderType="VarChar" Scale="0" Size="1" SourceColumn="LOC" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="ANGLE" ColumnName="ANGLE" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@ANGLE" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="ANGLE" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="QTY" ColumnName="QTY" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QTY" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="QTY" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="QTY0" ColumnName="QTY0" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QTY0" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="QTY0" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="VNAME" ColumnName="VNAME" DataSourceName="" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@VNAME" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="VNAME" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="PRNATTACH" ColumnName="PRNATTACH" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@PRNATTACH" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="PRNATTACH" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="PRNVALID" ColumnName="PRNVALID" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@PRNVALID" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="PRNVALID" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="PTIME" ColumnName="PTIME" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@PTIME" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="PTIME" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="MFGDATE" ColumnName="MFGDATE" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@MFGDATE" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="MFGDATE" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="VLOT" ColumnName="VLOT" DataSourceName="" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@VLOT" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="VLOT" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="REMARK" ColumnName="REMARK" DataSourceName="" DataTypeServer="varchar(200)" DbType="AnsiString" Direction="Input" ParameterName="@REMARK" Precision="0" ProviderType="VarChar" Scale="0" Size="200" SourceColumn="REMARK" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </UpdateCommand> | ||||
|               </DbSource> | ||||
|             </MainSource> | ||||
|             <Mappings> | ||||
|               <Mapping SourceColumn="idx" DataSetColumn="idx" /> | ||||
|               <Mapping SourceColumn="STIME" DataSetColumn="STIME" /> | ||||
|               <Mapping SourceColumn="ETIME" DataSetColumn="ETIME" /> | ||||
|               <Mapping SourceColumn="PDATE" DataSetColumn="PDATE" /> | ||||
|               <Mapping SourceColumn="JTYPE" DataSetColumn="JTYPE" /> | ||||
|               <Mapping SourceColumn="JGUID" DataSetColumn="JGUID" /> | ||||
|               <Mapping SourceColumn="SID" DataSetColumn="SID" /> | ||||
|               <Mapping SourceColumn="SID0" DataSetColumn="SID0" /> | ||||
|               <Mapping SourceColumn="RID" DataSetColumn="RID" /> | ||||
|               <Mapping SourceColumn="RID0" DataSetColumn="RID0" /> | ||||
|               <Mapping SourceColumn="RSN" DataSetColumn="RSN" /> | ||||
|               <Mapping SourceColumn="QR" DataSetColumn="QR" /> | ||||
|               <Mapping SourceColumn="ZPL" DataSetColumn="ZPL" /> | ||||
|               <Mapping SourceColumn="POS" DataSetColumn="POS" /> | ||||
|               <Mapping SourceColumn="LOC" DataSetColumn="LOC" /> | ||||
|               <Mapping SourceColumn="ANGLE" DataSetColumn="ANGLE" /> | ||||
|               <Mapping SourceColumn="QTY" DataSetColumn="QTY" /> | ||||
|               <Mapping SourceColumn="QTY0" DataSetColumn="QTY0" /> | ||||
|               <Mapping SourceColumn="wdate" DataSetColumn="wdate" /> | ||||
|               <Mapping SourceColumn="VNAME" DataSetColumn="VNAME" /> | ||||
|               <Mapping SourceColumn="PRNATTACH" DataSetColumn="PRNATTACH" /> | ||||
|               <Mapping SourceColumn="PRNVALID" DataSetColumn="PRNVALID" /> | ||||
|               <Mapping SourceColumn="PTIME" DataSetColumn="PTIME" /> | ||||
|               <Mapping SourceColumn="MFGDATE" DataSetColumn="MFGDATE" /> | ||||
|               <Mapping SourceColumn="VLOT" DataSetColumn="VLOT" /> | ||||
|               <Mapping SourceColumn="REMARK" DataSetColumn="REMARK" /> | ||||
|               <Mapping SourceColumn="PNO" DataSetColumn="PNO" /> | ||||
|             </Mappings> | ||||
|             <Sources> | ||||
|               <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBy50" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetBy50" GeneratorSourceName="FillBy50" GetMethodModifier="Public" GetMethodName="GetBy50" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetBy50" UserSourceName="FillBy50"> | ||||
|                 <SelectCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||
|                     <CommandText>SELECT TOP (50) ANGLE, ETIME, JGUID, JTYPE, LOC, MFGDATE, PDATE, POS, PRNATTACH, PRNVALID, PTIME, QR, QTY, QTY0, REMARK, RID, RID0, RSN, SID, SID0, STIME, VLOT, VNAME, ZPL, idx, wdate FROM Component_Reel_Result WHERE (CONVERT (varchar(10), wdate, 120) BETWEEN @sd AND @ed) ORDER BY wdate DESC</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="sd" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="ed" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </SelectCommand> | ||||
|               </DbSource> | ||||
|               <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_Result" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByLen7" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetByLen7" GeneratorSourceName="FillByLen7" GetMethodModifier="Public" GetMethodName="GetByLen7" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByLen7" UserSourceName="FillByLen7"> | ||||
|                 <SelectCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||
|                     <CommandText>SELECT  idx, STIME, ETIME, PDATE, JTYPE, JGUID, SID, SID0, RID, RID0, RSN, QR, ZPL, POS, LOC, ANGLE, QTY, QTY0, wdate, VNAME, PRNATTACH, PRNVALID, PTIME, MFGDATE, VLOT, REMARK, | ||||
|                    (SELECT  TOP (1) VAL1 | ||||
|                     FROM     dbo.FN_SPLIT(Component_Reel_Result.QR, ';') AS FN_SPLIT_1 | ||||
|                     WHERE  (POS = 7)) AS PNO | ||||
| FROM     Component_Reel_Result | ||||
| WHERE  (CONVERT(varchar(10), wdate, 120) BETWEEN @sd AND @ed) | ||||
| ORDER BY wdate DESC</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="sd" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="ed" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </SelectCommand> | ||||
|               </DbSource> | ||||
|             </Sources> | ||||
|           </TableAdapter> | ||||
|           <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Component_Reel_CustRuleTableAdapter" GeneratorDataComponentClassName="Component_Reel_CustRuleTableAdapter" Name="Component_Reel_CustRule" UserDataComponentName="Component_Reel_CustRuleTableAdapter"> | ||||
|             <MainSource> | ||||
|               <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_CustRule" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> | ||||
|                 <DeleteCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>DELETE FROM [Component_Reel_CustRule] WHERE (([idx] = @Original_idx) AND ([code] = @Original_code) AND ((@IsNull_pre = 1 AND [pre] IS NULL) OR ([pre] = @Original_pre)) AND ((@IsNull_pos = 1 AND [pos] IS NULL) OR ([pos] = @Original_pos)) AND ((@IsNull_len = 1 AND [len] IS NULL) OR ([len] = @Original_len)) AND ((@IsNull_exp = 1 AND [exp] IS NULL) OR ([exp] = @Original_exp)))</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pre" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pre" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pre" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pre" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pos" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pos" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pos" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pos" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_len" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="len" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_len" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="len" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_exp" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="exp" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_exp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="exp" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </DeleteCommand> | ||||
|                 <InsertCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>INSERT INTO [Component_Reel_CustRule] ([code], [pre], [pos], [len], [exp]) VALUES (@code, @pre, @pos, @len, @exp); | ||||
| SELECT idx, code, pre, pos, len, exp FROM Component_Reel_CustRule WHERE (idx = SCOPE_IDENTITY())</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pre" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pre" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pos" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pos" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@len" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="len" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@exp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="exp" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </InsertCommand> | ||||
|                 <SelectCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>SELECT  idx, code, pre, pos, len, exp | ||||
| FROM     Component_Reel_CustRule | ||||
| WHERE  (code = @code)</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code" DataSourceName="EE.dbo.Component_Reel_CustRule" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@code" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </SelectCommand> | ||||
|                 <UpdateCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>UPDATE [Component_Reel_CustRule] SET [code] = @code, [pre] = @pre, [pos] = @pos, [len] = @len, [exp] = @exp WHERE (([idx] = @Original_idx) AND ([code] = @Original_code) AND ((@IsNull_pre = 1 AND [pre] IS NULL) OR ([pre] = @Original_pre)) AND ((@IsNull_pos = 1 AND [pos] IS NULL) OR ([pos] = @Original_pos)) AND ((@IsNull_len = 1 AND [len] IS NULL) OR ([len] = @Original_len)) AND ((@IsNull_exp = 1 AND [exp] IS NULL) OR ([exp] = @Original_exp))); | ||||
| SELECT idx, code, pre, pos, len, exp FROM Component_Reel_CustRule WHERE (idx = @idx)</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pre" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pre" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pos" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pos" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@len" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="len" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@exp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="exp" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pre" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pre" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pre" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pre" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pos" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pos" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pos" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pos" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_len" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="len" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_len" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="len" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_exp" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="exp" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_exp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="exp" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.Component_Reel_CustRule" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </UpdateCommand> | ||||
|               </DbSource> | ||||
|             </MainSource> | ||||
|             <Mappings> | ||||
|               <Mapping SourceColumn="idx" DataSetColumn="idx" /> | ||||
|               <Mapping SourceColumn="code" DataSetColumn="code" /> | ||||
|               <Mapping SourceColumn="pre" DataSetColumn="pre" /> | ||||
|               <Mapping SourceColumn="pos" DataSetColumn="pos" /> | ||||
|               <Mapping SourceColumn="len" DataSetColumn="len" /> | ||||
|               <Mapping SourceColumn="exp" DataSetColumn="exp" /> | ||||
|             </Mappings> | ||||
|             <Sources /> | ||||
|           </TableAdapter> | ||||
|           <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Component_Reel_CustInfoTableAdapter" GeneratorDataComponentClassName="Component_Reel_CustInfoTableAdapter" Name="Component_Reel_CustInfo" UserDataComponentName="Component_Reel_CustInfoTableAdapter"> | ||||
|             <MainSource> | ||||
|               <DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.Component_Reel_CustInfo" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> | ||||
|                 <DeleteCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>DELETE FROM [Component_Reel_CustInfo] WHERE (([code] = @Original_code) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)))</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </DeleteCommand> | ||||
|                 <InsertCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>INSERT INTO [Component_Reel_CustInfo] ([code], [name]) VALUES (@code, @name); | ||||
| SELECT code, name FROM Component_Reel_CustInfo WHERE (code = @code) ORDER BY code, name</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </InsertCommand> | ||||
|                 <SelectCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="true"> | ||||
|                     <CommandText>SELECT  code, name | ||||
| FROM     Component_Reel_CustInfo | ||||
| ORDER BY code, name</CommandText> | ||||
|                     <Parameters /> | ||||
|                   </DbCommand> | ||||
|                 </SelectCommand> | ||||
|                 <UpdateCommand> | ||||
|                   <DbCommand CommandType="Text" ModifiedByUser="false"> | ||||
|                     <CommandText>UPDATE [Component_Reel_CustInfo] SET [code] = @code, [name] = @name WHERE (([code] = @Original_code) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name))); | ||||
| SELECT code, name FROM Component_Reel_CustInfo WHERE (code = @code) ORDER BY code, name</CommandText> | ||||
|                     <Parameters> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> | ||||
|                       <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_code" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" /> | ||||
|                       <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" /> | ||||
|                     </Parameters> | ||||
|                   </DbCommand> | ||||
|                 </UpdateCommand> | ||||
|               </DbSource> | ||||
|             </MainSource> | ||||
|             <Mappings> | ||||
|               <Mapping SourceColumn="code" DataSetColumn="code" /> | ||||
|               <Mapping SourceColumn="name" DataSetColumn="name" /> | ||||
|             </Mappings> | ||||
|             <Sources /> | ||||
|           </TableAdapter> | ||||
|         </Tables> | ||||
|         <Sources /> | ||||
|       </DataSource> | ||||
|     </xs:appinfo> | ||||
|   </xs:annotation> | ||||
|   <xs:element name="DataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DataSet1" msprop:Generator_UserDSName="DataSet1"> | ||||
|     <xs:complexType> | ||||
|       <xs:choice minOccurs="0" maxOccurs="unbounded"> | ||||
|         <xs:element name="Users" msprop:Generator_TableClassName="UsersDataTable" msprop:Generator_TableVarName="tableUsers" msprop:Generator_RowChangedName="UsersRowChanged" msprop:Generator_TablePropName="Users" msprop:Generator_RowDeletingName="UsersRowDeleting" msprop:Generator_RowChangingName="UsersRowChanging" msprop:Generator_RowEvHandlerName="UsersRowChangeEventHandler" msprop:Generator_RowDeletedName="UsersRowDeleted" msprop:Generator_RowClassName="UsersRow" msprop:Generator_UserTableName="Users" msprop:Generator_RowEvArgName="UsersRowChangeEvent"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
|               <xs:element name="No" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="No" msprop:Generator_ColumnVarNameInTable="columnNo" msprop:Generator_ColumnPropNameInTable="NoColumn" msprop:Generator_UserColumnName="No" type="xs:string" minOccurs="0" /> | ||||
|               <xs:element name="Name" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" type="xs:string" minOccurs="0" /> | ||||
|               <xs:element name="Memo" msprop:nullValue="" msprop:Generator_ColumnPropNameInRow="Memo" msprop:Generator_ColumnVarNameInTable="columnMemo" msprop:Generator_ColumnPropNameInTable="MemoColumn" msprop:Generator_UserColumnName="Memo" type="xs:string" minOccurs="0" /> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="MCModel" msprop:Generator_TableClassName="MCModelDataTable" msprop:Generator_TableVarName="tableMCModel" msprop:Generator_TablePropName="MCModel" msprop:Generator_RowDeletingName="MCModelRowDeleting" msprop:Generator_RowChangingName="MCModelRowChanging" msprop:Generator_RowEvHandlerName="MCModelRowChangeEventHandler" msprop:Generator_RowDeletedName="MCModelRowDeleted" msprop:Generator_UserTableName="MCModel" msprop:Generator_RowChangedName="MCModelRowChanged" msprop:Generator_RowEvArgName="MCModelRowChangeEvent" msprop:Generator_RowClassName="MCModelRow"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
|               <xs:element name="Title" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInTable="TitleColumn" msprop:Generator_UserColumnName="Title" type="xs:string" minOccurs="0" /> | ||||
|               <xs:element name="pidx" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="pidx" msprop:Generator_ColumnVarNameInTable="columnpidx" msprop:Generator_ColumnPropNameInTable="pidxColumn" msprop:Generator_UserColumnName="pidx" type="xs:int" minOccurs="0" /> | ||||
|               <xs:element name="MotIndex" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="MotIndex" msprop:Generator_ColumnVarNameInTable="columnMotIndex" msprop:Generator_ColumnPropNameInTable="MotIndexColumn" msprop:Generator_UserColumnName="MotIndex" type="xs:short" minOccurs="0" /> | ||||
|               <xs:element name="PosIndex" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="PosIndex" msprop:Generator_ColumnVarNameInTable="columnPosIndex" msprop:Generator_ColumnPropNameInTable="PosIndexColumn" msprop:Generator_UserColumnName="PosIndex" type="xs:short" minOccurs="0" /> | ||||
|               <xs:element name="PosTitle" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PosTitle" msprop:Generator_ColumnVarNameInTable="columnPosTitle" msprop:Generator_ColumnPropNameInTable="PosTitleColumn" msprop:Generator_UserColumnName="PosTitle" type="xs:string" minOccurs="0" /> | ||||
|               <xs:element name="Position" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="Position" msprop:Generator_ColumnVarNameInTable="columnPosition" msprop:Generator_ColumnPropNameInTable="PositionColumn" msprop:Generator_UserColumnName="Position" type="xs:double" minOccurs="0" /> | ||||
|               <xs:element name="SpdTitle" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="SpdTitle" msprop:Generator_ColumnVarNameInTable="columnSpdTitle" msprop:Generator_ColumnPropNameInTable="SpdTitleColumn" msprop:Generator_UserColumnName="SpdTitle" type="xs:string" minOccurs="0" /> | ||||
|               <xs:element name="Speed" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="Speed" msprop:Generator_ColumnVarNameInTable="columnSpeed" msprop:Generator_ColumnPropNameInTable="SpeedColumn" msprop:Generator_UserColumnName="Speed" type="xs:double" minOccurs="0" /> | ||||
|               <xs:element name="SpeedAcc" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="SpeedAcc" msprop:Generator_ColumnVarNameInTable="columnSpeedAcc" msprop:Generator_ColumnPropNameInTable="SpeedAccColumn" msprop:Generator_UserColumnName="SpeedAcc" type="xs:double" minOccurs="0" /> | ||||
|               <xs:element name="Check" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="Check" msprop:Generator_ColumnVarNameInTable="columnCheck" msprop:Generator_ColumnPropNameInTable="CheckColumn" msprop:Generator_UserColumnName="Check" type="xs:boolean" minOccurs="0" /> | ||||
|               <xs:element name="SpeedDcc" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="SpeedDcc" msprop:Generator_ColumnVarNameInTable="columnSpeedDcc" msprop:Generator_ColumnPropNameInTable="SpeedDccColumn" msprop:Generator_UserColumnName="SpeedDcc" type="xs:double" minOccurs="0" /> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="language" msprop:Generator_TableClassName="languageDataTable" msprop:Generator_TableVarName="tablelanguage" msprop:Generator_TablePropName="language" msprop:Generator_RowDeletingName="languageRowDeleting" msprop:Generator_RowChangingName="languageRowChanging" msprop:Generator_RowEvHandlerName="languageRowChangeEventHandler" msprop:Generator_RowDeletedName="languageRowDeleted" msprop:Generator_UserTableName="language" msprop:Generator_RowChangedName="languageRowChanged" msprop:Generator_RowEvArgName="languageRowChangeEvent" msprop:Generator_RowClassName="languageRow"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="Section" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Section" msprop:Generator_ColumnVarNameInTable="columnSection" msprop:Generator_ColumnPropNameInTable="SectionColumn" msprop:Generator_UserColumnName="Section" type="xs:string" /> | ||||
|               <xs:element name="Key" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Key" msprop:Generator_ColumnVarNameInTable="columnKey" msprop:Generator_ColumnPropNameInTable="KeyColumn" msprop:Generator_UserColumnName="Key" type="xs:string" /> | ||||
|               <xs:element name="Value" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Value" msprop:Generator_ColumnVarNameInTable="columnValue" msprop:Generator_ColumnPropNameInTable="ValueColumn" msprop:Generator_UserColumnName="Value" type="xs:string" minOccurs="0" /> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="Model" msprop:Generator_TableClassName="ModelDataTable" msprop:Generator_TableVarName="tableModel" msprop:Generator_RowChangedName="ModelRowChanged" msprop:Generator_TablePropName="Model" msprop:Generator_RowDeletingName="ModelRowDeleting" msprop:Generator_RowChangingName="ModelRowChanging" msprop:Generator_RowEvHandlerName="ModelRowChangeEventHandler" msprop:Generator_RowDeletedName="ModelRowDeleted" msprop:Generator_RowClassName="ModelRow" msprop:Generator_UserTableName="Model" msprop:Generator_RowEvArgName="ModelRowChangeEvent"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
|               <xs:element name="Midx" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="Midx" msprop:Generator_ColumnVarNameInTable="columnMidx" msprop:Generator_ColumnPropNameInTable="MidxColumn" msprop:Generator_UserColumnName="Midx" type="xs:int" minOccurs="0" /> | ||||
|               <xs:element name="Title" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInTable="TitleColumn" msprop:Generator_UserColumnName="Title" type="xs:string" minOccurs="0" /> | ||||
|               <xs:element name="Memo" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Memo" msprop:Generator_ColumnVarNameInTable="columnMemo" msprop:Generator_ColumnPropNameInTable="MemoColumn" msprop:Generator_UserColumnName="Memo" type="xs:string" minOccurs="0" /> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="BCDData" msprop:Generator_TableClassName="BCDDataDataTable" msprop:Generator_TableVarName="tableBCDData" msprop:Generator_TablePropName="BCDData" msprop:Generator_RowDeletingName="BCDDataRowDeleting" msprop:Generator_RowChangingName="BCDDataRowChanging" msprop:Generator_RowEvHandlerName="BCDDataRowChangeEventHandler" msprop:Generator_RowDeletedName="BCDDataRowDeleted" msprop:Generator_UserTableName="BCDData" msprop:Generator_RowChangedName="BCDDataRowChanged" msprop:Generator_RowEvArgName="BCDDataRowChangeEvent" msprop:Generator_RowClassName="BCDDataRow"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="Start" msprop:Generator_ColumnVarNameInTable="columnStart" msprop:Generator_ColumnPropNameInRow="Start" msprop:Generator_ColumnPropNameInTable="StartColumn" msprop:Generator_UserColumnName="Start" type="xs:dateTime" /> | ||||
|               <xs:element name="ID" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:string" minOccurs="0" /> | ||||
|               <xs:element name="SID" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="SID" msprop:Generator_ColumnVarNameInTable="columnSID" msprop:Generator_ColumnPropNameInTable="SIDColumn" msprop:Generator_UserColumnName="SID" type="xs:string" minOccurs="0" /> | ||||
|               <xs:element name="RAW" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="RAW" msprop:Generator_ColumnVarNameInTable="columnRAW" msprop:Generator_ColumnPropNameInTable="RAWColumn" msprop:Generator_UserColumnName="RAW" type="xs:string" minOccurs="0" /> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="UserSID" msprop:Generator_TableClassName="UserSIDDataTable" msprop:Generator_TableVarName="tableUserSID" msprop:Generator_RowChangedName="UserSIDRowChanged" msprop:Generator_TablePropName="UserSID" msprop:Generator_RowDeletingName="UserSIDRowDeleting" msprop:Generator_RowChangingName="UserSIDRowChanging" msprop:Generator_RowEvHandlerName="UserSIDRowChangeEventHandler" msprop:Generator_RowDeletedName="UserSIDRowDeleted" msprop:Generator_RowClassName="UserSIDRow" msprop:Generator_UserTableName="UserSID" msprop:Generator_RowEvArgName="UserSIDRowChangeEvent"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
|               <xs:element name="Port" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Port" msprop:Generator_ColumnVarNameInTable="columnPort" msprop:Generator_ColumnPropNameInTable="PortColumn" msprop:Generator_UserColumnName="Port" type="xs:string" minOccurs="0" /> | ||||
|               <xs:element name="SID" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="SID" msprop:Generator_ColumnVarNameInTable="columnSID" msprop:Generator_ColumnPropNameInTable="SIDColumn" msprop:Generator_UserColumnName="SID" type="xs:string" minOccurs="0" /> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="MailFormat" msprop:Generator_TableClassName="MailFormatDataTable" msprop:Generator_TableVarName="tableMailFormat" msprop:Generator_TablePropName="MailFormat" msprop:Generator_RowDeletingName="MailFormatRowDeleting" msprop:Generator_RowChangingName="MailFormatRowChanging" msprop:Generator_RowEvHandlerName="MailFormatRowChangeEventHandler" msprop:Generator_RowDeletedName="MailFormatRowDeleted" msprop:Generator_UserTableName="MailFormat" msprop:Generator_RowChangedName="MailFormatRowChanged" msprop:Generator_RowEvArgName="MailFormatRowChangeEvent" msprop:Generator_RowClassName="MailFormatRow"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="subject" msprop:Generator_ColumnVarNameInTable="columnsubject" msprop:Generator_ColumnPropNameInRow="subject" msprop:Generator_ColumnPropNameInTable="subjectColumn" msprop:Generator_UserColumnName="subject" type="xs:string" minOccurs="0" /> | ||||
|               <xs:element name="content" msprop:Generator_ColumnVarNameInTable="columncontent" msprop:Generator_ColumnPropNameInRow="content" msprop:Generator_ColumnPropNameInTable="contentColumn" msprop:Generator_UserColumnName="content" type="xs:string" minOccurs="0" /> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="MailRecipient" msprop:Generator_TableClassName="MailRecipientDataTable" msprop:Generator_TableVarName="tableMailRecipient" msprop:Generator_TablePropName="MailRecipient" msprop:Generator_RowDeletingName="MailRecipientRowDeleting" msprop:Generator_RowChangingName="MailRecipientRowChanging" msprop:Generator_RowEvHandlerName="MailRecipientRowChangeEventHandler" msprop:Generator_RowDeletedName="MailRecipientRowDeleted" msprop:Generator_UserTableName="MailRecipient" msprop:Generator_RowChangedName="MailRecipientRowChanged" msprop:Generator_RowEvArgName="MailRecipientRowChangeEvent" msprop:Generator_RowClassName="MailRecipientRow"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
|               <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" type="xs:string" minOccurs="0" /> | ||||
|               <xs:element name="Address" msprop:Generator_ColumnVarNameInTable="columnAddress" msprop:Generator_ColumnPropNameInRow="Address" msprop:Generator_ColumnPropNameInTable="AddressColumn" msprop:Generator_UserColumnName="Address" type="xs:string" minOccurs="0" /> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="SIDHistory" msprop:Generator_TableClassName="SIDHistoryDataTable" msprop:Generator_TableVarName="tableSIDHistory" msprop:Generator_RowChangedName="SIDHistoryRowChanged" msprop:Generator_TablePropName="SIDHistory" msprop:Generator_RowDeletingName="SIDHistoryRowDeleting" msprop:Generator_RowChangingName="SIDHistoryRowChanging" msprop:Generator_RowEvHandlerName="SIDHistoryRowChangeEventHandler" msprop:Generator_RowDeletedName="SIDHistoryRowDeleted" msprop:Generator_RowClassName="SIDHistoryRow" msprop:Generator_UserTableName="SIDHistory" msprop:Generator_RowEvArgName="SIDHistoryRowChangeEvent"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
|               <xs:element name="time" msprop:Generator_ColumnVarNameInTable="columntime" msprop:Generator_ColumnPropNameInRow="time" msprop:Generator_ColumnPropNameInTable="timeColumn" msprop:Generator_UserColumnName="time" type="xs:dateTime" minOccurs="0" /> | ||||
|               <xs:element name="seqdate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="seqdate" msprop:Generator_ColumnVarNameInTable="columnseqdate" msprop:Generator_ColumnPropNameInTable="seqdateColumn" msprop:Generator_UserColumnName="seqdate" type="xs:string" minOccurs="0" /> | ||||
|               <xs:element name="seqno" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="seqno" msprop:Generator_ColumnVarNameInTable="columnseqno" msprop:Generator_ColumnPropNameInTable="seqnoColumn" msprop:Generator_UserColumnName="seqno" type="xs:string" minOccurs="0" /> | ||||
|               <xs:element name="sid" msdata:Caption="info_filename" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="sid" msprop:Generator_ColumnVarNameInTable="columnsid" msprop:Generator_ColumnPropNameInTable="sidColumn" msprop:Generator_UserColumnName="sid" type="xs:string" minOccurs="0" /> | ||||
|               <xs:element name="rid" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="rid" msprop:Generator_ColumnVarNameInTable="columnrid" msprop:Generator_ColumnPropNameInTable="ridColumn" msprop:Generator_UserColumnName="rid" type="xs:string" minOccurs="0" /> | ||||
|               <xs:element name="qty" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="qty" msprop:Generator_ColumnVarNameInTable="columnqty" msprop:Generator_ColumnPropNameInTable="qtyColumn" msprop:Generator_UserColumnName="qty" type="xs:int" minOccurs="0" /> | ||||
|               <xs:element name="rev" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="rev" msprop:Generator_ColumnVarNameInTable="columnrev" msprop:Generator_ColumnPropNameInTable="revColumn" msprop:Generator_UserColumnName="rev" type="xs:int" minOccurs="0" /> | ||||
|               <xs:element name="acc" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="acc" msprop:Generator_ColumnVarNameInTable="columnacc" msprop:Generator_ColumnPropNameInTable="accColumn" msprop:Generator_UserColumnName="acc" type="xs:int" minOccurs="0" /> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="Component_Reel_SIDConv" msprop:Generator_TableClassName="Component_Reel_SIDConvDataTable" msprop:Generator_TableVarName="tableComponent_Reel_SIDConv" msprop:Generator_TablePropName="Component_Reel_SIDConv" msprop:Generator_RowDeletingName="Component_Reel_SIDConvRowDeleting" msprop:Generator_RowChangingName="Component_Reel_SIDConvRowChanging" msprop:Generator_RowEvHandlerName="Component_Reel_SIDConvRowChangeEventHandler" msprop:Generator_RowDeletedName="Component_Reel_SIDConvRowDeleted" msprop:Generator_UserTableName="Component_Reel_SIDConv" msprop:Generator_RowChangedName="Component_Reel_SIDConvRowChanged" msprop:Generator_RowEvArgName="Component_Reel_SIDConvRowChangeEvent" msprop:Generator_RowClassName="Component_Reel_SIDConvRow"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
|               <xs:element name="M101" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="M101" msprop:Generator_ColumnVarNameInTable="columnM101" msprop:Generator_ColumnPropNameInTable="M101Column" msprop:Generator_UserColumnName="M101" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="20" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="M103" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="M103" msprop:Generator_ColumnVarNameInTable="columnM103" msprop:Generator_ColumnPropNameInTable="M103Column" msprop:Generator_UserColumnName="M103" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="20" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="M106" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="M106" msprop:Generator_ColumnVarNameInTable="columnM106" msprop:Generator_ColumnPropNameInTable="M106Column" msprop:Generator_UserColumnName="M106" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="20" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="Remark" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Remark" msprop:Generator_ColumnVarNameInTable="columnRemark" msprop:Generator_ColumnPropNameInTable="RemarkColumn" msprop:Generator_UserColumnName="Remark" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="M108" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="M108" msprop:Generator_ColumnVarNameInTable="columnM108" msprop:Generator_ColumnPropNameInTable="M108Column" msprop:Generator_UserColumnName="M108" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="20" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="M103_2" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="M103_2" msprop:Generator_ColumnVarNameInTable="columnM103_2" msprop:Generator_ColumnPropNameInTable="M103_2Column" msprop:Generator_UserColumnName="M103_2" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="20" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="Component_Reel_SIDInfo" msprop:Generator_TableClassName="Component_Reel_SIDInfoDataTable" msprop:Generator_TableVarName="tableComponent_Reel_SIDInfo" msprop:Generator_RowChangedName="Component_Reel_SIDInfoRowChanged" msprop:Generator_TablePropName="Component_Reel_SIDInfo" msprop:Generator_RowDeletingName="Component_Reel_SIDInfoRowDeleting" msprop:Generator_RowChangingName="Component_Reel_SIDInfoRowChanging" msprop:Generator_RowEvHandlerName="Component_Reel_SIDInfoRowChangeEventHandler" msprop:Generator_RowDeletedName="Component_Reel_SIDInfoRowDeleted" msprop:Generator_RowClassName="Component_Reel_SIDInfoRow" msprop:Generator_UserTableName="Component_Reel_SIDInfo" msprop:Generator_RowEvArgName="Component_Reel_SIDInfoRowChangeEvent"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="SID" msprop:Generator_ColumnVarNameInTable="columnSID" msprop:Generator_ColumnPropNameInRow="SID" msprop:Generator_ColumnPropNameInTable="SIDColumn" msprop:Generator_UserColumnName="SID"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="50" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="CustCode" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="CustCode" msprop:Generator_ColumnVarNameInTable="columnCustCode" msprop:Generator_ColumnPropNameInTable="CustCodeColumn" msprop:Generator_UserColumnName="CustCode"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="10" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="CustName" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="CustName" msprop:Generator_ColumnVarNameInTable="columnCustName" msprop:Generator_ColumnPropNameInTable="CustNameColumn" msprop:Generator_UserColumnName="CustName" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="VenderName" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="VenderName" msprop:Generator_ColumnVarNameInTable="columnVenderName" msprop:Generator_ColumnPropNameInTable="VenderNameColumn" msprop:Generator_UserColumnName="VenderName" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="PartNo" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PartNo" msprop:Generator_ColumnVarNameInTable="columnPartNo" msprop:Generator_ColumnPropNameInTable="PartNoColumn" msprop:Generator_UserColumnName="PartNo"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="PrintPosition" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PrintPosition" msprop:Generator_ColumnVarNameInTable="columnPrintPosition" msprop:Generator_ColumnPropNameInTable="PrintPositionColumn" msprop:Generator_UserColumnName="PrintPosition" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="10" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="Remark" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Remark" msprop:Generator_ColumnVarNameInTable="columnRemark" msprop:Generator_ColumnPropNameInTable="RemarkColumn" msprop:Generator_UserColumnName="Remark" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="Component_Reel_Result" msprop:Generator_TableClassName="Component_Reel_ResultDataTable" msprop:Generator_TableVarName="tableComponent_Reel_Result" msprop:Generator_RowChangedName="Component_Reel_ResultRowChanged" msprop:Generator_TablePropName="Component_Reel_Result" msprop:Generator_RowDeletingName="Component_Reel_ResultRowDeleting" msprop:Generator_RowChangingName="Component_Reel_ResultRowChanging" msprop:Generator_RowEvHandlerName="Component_Reel_ResultRowChangeEventHandler" msprop:Generator_RowDeletedName="Component_Reel_ResultRowDeleted" msprop:Generator_RowClassName="Component_Reel_ResultRow" msprop:Generator_UserTableName="Component_Reel_Result" msprop:Generator_RowEvArgName="Component_Reel_ResultRowChangeEvent"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
|               <xs:element name="STIME" msprop:Generator_ColumnVarNameInTable="columnSTIME" msprop:Generator_ColumnPropNameInRow="STIME" msprop:Generator_ColumnPropNameInTable="STIMEColumn" msprop:Generator_UserColumnName="STIME" type="xs:dateTime" /> | ||||
|               <xs:element name="ETIME" msprop:Generator_ColumnVarNameInTable="columnETIME" msprop:Generator_ColumnPropNameInRow="ETIME" msprop:Generator_ColumnPropNameInTable="ETIMEColumn" msprop:Generator_UserColumnName="ETIME" type="xs:dateTime" minOccurs="0" /> | ||||
|               <xs:element name="PDATE" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PDATE" msprop:Generator_ColumnVarNameInTable="columnPDATE" msprop:Generator_ColumnPropNameInTable="PDATEColumn" msprop:Generator_UserColumnName="PDATE" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="10" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="JTYPE" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="JTYPE" msprop:Generator_ColumnVarNameInTable="columnJTYPE" msprop:Generator_ColumnPropNameInTable="JTYPEColumn" msprop:Generator_UserColumnName="JTYPE" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="10" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="JGUID" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="JGUID" msprop:Generator_ColumnVarNameInTable="columnJGUID" msprop:Generator_ColumnPropNameInTable="JGUIDColumn" msprop:Generator_UserColumnName="JGUID" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="50" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="SID" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="SID" msprop:Generator_ColumnVarNameInTable="columnSID" msprop:Generator_ColumnPropNameInTable="SIDColumn" msprop:Generator_UserColumnName="SID" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="20" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="SID0" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="SID0" msprop:Generator_ColumnVarNameInTable="columnSID0" msprop:Generator_ColumnPropNameInTable="SID0Column" msprop:Generator_UserColumnName="SID0" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="20" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="RID" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="RID" msprop:Generator_ColumnVarNameInTable="columnRID" msprop:Generator_ColumnPropNameInTable="RIDColumn" msprop:Generator_UserColumnName="RID" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="50" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="RID0" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="RID0" msprop:Generator_ColumnVarNameInTable="columnRID0" msprop:Generator_ColumnPropNameInTable="RID0Column" msprop:Generator_UserColumnName="RID0" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="50" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="RSN" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="RSN" msprop:Generator_ColumnVarNameInTable="columnRSN" msprop:Generator_ColumnPropNameInTable="RSNColumn" msprop:Generator_UserColumnName="RSN" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="10" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="QR" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="QR" msprop:Generator_ColumnVarNameInTable="columnQR" msprop:Generator_ColumnPropNameInTable="QRColumn" msprop:Generator_UserColumnName="QR" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="ZPL" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ZPL" msprop:Generator_ColumnVarNameInTable="columnZPL" msprop:Generator_ColumnPropNameInTable="ZPLColumn" msprop:Generator_UserColumnName="ZPL" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="1000" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="POS" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="POS" msprop:Generator_ColumnVarNameInTable="columnPOS" msprop:Generator_ColumnPropNameInTable="POSColumn" msprop:Generator_UserColumnName="POS" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="10" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="LOC" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="LOC" msprop:Generator_ColumnVarNameInTable="columnLOC" msprop:Generator_ColumnPropNameInTable="LOCColumn" msprop:Generator_UserColumnName="LOC" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="1" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="ANGLE" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="ANGLE" msprop:Generator_ColumnVarNameInTable="columnANGLE" msprop:Generator_ColumnPropNameInTable="ANGLEColumn" msprop:Generator_UserColumnName="ANGLE" type="xs:double" minOccurs="0" /> | ||||
|               <xs:element name="QTY" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="QTY" msprop:Generator_ColumnVarNameInTable="columnQTY" msprop:Generator_ColumnPropNameInTable="QTYColumn" msprop:Generator_UserColumnName="QTY" type="xs:int" minOccurs="0" /> | ||||
|               <xs:element name="QTY0" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="QTY0" msprop:Generator_ColumnVarNameInTable="columnQTY0" msprop:Generator_ColumnPropNameInTable="QTY0Column" msprop:Generator_UserColumnName="QTY0" type="xs:int" minOccurs="0" /> | ||||
|               <xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" /> | ||||
|               <xs:element name="VNAME" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="VNAME" msprop:Generator_ColumnVarNameInTable="columnVNAME" msprop:Generator_ColumnPropNameInTable="VNAMEColumn" msprop:Generator_UserColumnName="VNAME" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="PRNATTACH" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="PRNATTACH" msprop:Generator_ColumnVarNameInTable="columnPRNATTACH" msprop:Generator_ColumnPropNameInTable="PRNATTACHColumn" msprop:Generator_UserColumnName="PRNATTACH" type="xs:boolean" minOccurs="0" /> | ||||
|               <xs:element name="PRNVALID" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="PRNVALID" msprop:Generator_ColumnVarNameInTable="columnPRNVALID" msprop:Generator_ColumnPropNameInTable="PRNVALIDColumn" msprop:Generator_UserColumnName="PRNVALID" type="xs:boolean" minOccurs="0" /> | ||||
|               <xs:element name="PTIME" msprop:Generator_ColumnVarNameInTable="columnPTIME" msprop:Generator_ColumnPropNameInRow="PTIME" msprop:Generator_ColumnPropNameInTable="PTIMEColumn" msprop:Generator_UserColumnName="PTIME" type="xs:dateTime" minOccurs="0" /> | ||||
|               <xs:element name="MFGDATE" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="MFGDATE" msprop:Generator_ColumnVarNameInTable="columnMFGDATE" msprop:Generator_ColumnPropNameInTable="MFGDATEColumn" msprop:Generator_UserColumnName="MFGDATE" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="20" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="VLOT" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="VLOT" msprop:Generator_ColumnVarNameInTable="columnVLOT" msprop:Generator_ColumnPropNameInTable="VLOTColumn" msprop:Generator_UserColumnName="VLOT" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="REMARK" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="REMARK" msprop:Generator_ColumnVarNameInTable="columnREMARK" msprop:Generator_ColumnPropNameInTable="REMARKColumn" msprop:Generator_UserColumnName="REMARK" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="200" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="PNO" msdata:ReadOnly="true" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PNO" msprop:Generator_ColumnVarNameInTable="columnPNO" msprop:Generator_ColumnPropNameInTable="PNOColumn" msprop:Generator_UserColumnName="PNO" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="200" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="Component_Reel_CustRule" msprop:Generator_TableClassName="Component_Reel_CustRuleDataTable" msprop:Generator_TableVarName="tableComponent_Reel_CustRule" msprop:Generator_RowChangedName="Component_Reel_CustRuleRowChanged" msprop:Generator_TablePropName="Component_Reel_CustRule" msprop:Generator_RowDeletingName="Component_Reel_CustRuleRowDeleting" msprop:Generator_RowChangingName="Component_Reel_CustRuleRowChanging" msprop:Generator_RowEvHandlerName="Component_Reel_CustRuleRowChangeEventHandler" msprop:Generator_RowDeletedName="Component_Reel_CustRuleRowDeleted" msprop:Generator_RowClassName="Component_Reel_CustRuleRow" msprop:Generator_UserTableName="Component_Reel_CustRule" msprop:Generator_RowEvArgName="Component_Reel_CustRuleRowChangeEvent"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> | ||||
|               <xs:element name="code" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="code" msprop:Generator_ColumnVarNameInTable="columncode" msprop:Generator_ColumnPropNameInTable="codeColumn" msprop:Generator_UserColumnName="code"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="10" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="pre" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="pre" msprop:Generator_ColumnVarNameInTable="columnpre" msprop:Generator_ColumnPropNameInTable="preColumn" msprop:Generator_UserColumnName="pre" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="20" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="pos" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="pos" msprop:Generator_ColumnVarNameInTable="columnpos" msprop:Generator_ColumnPropNameInTable="posColumn" msprop:Generator_UserColumnName="pos" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="20" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="len" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="len" msprop:Generator_ColumnVarNameInTable="columnlen" msprop:Generator_ColumnPropNameInTable="lenColumn" msprop:Generator_UserColumnName="len" type="xs:int" minOccurs="0" /> | ||||
|               <xs:element name="exp" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="exp" msprop:Generator_ColumnVarNameInTable="columnexp" msprop:Generator_ColumnPropNameInTable="expColumn" msprop:Generator_UserColumnName="exp" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|         <xs:element name="Component_Reel_CustInfo" msprop:Generator_TableClassName="Component_Reel_CustInfoDataTable" msprop:Generator_TableVarName="tableComponent_Reel_CustInfo" msprop:Generator_RowChangedName="Component_Reel_CustInfoRowChanged" msprop:Generator_TablePropName="Component_Reel_CustInfo" msprop:Generator_RowDeletingName="Component_Reel_CustInfoRowDeleting" msprop:Generator_RowChangingName="Component_Reel_CustInfoRowChanging" msprop:Generator_RowEvHandlerName="Component_Reel_CustInfoRowChangeEventHandler" msprop:Generator_RowDeletedName="Component_Reel_CustInfoRowDeleted" msprop:Generator_RowClassName="Component_Reel_CustInfoRow" msprop:Generator_UserTableName="Component_Reel_CustInfo" msprop:Generator_RowEvArgName="Component_Reel_CustInfoRowChangeEvent"> | ||||
|           <xs:complexType> | ||||
|             <xs:sequence> | ||||
|               <xs:element name="code" msprop:Generator_ColumnVarNameInTable="columncode" msprop:Generator_ColumnPropNameInRow="code" msprop:Generator_ColumnPropNameInTable="codeColumn" msprop:Generator_UserColumnName="code"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="10" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|               <xs:element name="name" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0"> | ||||
|                 <xs:simpleType> | ||||
|                   <xs:restriction base="xs:string"> | ||||
|                     <xs:maxLength value="100" /> | ||||
|                   </xs:restriction> | ||||
|                 </xs:simpleType> | ||||
|               </xs:element> | ||||
|             </xs:sequence> | ||||
|           </xs:complexType> | ||||
|         </xs:element> | ||||
|       </xs:choice> | ||||
|     </xs:complexType> | ||||
|     <xs:unique name="Constraint1" msdata:PrimaryKey="true"> | ||||
|       <xs:selector xpath=".//mstns:Users" /> | ||||
|       <xs:field xpath="mstns:idx" /> | ||||
|     </xs:unique> | ||||
|     <xs:unique name="MCModel_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true"> | ||||
|       <xs:selector xpath=".//mstns:MCModel" /> | ||||
|       <xs:field xpath="mstns:idx" /> | ||||
|     </xs:unique> | ||||
|     <xs:unique name="language_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true"> | ||||
|       <xs:selector xpath=".//mstns:language" /> | ||||
|       <xs:field xpath="mstns:Key" /> | ||||
|       <xs:field xpath="mstns:Section" /> | ||||
|     </xs:unique> | ||||
|     <xs:unique name="Model_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true"> | ||||
|       <xs:selector xpath=".//mstns:Model" /> | ||||
|       <xs:field xpath="mstns:idx" /> | ||||
|     </xs:unique> | ||||
|     <xs:unique name="BCDData_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true"> | ||||
|       <xs:selector xpath=".//mstns:BCDData" /> | ||||
|       <xs:field xpath="mstns:Start" /> | ||||
|     </xs:unique> | ||||
|     <xs:unique name="UserSID_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true"> | ||||
|       <xs:selector xpath=".//mstns:UserSID" /> | ||||
|       <xs:field xpath="mstns:idx" /> | ||||
|     </xs:unique> | ||||
|     <xs:unique name="MailRecipient_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true"> | ||||
|       <xs:selector xpath=".//mstns:MailRecipient" /> | ||||
|       <xs:field xpath="mstns:idx" /> | ||||
|     </xs:unique> | ||||
|     <xs:unique name="Constraint11"> | ||||
|       <xs:selector xpath=".//mstns:SIDHistory" /> | ||||
|       <xs:field xpath="mstns:idx" /> | ||||
|     </xs:unique> | ||||
|     <xs:unique name="Component_Reel_SIDConv_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true"> | ||||
|       <xs:selector xpath=".//mstns:Component_Reel_SIDConv" /> | ||||
|       <xs:field xpath="mstns:idx" /> | ||||
|     </xs:unique> | ||||
|     <xs:unique name="Component_Reel_SIDInfo_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true"> | ||||
|       <xs:selector xpath=".//mstns:Component_Reel_SIDInfo" /> | ||||
|       <xs:field xpath="mstns:SID" /> | ||||
|     </xs:unique> | ||||
|     <xs:unique name="Component_Reel_Result_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true"> | ||||
|       <xs:selector xpath=".//mstns:Component_Reel_Result" /> | ||||
|       <xs:field xpath="mstns:idx" /> | ||||
|     </xs:unique> | ||||
|     <xs:unique name="Component_Reel_CustRule_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true"> | ||||
|       <xs:selector xpath=".//mstns:Component_Reel_CustRule" /> | ||||
|       <xs:field xpath="mstns:idx" /> | ||||
|     </xs:unique> | ||||
|     <xs:unique name="Component_Reel_CustInfo_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true"> | ||||
|       <xs:selector xpath=".//mstns:Component_Reel_CustInfo" /> | ||||
|       <xs:field xpath="mstns:code" /> | ||||
|     </xs:unique> | ||||
|   </xs:element> | ||||
| </xs:schema> | ||||
							
								
								
									
										25
									
								
								Handler/Project_form2/DataSet1.xss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								Handler/Project_form2/DataSet1.xss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!--<autogenerated> | ||||
|      This code was generated by a tool to store the dataset designer's layout information. | ||||
|      Changes to this file may cause incorrect behavior and will be lost if | ||||
|      the code is regenerated. | ||||
| </autogenerated>--> | ||||
| <DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout"> | ||||
|   <Shapes> | ||||
|     <Shape ID="DesignTable:Component_Reel_SIDConv" ZOrder="6" X="642" Y="80" Height="402" Width="139" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" /> | ||||
|     <Shape ID="DesignTable:Component_Reel_SIDInfo" ZOrder="5" X="830" Y="81" Height="400" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="273" /> | ||||
|     <Shape ID="DesignTable:Component_Reel_Result" ZOrder="3" X="528" Y="641" Height="400" Width="285" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="273" /> | ||||
|     <Shape ID="DesignTable:Component_Reel_CustRule" ZOrder="1" X="128" Y="729" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" /> | ||||
|     <Shape ID="DesignTable:Component_Reel_CustInfo" ZOrder="2" X="36" Y="751" Height="115" Width="299" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" /> | ||||
|     <Shape ID="DesignTable:Users" ZOrder="13" X="342" Y="536" Height="87" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" /> | ||||
|     <Shape ID="DesignTable:MCModel" ZOrder="12" X="333" Y="112" Height="239" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" /> | ||||
|     <Shape ID="DesignTable:language" ZOrder="4" X="502" Y="80" Height="239" Width="134" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" /> | ||||
|     <Shape ID="DesignTable:Model" ZOrder="14" X="170" Y="106" Height="87" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" /> | ||||
|     <Shape ID="DesignTable:BCDData" ZOrder="11" X="166" Y="211" Height="87" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" /> | ||||
|     <Shape ID="DesignTable:UserSID" ZOrder="10" X="156" Y="358" Height="68" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" /> | ||||
|     <Shape ID="DesignTable:MailFormat" ZOrder="9" X="140" Y="504" Height="49" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="45" /> | ||||
|     <Shape ID="DesignTable:MailRecipient" ZOrder="8" X="144" Y="610" Height="68" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" /> | ||||
|     <Shape ID="DesignTable:SIDHistory" ZOrder="7" X="0" Y="90" Height="182" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" /> | ||||
|   </Shapes> | ||||
|   <Connectors /> | ||||
| </DiagramLayout> | ||||
							
								
								
									
										
											BIN
										
									
								
								Handler/Project_form2/DebenuPDFLibrary64DLL.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Handler/Project_form2/DebenuPDFLibrary64DLL.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								Handler/Project_form2/DebenuPDFLibraryDLL.dll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Handler/Project_form2/DebenuPDFLibraryDLL.dll
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										72
									
								
								Handler/Project_form2/Device/Crevis.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										72
									
								
								Handler/Project_form2/Device/Crevis.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,72 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Drawing; | ||||
| using System.Drawing.Imaging; | ||||
| using System.Linq; | ||||
| using System.Runtime.InteropServices; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using Emgu.CV; | ||||
| using Emgu.CV.CvEnum; | ||||
| using Emgu.CV.Structure; | ||||
| using Euresys.Open_eVision_2_11; | ||||
|  | ||||
| namespace Project | ||||
| { | ||||
| 	public partial class fMain | ||||
| 	{ | ||||
| 		Int32[] _hDevice = new Int32[] { 0, 0, 0 }; | ||||
| 		Int32[] _width = new Int32[] { 0, 0, 0 }; | ||||
| 		Int32[] _height = new Int32[] { 0, 0, 0 }; | ||||
| 		Int32[] _stride = new Int32[] { 0, 0, 0 }; | ||||
| 		Int32[] _bufferSize = new Int32[] { 0, 0, 0 }; | ||||
| 		Boolean[] _isCrevisOpen = new bool[] { false, false, false }; | ||||
| 		Boolean[] _isCrevisACQ = new bool[] { false, false, false }; | ||||
| 		IntPtr[] _pImage = new IntPtr[] { IntPtr.Zero, IntPtr.Zero, IntPtr.Zero }; | ||||
| 		//IntPtr[] _vImage = new IntPtr[] { IntPtr.Zero, IntPtr.Zero, IntPtr.Zero }; | ||||
| 		arCtl.ImageBox[] ivs; | ||||
| 		Bitmap[] OrgBitmap = null; | ||||
| 		Image<Gray, byte>[] OrgImage = null; | ||||
| 		//EImageBW8[] OrgEImage = null; | ||||
| 		//Boolean bOpenEvisionReady = false; | ||||
|  | ||||
| 	 | ||||
| 		void MakeBlankImage(int vIdx, int width=1024, int height=768, string title = "") | ||||
| 		{ | ||||
| 			_width[vIdx] = width; | ||||
| 			_height[vIdx] = height; | ||||
|  | ||||
| 			OrgBitmap[vIdx] = new Bitmap(_width[vIdx], _height[vIdx], PixelFormat.Format8bppIndexed); | ||||
| 			SetGrayscalePalette(OrgBitmap[vIdx]); | ||||
|  | ||||
| 			var lockbit = OrgBitmap[vIdx].LockBits(new Rectangle(0, 0, _width[vIdx], _height[vIdx]), ImageLockMode.ReadOnly, OrgBitmap[vIdx].PixelFormat); | ||||
| 			_pImage[vIdx] = lockbit.Scan0; | ||||
| 			_stride[vIdx] = lockbit.Stride; | ||||
| 			OrgBitmap[vIdx].UnlockBits(lockbit); | ||||
|  | ||||
| 			//if (bOpenEvisionReady) | ||||
| 			//{ | ||||
| 			//	//OrgEImage[vIdx] = new EImageBW8(); | ||||
| 			//	//OrgEImage[vIdx].SetImagePtr(_width[vIdx], _height[vIdx], _pImage[vIdx]); | ||||
| 			//} | ||||
|  | ||||
| 			//openCv 이미지 처리 | ||||
| 			OrgImage[vIdx] = new Image<Gray, byte>(_width[vIdx], _height[vIdx], _stride[vIdx], _pImage[vIdx]); | ||||
| 			if (title.Equals("") == false) | ||||
| 			{ | ||||
| 				CvInvoke.PutText(OrgImage[vIdx], title, new Point(50, 100), FontFace.HersheyDuplex, 2.0, new Gray(255).MCvScalar, 2); | ||||
| 			} | ||||
| 		} | ||||
|  | ||||
|  | ||||
| 		private void SetGrayscalePalette(Bitmap bitmap) | ||||
| 		{ | ||||
| 			ColorPalette GrayscalePalette = bitmap.Palette; | ||||
| 			for (int i = 0; i < 255; i++) | ||||
| 			{ | ||||
| 				GrayscalePalette.Entries[i] = Color.FromArgb(i, i, i); | ||||
| 			} | ||||
| 			bitmap.Palette = GrayscalePalette; | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
							
								
								
									
										808
									
								
								Handler/Project_form2/Dialog/QuickControl.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										808
									
								
								Handler/Project_form2/Dialog/QuickControl.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,808 @@ | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     partial class QuickControl | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// Required designer variable. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Clean up any resources being used. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region Windows Form Designer generated code | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Required method for Designer support - do not modify | ||||
|         /// the contents of this method with the code editor. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
|             this.components = new System.ComponentModel.Container(); | ||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(QuickControl)); | ||||
|             this.timer1 = new System.Windows.Forms.Timer(this.components); | ||||
|             this.panel1 = new System.Windows.Forms.Panel(); | ||||
|             this.panBG = new System.Windows.Forms.Panel(); | ||||
|             this.groupBox1 = new System.Windows.Forms.GroupBox(); | ||||
|             this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); | ||||
|             this.button60 = new System.Windows.Forms.Button(); | ||||
|             this.button57 = new System.Windows.Forms.Button(); | ||||
|             this.button51 = new System.Windows.Forms.Button(); | ||||
|             this.button52 = new System.Windows.Forms.Button(); | ||||
|             this.button58 = new System.Windows.Forms.Button(); | ||||
|             this.button41 = new System.Windows.Forms.Button(); | ||||
|             this.button44 = new System.Windows.Forms.Button(); | ||||
|             this.button3 = new System.Windows.Forms.Button(); | ||||
|             this.button54 = new System.Windows.Forms.Button(); | ||||
|             this.button53 = new System.Windows.Forms.Button(); | ||||
|             this.button5 = new System.Windows.Forms.Button(); | ||||
|             this.button6 = new System.Windows.Forms.Button(); | ||||
|             this.button4 = new System.Windows.Forms.Button(); | ||||
|             this.button59 = new System.Windows.Forms.Button(); | ||||
|             this.panel2 = new System.Windows.Forms.Panel(); | ||||
|             this.groupBox3 = new System.Windows.Forms.GroupBox(); | ||||
|             this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); | ||||
|             this.button12 = new System.Windows.Forms.Button(); | ||||
|             this.button10 = new System.Windows.Forms.Button(); | ||||
|             this.button38 = new System.Windows.Forms.Button(); | ||||
|             this.button40 = new System.Windows.Forms.Button(); | ||||
|             this.button13 = new System.Windows.Forms.Button(); | ||||
|             this.button24 = new System.Windows.Forms.Button(); | ||||
|             this.button1 = new System.Windows.Forms.Button(); | ||||
|             this.button2 = new System.Windows.Forms.Button(); | ||||
|             this.button7 = new System.Windows.Forms.Button(); | ||||
|             this.button9 = new System.Windows.Forms.Button(); | ||||
|             this.button11 = new System.Windows.Forms.Button(); | ||||
|             this.button18 = new System.Windows.Forms.Button(); | ||||
|             this.button8 = new System.Windows.Forms.Button(); | ||||
|             this.button14 = new System.Windows.Forms.Button(); | ||||
|             this.button15 = new System.Windows.Forms.Button(); | ||||
|             this.button16 = new System.Windows.Forms.Button(); | ||||
|             this.panBG.SuspendLayout(); | ||||
|             this.groupBox1.SuspendLayout(); | ||||
|             this.tableLayoutPanel2.SuspendLayout(); | ||||
|             this.groupBox3.SuspendLayout(); | ||||
|             this.tableLayoutPanel1.SuspendLayout(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // timer1 | ||||
|             //  | ||||
|             this.timer1.Interval = 500; | ||||
|             this.timer1.Tick += new System.EventHandler(this.timer1_Tick); | ||||
|             //  | ||||
|             // panel1 | ||||
|             //  | ||||
|             this.panel1.Dock = System.Windows.Forms.DockStyle.Top; | ||||
|             this.panel1.Location = new System.Drawing.Point(5, 484); | ||||
|             this.panel1.Name = "panel1"; | ||||
|             this.panel1.Size = new System.Drawing.Size(286, 7); | ||||
|             this.panel1.TabIndex = 72; | ||||
|             //  | ||||
|             // panBG | ||||
|             //  | ||||
|             this.panBG.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))); | ||||
|             this.panBG.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.panBG.Controls.Add(this.panel1); | ||||
|             this.panBG.Controls.Add(this.groupBox1); | ||||
|             this.panBG.Controls.Add(this.panel2); | ||||
|             this.panBG.Controls.Add(this.groupBox3); | ||||
|             this.panBG.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.panBG.Location = new System.Drawing.Point(1, 1); | ||||
|             this.panBG.Name = "panBG"; | ||||
|             this.panBG.Padding = new System.Windows.Forms.Padding(5); | ||||
|             this.panBG.Size = new System.Drawing.Size(298, 540); | ||||
|             this.panBG.TabIndex = 73; | ||||
|             //  | ||||
|             // groupBox1 | ||||
|             //  | ||||
|             this.groupBox1.Controls.Add(this.tableLayoutPanel2); | ||||
|             this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; | ||||
|             this.groupBox1.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.groupBox1.ForeColor = System.Drawing.Color.WhiteSmoke; | ||||
|             this.groupBox1.Location = new System.Drawing.Point(5, 189); | ||||
|             this.groupBox1.Margin = new System.Windows.Forms.Padding(2); | ||||
|             this.groupBox1.Name = "groupBox1"; | ||||
|             this.groupBox1.Padding = new System.Windows.Forms.Padding(5, 3, 5, 5); | ||||
|             this.groupBox1.Size = new System.Drawing.Size(286, 295); | ||||
|             this.groupBox1.TabIndex = 78; | ||||
|             this.groupBox1.TabStop = false; | ||||
|             this.groupBox1.Text = "ETC"; | ||||
|             //  | ||||
|             // tableLayoutPanel2 | ||||
|             //  | ||||
|             this.tableLayoutPanel2.ColumnCount = 4; | ||||
|             this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); | ||||
|             this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); | ||||
|             this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); | ||||
|             this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); | ||||
|             this.tableLayoutPanel2.Controls.Add(this.button60, 0, 3); | ||||
|             this.tableLayoutPanel2.Controls.Add(this.button57, 0, 2); | ||||
|             this.tableLayoutPanel2.Controls.Add(this.button51, 0, 1); | ||||
|             this.tableLayoutPanel2.Controls.Add(this.button52, 1, 1); | ||||
|             this.tableLayoutPanel2.Controls.Add(this.button58, 3, 2); | ||||
|             this.tableLayoutPanel2.Controls.Add(this.button41, 0, 0); | ||||
|             this.tableLayoutPanel2.Controls.Add(this.button44, 1, 0); | ||||
|             this.tableLayoutPanel2.Controls.Add(this.button3, 1, 3); | ||||
|             this.tableLayoutPanel2.Controls.Add(this.button54, 2, 1); | ||||
|             this.tableLayoutPanel2.Controls.Add(this.button53, 3, 1); | ||||
|             this.tableLayoutPanel2.Controls.Add(this.button5, 1, 2); | ||||
|             this.tableLayoutPanel2.Controls.Add(this.button6, 2, 2); | ||||
|             this.tableLayoutPanel2.Controls.Add(this.button4, 2, 3); | ||||
|             this.tableLayoutPanel2.Controls.Add(this.button59, 3, 3); | ||||
|             this.tableLayoutPanel2.Controls.Add(this.button8, 0, 4); | ||||
|             this.tableLayoutPanel2.Controls.Add(this.button14, 1, 4); | ||||
|             this.tableLayoutPanel2.Controls.Add(this.button15, 2, 4); | ||||
|             this.tableLayoutPanel2.Controls.Add(this.button16, 3, 4); | ||||
|             this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.tableLayoutPanel2.Location = new System.Drawing.Point(5, 19); | ||||
|             this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(2); | ||||
|             this.tableLayoutPanel2.Name = "tableLayoutPanel2"; | ||||
|             this.tableLayoutPanel2.RowCount = 5; | ||||
|             this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20.0005F)); | ||||
|             this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20.0005F)); | ||||
|             this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20.0005F)); | ||||
|             this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 19.99851F)); | ||||
|             this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F)); | ||||
|             this.tableLayoutPanel2.Size = new System.Drawing.Size(276, 271); | ||||
|             this.tableLayoutPanel2.TabIndex = 0; | ||||
|             //  | ||||
|             // button60 | ||||
|             //  | ||||
|             this.button60.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); | ||||
|             this.button60.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button60.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button60.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button60.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button60.ForeColor = System.Drawing.Color.White; | ||||
|             this.button60.Location = new System.Drawing.Point(4, 166); | ||||
|             this.button60.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button60.Name = "button60"; | ||||
|             this.button60.Size = new System.Drawing.Size(61, 46); | ||||
|             this.button60.TabIndex = 61; | ||||
|             this.button60.Tag = "0"; | ||||
|             this.button60.Text = "LP전진"; | ||||
|             this.button60.UseVisualStyleBackColor = false; | ||||
|             this.button60.Click += new System.EventHandler(this.button60_Click); | ||||
|             //  | ||||
|             // button57 | ||||
|             //  | ||||
|             this.button57.BackColor = System.Drawing.Color.Olive; | ||||
|             this.button57.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button57.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button57.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button57.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button57.ForeColor = System.Drawing.Color.White; | ||||
|             this.button57.Location = new System.Drawing.Point(4, 112); | ||||
|             this.button57.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button57.Name = "button57"; | ||||
|             this.button57.Size = new System.Drawing.Size(61, 46); | ||||
|             this.button57.TabIndex = 59; | ||||
|             this.button57.Tag = "2"; | ||||
|             this.button57.Text = "LP-AIR"; | ||||
|             this.button57.UseVisualStyleBackColor = false; | ||||
|             this.button57.Click += new System.EventHandler(this.button57_Click); | ||||
|             //  | ||||
|             // button51 | ||||
|             //  | ||||
|             this.button51.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); | ||||
|             this.button51.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button51.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button51.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button51.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button51.ForeColor = System.Drawing.Color.White; | ||||
|             this.button51.Location = new System.Drawing.Point(4, 58); | ||||
|             this.button51.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button51.Name = "button51"; | ||||
|             this.button51.Size = new System.Drawing.Size(61, 46); | ||||
|             this.button51.TabIndex = 57; | ||||
|             this.button51.Tag = "1"; | ||||
|             this.button51.Text = "LP흡기"; | ||||
|             this.button51.UseVisualStyleBackColor = false; | ||||
|             this.button51.Click += new System.EventHandler(this.button51_Click); | ||||
|             //  | ||||
|             // button52 | ||||
|             //  | ||||
|             this.button52.BackColor = System.Drawing.Color.Navy; | ||||
|             this.button52.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button52.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button52.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button52.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button52.ForeColor = System.Drawing.Color.White; | ||||
|             this.button52.Location = new System.Drawing.Point(73, 58); | ||||
|             this.button52.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button52.Name = "button52"; | ||||
|             this.button52.Size = new System.Drawing.Size(61, 46); | ||||
|             this.button52.TabIndex = 57; | ||||
|             this.button52.Tag = "2"; | ||||
|             this.button52.Text = "LP배기"; | ||||
|             this.button52.UseVisualStyleBackColor = false; | ||||
|             this.button52.Click += new System.EventHandler(this.button51_Click); | ||||
|             //  | ||||
|             // button58 | ||||
|             //  | ||||
|             this.button58.BackColor = System.Drawing.Color.Olive; | ||||
|             this.button58.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button58.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button58.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button58.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button58.ForeColor = System.Drawing.Color.White; | ||||
|             this.button58.Location = new System.Drawing.Point(211, 112); | ||||
|             this.button58.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button58.Name = "button58"; | ||||
|             this.button58.Size = new System.Drawing.Size(61, 46); | ||||
|             this.button58.TabIndex = 59; | ||||
|             this.button58.Tag = "2"; | ||||
|             this.button58.Text = "RP-AIR"; | ||||
|             this.button58.UseVisualStyleBackColor = false; | ||||
|             this.button58.Click += new System.EventHandler(this.button58_Click); | ||||
|             //  | ||||
|             // button41 | ||||
|             //  | ||||
|             this.button41.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); | ||||
|             this.button41.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button41.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button41.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button41.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button41.ForeColor = System.Drawing.Color.White; | ||||
|             this.button41.Location = new System.Drawing.Point(4, 4); | ||||
|             this.button41.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button41.Name = "button41"; | ||||
|             this.button41.Size = new System.Drawing.Size(61, 46); | ||||
|             this.button41.TabIndex = 57; | ||||
|             this.button41.Text = "피커진공"; | ||||
|             this.button41.UseVisualStyleBackColor = false; | ||||
|             this.button41.Click += new System.EventHandler(this.button41_Click); | ||||
|             //  | ||||
|             // button44 | ||||
|             //  | ||||
|             this.button44.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); | ||||
|             this.tableLayoutPanel2.SetColumnSpan(this.button44, 3); | ||||
|             this.button44.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button44.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button44.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button44.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button44.ForeColor = System.Drawing.Color.White; | ||||
|             this.button44.Location = new System.Drawing.Point(72, 3); | ||||
|             this.button44.Name = "button44"; | ||||
|             this.button44.Size = new System.Drawing.Size(201, 48); | ||||
|             this.button44.TabIndex = 58; | ||||
|             this.button44.Text = "메인AIR"; | ||||
|             this.button44.UseVisualStyleBackColor = false; | ||||
|             this.button44.Click += new System.EventHandler(this.button44_Click); | ||||
|             //  | ||||
|             // button3 | ||||
|             //  | ||||
|             this.button3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); | ||||
|             this.button3.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button3.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button3.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold); | ||||
|             this.button3.ForeColor = System.Drawing.Color.Gold; | ||||
|             this.button3.Location = new System.Drawing.Point(72, 165); | ||||
|             this.button3.Name = "button3"; | ||||
|             this.button3.Size = new System.Drawing.Size(63, 48); | ||||
|             this.button3.TabIndex = 58; | ||||
|             this.button3.Text = "프린트"; | ||||
|             this.button3.UseVisualStyleBackColor = false; | ||||
|             this.button3.Click += new System.EventHandler(this.button3_Click_1); | ||||
|             //  | ||||
|             // button54 | ||||
|             //  | ||||
|             this.button54.BackColor = System.Drawing.Color.Navy; | ||||
|             this.button54.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button54.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button54.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button54.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button54.ForeColor = System.Drawing.Color.White; | ||||
|             this.button54.Location = new System.Drawing.Point(142, 58); | ||||
|             this.button54.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button54.Name = "button54"; | ||||
|             this.button54.Size = new System.Drawing.Size(61, 46); | ||||
|             this.button54.TabIndex = 57; | ||||
|             this.button54.Tag = "2"; | ||||
|             this.button54.Text = "RP배기"; | ||||
|             this.button54.UseVisualStyleBackColor = false; | ||||
|             this.button54.Click += new System.EventHandler(this.button53_Click); | ||||
|             //  | ||||
|             // button53 | ||||
|             //  | ||||
|             this.button53.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); | ||||
|             this.button53.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button53.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button53.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button53.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button53.ForeColor = System.Drawing.Color.White; | ||||
|             this.button53.Location = new System.Drawing.Point(211, 58); | ||||
|             this.button53.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button53.Name = "button53"; | ||||
|             this.button53.Size = new System.Drawing.Size(61, 46); | ||||
|             this.button53.TabIndex = 57; | ||||
|             this.button53.Tag = "1"; | ||||
|             this.button53.Text = "RP흡기"; | ||||
|             this.button53.UseVisualStyleBackColor = false; | ||||
|             this.button53.Click += new System.EventHandler(this.button53_Click); | ||||
|             //  | ||||
|             // button5 | ||||
|             //  | ||||
|             this.button5.BackColor = System.Drawing.Color.Lime; | ||||
|             this.button5.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button5.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button5.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button5.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold); | ||||
|             this.button5.ForeColor = System.Drawing.Color.Black; | ||||
|             this.button5.Location = new System.Drawing.Point(72, 111); | ||||
|             this.button5.Name = "button5"; | ||||
|             this.button5.Size = new System.Drawing.Size(63, 48); | ||||
|             this.button5.TabIndex = 58; | ||||
|             this.button5.Text = "감지L"; | ||||
|             this.button5.UseVisualStyleBackColor = false; | ||||
|             //  | ||||
|             // button6 | ||||
|             //  | ||||
|             this.button6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); | ||||
|             this.button6.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button6.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button6.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button6.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold); | ||||
|             this.button6.ForeColor = System.Drawing.Color.White; | ||||
|             this.button6.Location = new System.Drawing.Point(141, 111); | ||||
|             this.button6.Name = "button6"; | ||||
|             this.button6.Size = new System.Drawing.Size(63, 48); | ||||
|             this.button6.TabIndex = 58; | ||||
|             this.button6.Text = "감지R"; | ||||
|             this.button6.UseVisualStyleBackColor = false; | ||||
|             //  | ||||
|             // button4 | ||||
|             //  | ||||
|             this.button4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); | ||||
|             this.button4.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button4.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button4.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold); | ||||
|             this.button4.ForeColor = System.Drawing.Color.Gold; | ||||
|             this.button4.Location = new System.Drawing.Point(141, 165); | ||||
|             this.button4.Name = "button4"; | ||||
|             this.button4.Size = new System.Drawing.Size(63, 48); | ||||
|             this.button4.TabIndex = 58; | ||||
|             this.button4.Text = "프린트"; | ||||
|             this.button4.UseVisualStyleBackColor = false; | ||||
|             this.button4.Click += new System.EventHandler(this.button4_Click_1); | ||||
|             //  | ||||
|             // button59 | ||||
|             //  | ||||
|             this.button59.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); | ||||
|             this.button59.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button59.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button59.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button59.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button59.ForeColor = System.Drawing.Color.White; | ||||
|             this.button59.Location = new System.Drawing.Point(211, 166); | ||||
|             this.button59.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button59.Name = "button59"; | ||||
|             this.button59.Size = new System.Drawing.Size(61, 46); | ||||
|             this.button59.TabIndex = 60; | ||||
|             this.button59.Tag = "0"; | ||||
|             this.button59.Text = "RP전진"; | ||||
|             this.button59.UseVisualStyleBackColor = false; | ||||
|             this.button59.Click += new System.EventHandler(this.button59_Click); | ||||
|             //  | ||||
|             // panel2 | ||||
|             //  | ||||
|             this.panel2.Dock = System.Windows.Forms.DockStyle.Top; | ||||
|             this.panel2.Location = new System.Drawing.Point(5, 182); | ||||
|             this.panel2.Name = "panel2"; | ||||
|             this.panel2.Size = new System.Drawing.Size(286, 7); | ||||
|             this.panel2.TabIndex = 77; | ||||
|             //  | ||||
|             // groupBox3 | ||||
|             //  | ||||
|             this.groupBox3.Controls.Add(this.tableLayoutPanel1); | ||||
|             this.groupBox3.Dock = System.Windows.Forms.DockStyle.Top; | ||||
|             this.groupBox3.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.groupBox3.ForeColor = System.Drawing.Color.WhiteSmoke; | ||||
|             this.groupBox3.Location = new System.Drawing.Point(5, 5); | ||||
|             this.groupBox3.Margin = new System.Windows.Forms.Padding(2); | ||||
|             this.groupBox3.Name = "groupBox3"; | ||||
|             this.groupBox3.Padding = new System.Windows.Forms.Padding(5, 3, 5, 5); | ||||
|             this.groupBox3.Size = new System.Drawing.Size(286, 177); | ||||
|             this.groupBox3.TabIndex = 76; | ||||
|             this.groupBox3.TabStop = false; | ||||
|             this.groupBox3.Text = "PORT Z-MOTOR"; | ||||
|             //  | ||||
|             // tableLayoutPanel1 | ||||
|             //  | ||||
|             this.tableLayoutPanel1.ColumnCount = 4; | ||||
|             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); | ||||
|             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); | ||||
|             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); | ||||
|             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button12, 0, 2); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button10, 0, 2); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button38, 1, 0); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button40, 0, 0); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button13, 0, 1); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button24, 1, 1); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button1, 2, 0); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button2, 2, 1); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button7, 2, 2); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button9, 0, 3); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button11, 1, 3); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button18, 2, 3); | ||||
|             this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.tableLayoutPanel1.Location = new System.Drawing.Point(5, 19); | ||||
|             this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(2); | ||||
|             this.tableLayoutPanel1.Name = "tableLayoutPanel1"; | ||||
|             this.tableLayoutPanel1.RowCount = 4; | ||||
|             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25.00062F)); | ||||
|             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25.00062F)); | ||||
|             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25.00062F)); | ||||
|             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 24.99813F)); | ||||
|             this.tableLayoutPanel1.Size = new System.Drawing.Size(276, 153); | ||||
|             this.tableLayoutPanel1.TabIndex = 0; | ||||
|             //  | ||||
|             // button12 | ||||
|             //  | ||||
|             this.button12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); | ||||
|             this.button12.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button12.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button12.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button12.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button12.ForeColor = System.Drawing.Color.White; | ||||
|             this.button12.Location = new System.Drawing.Point(73, 80); | ||||
|             this.button12.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button12.Name = "button12"; | ||||
|             this.button12.Size = new System.Drawing.Size(61, 30); | ||||
|             this.button12.TabIndex = 61; | ||||
|             this.button12.Tag = "1"; | ||||
|             this.button12.Text = "▼"; | ||||
|             this.button12.UseVisualStyleBackColor = false; | ||||
|             this.button12.Click += new System.EventHandler(this.button10_Click_1); | ||||
|             //  | ||||
|             // button10 | ||||
|             //  | ||||
|             this.button10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); | ||||
|             this.button10.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button10.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button10.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button10.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button10.ForeColor = System.Drawing.Color.White; | ||||
|             this.button10.Location = new System.Drawing.Point(4, 80); | ||||
|             this.button10.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button10.Name = "button10"; | ||||
|             this.button10.Size = new System.Drawing.Size(61, 30); | ||||
|             this.button10.TabIndex = 60; | ||||
|             this.button10.Tag = "0"; | ||||
|             this.button10.Text = "▼"; | ||||
|             this.button10.UseVisualStyleBackColor = false; | ||||
|             this.button10.Click += new System.EventHandler(this.button10_Click_1); | ||||
|             //  | ||||
|             // button38 | ||||
|             //  | ||||
|             this.button38.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); | ||||
|             this.button38.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button38.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button38.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button38.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button38.ForeColor = System.Drawing.Color.White; | ||||
|             this.button38.Location = new System.Drawing.Point(73, 4); | ||||
|             this.button38.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button38.Name = "button38"; | ||||
|             this.button38.Size = new System.Drawing.Size(61, 30); | ||||
|             this.button38.TabIndex = 57; | ||||
|             this.button38.Tag = "1"; | ||||
|             this.button38.Text = "▲"; | ||||
|             this.button38.UseVisualStyleBackColor = false; | ||||
|             this.button38.Click += new System.EventHandler(this.button40_Click); | ||||
|             //  | ||||
|             // button40 | ||||
|             //  | ||||
|             this.button40.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); | ||||
|             this.button40.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button40.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button40.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button40.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button40.ForeColor = System.Drawing.Color.White; | ||||
|             this.button40.Location = new System.Drawing.Point(4, 4); | ||||
|             this.button40.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button40.Name = "button40"; | ||||
|             this.button40.Size = new System.Drawing.Size(61, 30); | ||||
|             this.button40.TabIndex = 55; | ||||
|             this.button40.Tag = "0"; | ||||
|             this.button40.Text = "▲"; | ||||
|             this.button40.UseVisualStyleBackColor = false; | ||||
|             this.button40.Click += new System.EventHandler(this.button40_Click); | ||||
|             //  | ||||
|             // button13 | ||||
|             //  | ||||
|             this.button13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); | ||||
|             this.button13.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button13.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button13.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button13.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button13.ForeColor = System.Drawing.Color.White; | ||||
|             this.button13.Location = new System.Drawing.Point(4, 42); | ||||
|             this.button13.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button13.Name = "button13"; | ||||
|             this.button13.Size = new System.Drawing.Size(61, 30); | ||||
|             this.button13.TabIndex = 62; | ||||
|             this.button13.Tag = "0"; | ||||
|             this.button13.Text = "STOP"; | ||||
|             this.button13.UseVisualStyleBackColor = false; | ||||
|             this.button13.Click += new System.EventHandler(this.button13_Click_2); | ||||
|             //  | ||||
|             // button24 | ||||
|             //  | ||||
|             this.button24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); | ||||
|             this.button24.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button24.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button24.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button24.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button24.ForeColor = System.Drawing.Color.White; | ||||
|             this.button24.Location = new System.Drawing.Point(73, 42); | ||||
|             this.button24.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button24.Name = "button24"; | ||||
|             this.button24.Size = new System.Drawing.Size(61, 30); | ||||
|             this.button24.TabIndex = 62; | ||||
|             this.button24.Tag = "1"; | ||||
|             this.button24.Text = "STOP"; | ||||
|             this.button24.UseVisualStyleBackColor = false; | ||||
|             this.button24.Click += new System.EventHandler(this.button13_Click_2); | ||||
|             //  | ||||
|             // button1 | ||||
|             //  | ||||
|             this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); | ||||
|             this.button1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button1.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button1.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button1.ForeColor = System.Drawing.Color.White; | ||||
|             this.button1.Location = new System.Drawing.Point(142, 4); | ||||
|             this.button1.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button1.Name = "button1"; | ||||
|             this.button1.Size = new System.Drawing.Size(61, 30); | ||||
|             this.button1.TabIndex = 57; | ||||
|             this.button1.Tag = "2"; | ||||
|             this.button1.Text = "▲"; | ||||
|             this.button1.UseVisualStyleBackColor = false; | ||||
|             this.button1.Click += new System.EventHandler(this.button40_Click); | ||||
|             //  | ||||
|             // button2 | ||||
|             //  | ||||
|             this.button2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); | ||||
|             this.button2.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button2.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button2.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button2.ForeColor = System.Drawing.Color.White; | ||||
|             this.button2.Location = new System.Drawing.Point(142, 42); | ||||
|             this.button2.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button2.Name = "button2"; | ||||
|             this.button2.Size = new System.Drawing.Size(61, 30); | ||||
|             this.button2.TabIndex = 62; | ||||
|             this.button2.Tag = "2"; | ||||
|             this.button2.Text = "STOP"; | ||||
|             this.button2.UseVisualStyleBackColor = false; | ||||
|             this.button2.Click += new System.EventHandler(this.button13_Click_2); | ||||
|             //  | ||||
|             // button7 | ||||
|             //  | ||||
|             this.button7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); | ||||
|             this.button7.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button7.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button7.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button7.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button7.ForeColor = System.Drawing.Color.White; | ||||
|             this.button7.Location = new System.Drawing.Point(142, 80); | ||||
|             this.button7.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button7.Name = "button7"; | ||||
|             this.button7.Size = new System.Drawing.Size(61, 30); | ||||
|             this.button7.TabIndex = 60; | ||||
|             this.button7.Tag = "2"; | ||||
|             this.button7.Text = "▼"; | ||||
|             this.button7.UseVisualStyleBackColor = false; | ||||
|             this.button7.Click += new System.EventHandler(this.button10_Click_1); | ||||
|             //  | ||||
|             // button9 | ||||
|             //  | ||||
|             this.button9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); | ||||
|             this.button9.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button9.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button9.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button9.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button9.ForeColor = System.Drawing.Color.White; | ||||
|             this.button9.Location = new System.Drawing.Point(4, 118); | ||||
|             this.button9.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button9.Name = "button9"; | ||||
|             this.button9.Size = new System.Drawing.Size(61, 31); | ||||
|             this.button9.TabIndex = 60; | ||||
|             this.button9.Tag = "0"; | ||||
|             this.button9.Text = "MAG"; | ||||
|             this.button9.UseVisualStyleBackColor = false; | ||||
|             this.button9.Click += new System.EventHandler(this.button9_Click); | ||||
|             //  | ||||
|             // button11 | ||||
|             //  | ||||
|             this.button11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); | ||||
|             this.button11.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button11.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button11.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button11.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button11.ForeColor = System.Drawing.Color.White; | ||||
|             this.button11.Location = new System.Drawing.Point(73, 118); | ||||
|             this.button11.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button11.Name = "button11"; | ||||
|             this.button11.Size = new System.Drawing.Size(61, 31); | ||||
|             this.button11.TabIndex = 60; | ||||
|             this.button11.Tag = "1"; | ||||
|             this.button11.Text = "MAG"; | ||||
|             this.button11.UseVisualStyleBackColor = false; | ||||
|             this.button11.Click += new System.EventHandler(this.button9_Click); | ||||
|             //  | ||||
|             // button18 | ||||
|             //  | ||||
|             this.button18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); | ||||
|             this.button18.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button18.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button18.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button18.Font = new System.Drawing.Font("맑은 고딕", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button18.ForeColor = System.Drawing.Color.White; | ||||
|             this.button18.Location = new System.Drawing.Point(142, 118); | ||||
|             this.button18.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button18.Name = "button18"; | ||||
|             this.button18.Size = new System.Drawing.Size(61, 31); | ||||
|             this.button18.TabIndex = 60; | ||||
|             this.button18.Tag = "2"; | ||||
|             this.button18.Text = "MAG"; | ||||
|             this.button18.UseVisualStyleBackColor = false; | ||||
|             this.button18.Click += new System.EventHandler(this.button9_Click); | ||||
|             //  | ||||
|             // button8 | ||||
|             //  | ||||
|             this.button8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); | ||||
|             this.button8.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button8.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button8.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button8.Font = new System.Drawing.Font("맑은 고딕", 17F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button8.ForeColor = System.Drawing.Color.Gold; | ||||
|             this.button8.Location = new System.Drawing.Point(4, 220); | ||||
|             this.button8.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button8.Name = "button8"; | ||||
|             this.button8.Size = new System.Drawing.Size(61, 47); | ||||
|             this.button8.TabIndex = 61; | ||||
|             this.button8.Tag = "0"; | ||||
|             this.button8.Text = "Y-"; | ||||
|             this.button8.UseVisualStyleBackColor = false; | ||||
|             this.button8.Click += new System.EventHandler(this.button8_Click); | ||||
|             //  | ||||
|             // button14 | ||||
|             //  | ||||
|             this.button14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); | ||||
|             this.button14.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button14.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button14.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button14.Font = new System.Drawing.Font("맑은 고딕", 17F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button14.ForeColor = System.Drawing.Color.Tomato; | ||||
|             this.button14.Location = new System.Drawing.Point(73, 220); | ||||
|             this.button14.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button14.Name = "button14"; | ||||
|             this.button14.Size = new System.Drawing.Size(61, 47); | ||||
|             this.button14.TabIndex = 61; | ||||
|             this.button14.Tag = "0"; | ||||
|             this.button14.Text = "[R]"; | ||||
|             this.button14.UseVisualStyleBackColor = false; | ||||
|             this.button14.Click += new System.EventHandler(this.button14_Click); | ||||
|             //  | ||||
|             // button15 | ||||
|             //  | ||||
|             this.button15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); | ||||
|             this.button15.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button15.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button15.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button15.Font = new System.Drawing.Font("맑은 고딕", 17F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button15.ForeColor = System.Drawing.Color.Gold; | ||||
|             this.button15.Location = new System.Drawing.Point(142, 220); | ||||
|             this.button15.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button15.Name = "button15"; | ||||
|             this.button15.Size = new System.Drawing.Size(61, 47); | ||||
|             this.button15.TabIndex = 61; | ||||
|             this.button15.Tag = "0"; | ||||
|             this.button15.Text = "Y-"; | ||||
|             this.button15.UseVisualStyleBackColor = false; | ||||
|             this.button15.Click += new System.EventHandler(this.button15_Click_1); | ||||
|             //  | ||||
|             // button16 | ||||
|             //  | ||||
|             this.button16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); | ||||
|             this.button16.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button16.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.button16.FlatStyle = System.Windows.Forms.FlatStyle.Flat; | ||||
|             this.button16.Font = new System.Drawing.Font("맑은 고딕", 17F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button16.ForeColor = System.Drawing.Color.Tomato; | ||||
|             this.button16.Location = new System.Drawing.Point(211, 220); | ||||
|             this.button16.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.button16.Name = "button16"; | ||||
|             this.button16.Size = new System.Drawing.Size(61, 47); | ||||
|             this.button16.TabIndex = 61; | ||||
|             this.button16.Tag = "0"; | ||||
|             this.button16.Text = "[R]"; | ||||
|             this.button16.UseVisualStyleBackColor = false; | ||||
|             this.button16.Click += new System.EventHandler(this.button16_Click_2); | ||||
|             //  | ||||
|             // QuickControl | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 17F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15))))); | ||||
|             this.ClientSize = new System.Drawing.Size(300, 542); | ||||
|             this.Controls.Add(this.panBG); | ||||
|             this.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); | ||||
|             this.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.MaximizeBox = false; | ||||
|             this.MinimizeBox = false; | ||||
|             this.Name = "QuickControl"; | ||||
|             this.Padding = new System.Windows.Forms.Padding(1); | ||||
|             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
|             this.Text = "수동조작"; | ||||
|             this.TopMost = true; | ||||
|             this.Load += new System.EventHandler(this.@__LoaD); | ||||
|             this.panBG.ResumeLayout(false); | ||||
|             this.groupBox1.ResumeLayout(false); | ||||
|             this.tableLayoutPanel2.ResumeLayout(false); | ||||
|             this.groupBox3.ResumeLayout(false); | ||||
|             this.tableLayoutPanel1.ResumeLayout(false); | ||||
|             this.ResumeLayout(false); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|         private System.Windows.Forms.Timer timer1; | ||||
|         private System.Windows.Forms.Panel panel1; | ||||
|         public System.Windows.Forms.Panel panBG; | ||||
|         private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; | ||||
|         private System.Windows.Forms.Button button38; | ||||
|         private System.Windows.Forms.Button button40; | ||||
|         public System.Windows.Forms.GroupBox groupBox3; | ||||
|         private System.Windows.Forms.Button button12; | ||||
|         private System.Windows.Forms.Button button10; | ||||
|         private System.Windows.Forms.Button button13; | ||||
|         private System.Windows.Forms.Button button24; | ||||
|         private System.Windows.Forms.Panel panel2; | ||||
|         public System.Windows.Forms.GroupBox groupBox1; | ||||
|         private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; | ||||
|         private System.Windows.Forms.Button button41; | ||||
|         private System.Windows.Forms.Button button44; | ||||
|         private System.Windows.Forms.Button button1; | ||||
|         private System.Windows.Forms.Button button2; | ||||
|         private System.Windows.Forms.Button button7; | ||||
|         private System.Windows.Forms.Button button9; | ||||
|         private System.Windows.Forms.Button button11; | ||||
|         private System.Windows.Forms.Button button18; | ||||
|         private System.Windows.Forms.Button button51; | ||||
|         private System.Windows.Forms.Button button52; | ||||
|         private System.Windows.Forms.Button button53; | ||||
|         private System.Windows.Forms.Button button54; | ||||
|         private System.Windows.Forms.Button button57; | ||||
|         private System.Windows.Forms.Button button58; | ||||
|         private System.Windows.Forms.Button button59; | ||||
|         private System.Windows.Forms.Button button60; | ||||
|         private System.Windows.Forms.Button button3; | ||||
|         private System.Windows.Forms.Button button4; | ||||
|         private System.Windows.Forms.Button button5; | ||||
|         private System.Windows.Forms.Button button6; | ||||
|         private System.Windows.Forms.Button button8; | ||||
|         private System.Windows.Forms.Button button14; | ||||
|         private System.Windows.Forms.Button button15; | ||||
|         private System.Windows.Forms.Button button16; | ||||
|     } | ||||
| } | ||||
							
								
								
									
										364
									
								
								Handler/Project_form2/Dialog/QuickControl.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										364
									
								
								Handler/Project_form2/Dialog/QuickControl.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,364 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     public partial class QuickControl : Form | ||||
|     { | ||||
|         public QuickControl() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             this.FormClosing += __Closing; | ||||
|             //this.lbTitle.MouseMove += LbTitle_MouseMove; | ||||
|             //this.lbTitle.MouseUp += LbTitle_MouseUp; | ||||
|             //this.lbTitle.MouseDown += LbTitle_MouseDown; | ||||
|         } | ||||
|  | ||||
|         void __Closing(object sender, FormClosingEventArgs e) | ||||
|         { | ||||
|             timer1.Stop(); | ||||
|         } | ||||
|         private void __LoaD(object sender, EventArgs e) | ||||
|         { | ||||
|             timer1.Start(); | ||||
|             //button31.Text = ((eAxis)0).ToString(); | ||||
|             //button32.Text = ((eAxis)1).ToString(); | ||||
|             //button33.Text = ((eAxis)2).ToString(); | ||||
|         } | ||||
|         #region "Mouse Form Move" | ||||
|  | ||||
|         private Boolean fMove = false; | ||||
|         private Point MDownPos; | ||||
|         private void LbTitle_MouseMove(object sender, MouseEventArgs e) | ||||
|         { | ||||
|             if (fMove) | ||||
|             { | ||||
|                 Point offset = new Point(e.X - MDownPos.X, e.Y - MDownPos.Y); | ||||
|                 this.Left += offset.X; | ||||
|                 this.Top += offset.Y; | ||||
|                 offset = new Point(0, 0); | ||||
|             } | ||||
|         } | ||||
|         private void LbTitle_MouseUp(object sender, MouseEventArgs e) | ||||
|         { | ||||
|             fMove = false; | ||||
|         } | ||||
|         private void LbTitle_MouseDown(object sender, MouseEventArgs e) | ||||
|         { | ||||
|             MDownPos = new Point(e.X, e.Y); | ||||
|             fMove = true; | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|         private void button1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             if (Pub.mot.isHomeSet[(int)eAxis.Z_THETA] == false) | ||||
|             { | ||||
|                 Util.MsgE("홈 검색이 완료되지 않았으므로 이동할 수 없습니다"); | ||||
|                 return; | ||||
|             } | ||||
|  | ||||
|             var speed = 50.0; | ||||
|             if (Pub.Result != null && | ||||
|                 Pub.Result.mModel != null && | ||||
|                 Pub.Result.mModel.Title != "") | ||||
|                 speed = 0;// Pub.Result.mModel.XSpeed; | ||||
|  | ||||
|             Util_Mot.Move(eAxis.Z_THETA, 0, speed); | ||||
|         } | ||||
|  | ||||
|         private void timer1_Tick(object sender, EventArgs e) | ||||
|         { | ||||
|             //감지센서 상태 210208 | ||||
|             button5.BackColor = Util_DO.GetIOInput(eDIName.L_PICK_VAC) ? Color.Lime : Color.FromArgb(70, 70, 70); | ||||
|             button5.ForeColor = Util_DO.GetIOInput(eDIName.L_PICK_VAC) ? Color.Black : Color.White; | ||||
|  | ||||
|             button6.BackColor = Util_DO.GetIOInput(eDIName.R_PICK_VAC) ? Color.Lime : Color.FromArgb(70, 70, 70); | ||||
|             button6.ForeColor = Util_DO.GetIOInput(eDIName.R_PICK_VAC) ? Color.Black : Color.White; | ||||
|         } | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|         private void button20_Click_1(object sender, EventArgs e) | ||||
|         { | ||||
|             //button zero | ||||
|             var but = sender as Button; | ||||
|             var motidx = short.Parse(but.Tag.ToString()); | ||||
|             var axis = (eAxis)motidx; | ||||
|  | ||||
|             //전체 이동경로상 오류가 있으면 처리 하지 않는다. | ||||
|             var ermsg = new System.Text.StringBuilder(); | ||||
|  | ||||
|             if (Pub.mot.isHomeSet[(int)axis] == false) | ||||
|             { | ||||
|                 ermsg.AppendLine("해당 축은 홈 검색이 완료되지 않았습니다"); | ||||
|             } | ||||
|  | ||||
|  | ||||
|             if (ermsg.Length > 0) | ||||
|             { | ||||
|                 Util.MsgE("이동을 할 수 없습니다\n" + ermsg.ToString()); | ||||
|                 return; | ||||
|             } | ||||
|  | ||||
|  | ||||
|             var dlg = Util.MsgQ(string.Format("모션 축 ({0})의 위치를 0으로 이동하시겠습까?\n" + | ||||
|                 "위치 0은 일반적으로 홈 위치 입니다", axis)); | ||||
|             if (dlg != DialogResult.Yes) return; | ||||
|             Pub.log.Add("user:move to zero axis=" + axis.ToString()); | ||||
|             Pub.mot.Move(motidx, 0); | ||||
|         } | ||||
|  | ||||
|         private void button16_Click_1(object sender, EventArgs e) | ||||
|         { | ||||
|             //button stop | ||||
|             var but = sender as Button; | ||||
|             var motidx = short.Parse(but.Tag.ToString()); | ||||
|             var axis = (eAxis)motidx; | ||||
|  | ||||
|             //var dlg = Util.MsgQ("모션 {0}({1}) 을 위치 '0'으로 이동 할까요?\n" + | ||||
|             //    "경로 상 충돌가능성을 확인 한 후 실행하세요"); | ||||
|             //if (dlg != System.Windows.Forms.DialogResult.Yes) return; | ||||
|  | ||||
|             Pub.log.Add("user:motion stop axis=" + axis.ToString()); | ||||
|             Pub.mot.MoveStop("user stop", motidx); | ||||
|         } | ||||
|  | ||||
|         private void button3_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             //ccw | ||||
|             var but = sender as Button; | ||||
|             var motidx = short.Parse(but.Tag.ToString()); | ||||
|             var axis = (eAxis)motidx; | ||||
|             Pub.log.Add("user:motion move -3.0 axis=" + axis.ToString()); | ||||
|             Pub.mot.Move(motidx, -3.0, true); | ||||
|         } | ||||
|  | ||||
|         private void button4_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             //cw | ||||
|             var but = sender as Button; | ||||
|             var motidx = short.Parse(but.Tag.ToString()); | ||||
|             var axis = (eAxis)motidx; | ||||
|             Pub.log.Add("user:motion move +3.0 axis=" + axis.ToString()); | ||||
|             Pub.mot.Move(motidx, 3.0, true); | ||||
|         } | ||||
|  | ||||
|         private void button40_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var but = sender as Button; | ||||
|             var butindex = int.Parse(but.Tag.ToString()); | ||||
|             Util_DO.SetPortMotor(butindex, eMotDir.CW, true, "UC"); | ||||
|         } | ||||
|  | ||||
|         private void tbClose_Click_1(object sender, EventArgs e) | ||||
|         { | ||||
|             this.Close(); | ||||
|         } | ||||
|  | ||||
|         private void button10_Click_1(object sender, EventArgs e) | ||||
|         { | ||||
|             var but = sender as Button; | ||||
|             var butindex = int.Parse(but.Tag.ToString()); | ||||
|             Util_DO.SetPortMotor(butindex, eMotDir.CCW, true, "UC"); | ||||
|         } | ||||
|  | ||||
|         private void button13_Click_2(object sender, EventArgs e) | ||||
|         { | ||||
|             var but = sender as Button; | ||||
|             var butindex = int.Parse(but.Tag.ToString()); | ||||
|             Util_DO.SetPortMotor(butindex, eMotDir.CCW, false, "UC"); | ||||
|         } | ||||
|  | ||||
|         private void button41_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             //front | ||||
|             var cur = Util_DO.GetIOOutput(eDOName.PICK_VAC1); | ||||
|             Util_DO.SetPickerVac(!cur, true); | ||||
|         } | ||||
|  | ||||
|         private void button39_Click(object sender, EventArgs e) | ||||
|         { | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void button44_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var cur = Util_DO.GetIOOutput(eDOName.SOL_AIR); | ||||
|             Util_DO.SetAIR(!cur); | ||||
|         } | ||||
|  | ||||
|         private void button9_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var but = sender as Button; | ||||
|             var butindex = int.Parse(but.Tag.ToString()); | ||||
|             Boolean current = false; | ||||
|  | ||||
|             if (butindex == 0) current = Util_DO.GetIOOutput(eDOName.CART_MAG0); | ||||
|             else if (butindex == 1) current = Util_DO.GetIOOutput(eDOName.CART_MAG1); | ||||
|             else current = Util_DO.GetIOOutput(eDOName.CART_MAG2); | ||||
|  | ||||
|             Util_DO.SetPortMagnet(butindex, !current); | ||||
|         } | ||||
|  | ||||
|         private void button51_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var but = sender as Button; | ||||
|             var tagstr = but.Tag.ToString(); | ||||
|             if (tagstr == "1") | ||||
|             { | ||||
|                 if (Util_DO.GetIOOutput(eDOName.PRINTL_VACI) == true) | ||||
|                     Util_DO.SetPrintLVac(ePrintVac.off, true); | ||||
|                 else | ||||
|                     Util_DO.SetPrintLVac(ePrintVac.inhalation, true); | ||||
|             } | ||||
|             else if (tagstr == "2") | ||||
|                 if (Util_DO.GetIOOutput(eDOName.PRINTL_VACO) == true) | ||||
|                     Util_DO.SetPrintLVac(ePrintVac.off, true); | ||||
|                 else | ||||
|                     Util_DO.SetPrintLVac(ePrintVac.exhaust, true); | ||||
|             else | ||||
|                 Util_DO.SetPrintLVac(ePrintVac.off, true); | ||||
|         } | ||||
|  | ||||
|  | ||||
|  | ||||
|         private void button53_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var but = sender as Button; | ||||
|             var tagstr = but.Tag.ToString(); | ||||
|             if (tagstr == "1") | ||||
|             { | ||||
|                 if (Util_DO.GetIOOutput(eDOName.PRINTR_VACI) == true) | ||||
|                     Util_DO.SetPrintRVac(ePrintVac.off, true); | ||||
|                 else | ||||
|                     Util_DO.SetPrintRVac(ePrintVac.inhalation, true); | ||||
|             } | ||||
|             else if (tagstr == "2") | ||||
|                 if (Util_DO.GetIOOutput(eDOName.PRINTR_VACO) == true) | ||||
|                     Util_DO.SetPrintRVac(ePrintVac.off, true); | ||||
|                 else | ||||
|                     Util_DO.SetPrintRVac(ePrintVac.exhaust, true); | ||||
|             else | ||||
|                 Util_DO.SetPrintRVac(ePrintVac.off, true); | ||||
|         } | ||||
|  | ||||
|         private void button57_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             //바닥바람 | ||||
|             var curvalu = Util_DO.GetIOOutput(eDOName.PRINTL_AIRON); | ||||
|             Util_DO.SetOutput(eDOName.PRINTL_AIRON, !curvalu); | ||||
|         } | ||||
|  | ||||
|         private void button58_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             //바닥바람 | ||||
|             var curvalu = Util_DO.GetIOOutput(eDOName.PRINTR_AIRON); | ||||
|             Util_DO.SetOutput(eDOName.PRINTR_AIRON, !curvalu); | ||||
|         } | ||||
|  | ||||
|         private void button60_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var cur = Util_DO.GetIOOutput(eDOName.PRINTL_FWD); | ||||
|             if (cur == false) | ||||
|             { | ||||
|                 var dlg = Util.MsgQ("프린터(좌) 피커를 전진할까요?");   //210209 | ||||
|                 if (dlg != DialogResult.Yes) return; | ||||
|             } | ||||
|             Util_DO.SetOutput(eDOName.PRINTL_FWD, !cur); | ||||
|         } | ||||
|  | ||||
|         private void button59_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var cur = Util_DO.GetIOOutput(eDOName.PRINTR_FWD); | ||||
|             if (cur == false) | ||||
|             { | ||||
|                 var dlg = Util.MsgQ("프린터(우) 피커를 전진할까요?"); | ||||
|                 if (dlg != DialogResult.Yes) return; | ||||
|             } | ||||
|             Util_DO.SetOutput(eDOName.PRINTR_FWD, !cur); | ||||
|         } | ||||
|  | ||||
|         private void button3_Click_1(object sender, EventArgs e) | ||||
|         { | ||||
|             Pub.PrinterL.TestPrint(Pub.setting.DrawOutbox, "ATK4EE1", "", Pub.setting.STDLabelFormat7); | ||||
|             Pub.log.Add("임시프린트L:" + Pub.PrinterL.LastPrintZPL); | ||||
|         } | ||||
|  | ||||
|         private void button4_Click_1(object sender, EventArgs e) | ||||
|         { | ||||
|             Pub.PrinterR.TestPrint(Pub.setting.DrawOutbox, "ATK4EE1", "", Pub.setting.STDLabelFormat7); | ||||
|             Pub.log.Add("임시프린트R:" + Pub.PrinterR.LastPrintZPL); | ||||
|         } | ||||
|  | ||||
|         private void button15_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             //왼쪽검증취소 | ||||
|             if (Pub.flag.get(eFlag.RDY_VISION0) == false) return; | ||||
|             var dlg = Util.MsgQ("QR코드 검증을 취소할까요?"); | ||||
|             if (dlg != DialogResult.Yes) return; | ||||
|  | ||||
|             Pub.flag.set(eFlag.RDY_VISION0, false, "CANCEL"); | ||||
|             Pub.flag.set(eFlag.PORTL_ITEMON, false, "CANCEL"); | ||||
| 			Pub.flag.set(eFlag.PRC_VISION0, false, "CANCEL"); | ||||
|  | ||||
|             Pub.ResetRunStepSeq(eRunSequence.VISION0); | ||||
|             Pub.UpdaterunStepSeqStartTime(eRunSequence.COM_VS0); | ||||
|             Pub.log.Add(string.Format("QR검증({0}) 취소 JGUID={1}", "L", Pub.Result.ItemData[0].guid)); | ||||
|         } | ||||
|  | ||||
|         private void button16_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             if (Pub.flag.get(eFlag.RDY_VISION2) == false) return; | ||||
|             var dlg = Util.MsgQ("QR코드 검증을 취소할까요?"); | ||||
|             if (dlg != DialogResult.Yes) return; | ||||
|  | ||||
|             Pub.flag.set(eFlag.RDY_VISION2, false, "CANCEL"); | ||||
|             Pub.flag.set(eFlag.PORTR_ITEMON, false, "CANCEL"); | ||||
| 			Pub.flag.set(eFlag.PRC_VISION2, false, "CANCEL"); | ||||
|  | ||||
| 			Pub.ResetRunStepSeq(eRunSequence.VISION2); | ||||
|             Pub.UpdaterunStepSeqStartTime(eRunSequence.COM_VS2); | ||||
|             Pub.log.Add(string.Format("QR검증({0}) 취소 JGUID={1}", "R", Pub.Result.ItemData[2].guid)); | ||||
|         } | ||||
|  | ||||
|         private void button8_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             //왼쪽 -5mm | ||||
|             var pos = Util_Mot.GetAxPLMPos(eAxisPLMovePos.READY); | ||||
|             var vel = Pub.setting.MoveYForPaperVaccumeVel; | ||||
|             var acc = Pub.setting.MoveYForPaperVaccumeAcc; | ||||
|             Util_Mot.Move(eAxis.PL_MOVE, pos.position + Pub.setting.MoveYForPaperVaccumeValue, vel, acc, false, false, false); | ||||
|         } | ||||
|  | ||||
|         private void button14_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             //왼쪽 +5mm | ||||
|             var pos = Util_Mot.GetAxPLMPos(eAxisPLMovePos.READY); | ||||
|             Util_Mot.Move(eAxis.PL_MOVE, pos.position, 50, 200, false, false, false); | ||||
|         } | ||||
|  | ||||
|         private void button15_Click_1(object sender, EventArgs e) | ||||
|         { | ||||
|             //오른쪽 -5mm | ||||
|             var pos = Util_Mot.GetAxPRMPos(eAxisPRMovePos.READY); | ||||
|             var vel = Pub.setting.MoveYForPaperVaccumeVel; | ||||
|             var acc = Pub.setting.MoveYForPaperVaccumeAcc; | ||||
|             Util_Mot.Move(eAxis.PR_MOVE, pos.position + Pub.setting.MoveYForPaperVaccumeValue, vel, acc, false, false, false); | ||||
|         } | ||||
|  | ||||
|         private void button16_Click_2(object sender, EventArgs e) | ||||
|         { | ||||
|             //오른쪽 +5mm | ||||
|             var pos = Util_Mot.GetAxPRMPos(eAxisPRMovePos.READY); | ||||
|             Util_Mot.Move(eAxis.PR_MOVE, pos.position, 50, 200, false, false, false); | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										380
									
								
								Handler/Project_form2/Dialog/QuickControl.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										380
									
								
								Handler/Project_form2/Dialog/QuickControl.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,380 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
|   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||||
|   <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         AAABAAMAMDAAAAEAIACoJQAANgAAACAgAAABACAAqBAAAN4lAAAQEAAAAQAgAGgEAACGNgAAKAAAADAA | ||||
|         AABgAAAAAQAgAAAAAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgaZsA5C1 | ||||
|         fwOTuIIDkbaAA5K3gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3 | ||||
|         gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3 | ||||
|         gQOSt4EDkreBA5G2gAOTuIIDkLV/A4GmbAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAfaJmBAAAAAB6n2IdfaJmkoescoeIrnSDh61zhIitc4SIrXOEiK1zhIitc4SIrXOEiK1zhIit | ||||
|         c4SIrXOEiK1zhIitc4SIrXOEiK1zhIitc4SIrXOEiK1zhIitc4SIrXOEiK1zhIitc4SIrXOEiK1zhIit | ||||
|         c4SIrXOEiK1zhIitc4SIrXOEiK1zhIitc4SIrXOEiK1zhIetc4SIrnSDh6xyh32iZpJ6n2IdAAAAAH2i | ||||
|         ZgQAAAAAAAAAAAAAAAAAAAAAiKx0BwAAAACApWk1ia52/6DElP+kyJn9osaW/qLGl/+ixpf/osaX/6LG | ||||
|         l/+ixpf/osaX/6LGl/+ixpf/osaX/6LGl/+ixpf/osaX/6LGl/+ixpf/osaX/6LGl/+ixpf/osaX/6LG | ||||
|         l/+ixpf/osaX/6LGl/+ixpf/osaX/6LGl/+ixpf/osaX/6LGl/+ixpf/osaX/6LGlv6kyJn9oMSU/4mu | ||||
|         dv+ApWk1AAAAAIisdAcAAAAAAAAAAAAAAAAAAAAAl7uIBgAAAACIrXQrmr6M47/ivf3E58P8weS/+sLk | ||||
|         wPvC5MD7wuTA+8LkwPvC5MD7wuTA+8LkwPvC5MD7wuTA+8LkwPvC5MD7wuTA+8LkwPvB5MD7wuTA+8Lk | ||||
|         wPvC5MD7wuTA+8LkwPvC5MD7wuTA+8LkwPvC5MD7wuTA+8LkwPvC5MD7wuTA+8LkwPvC5MD7wuTA+8Hk | ||||
|         v/rE58P8v+K9/Zq+jOOIrXQrAAAAAJe7iAYAAAAAAAAAAAAAAAAAAAAAlLiEBgAAAACHq3Itl7uH67nc | ||||
|         tf++4bz+u964/bzfuf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzf | ||||
|         uf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzf | ||||
|         uf6837n+vN+5/rveuP2+4bz+udy1/5e7h+uHq3ItAAAAAJS4hAYAAAAAAAAAAAAAAAAAAAAAlLiEBgAA | ||||
|         AACHq3Isl7uI67rdtv+/4r3/vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzf | ||||
|         uf694Lr+vN+5/r3guv694Lr+vN+5/rzfuf694Lr+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzf | ||||
|         uf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJS4hAYAAAAAAAAAAAAA | ||||
|         AAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/73guv+94Lr/veC6/73g | ||||
|         uv+837n/veC6/73guv+73rf/weO//7ndtf+z163/weTA/7zfuf+837n/veC6/7zfuf+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5 | ||||
|         hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/7zfuf+94Lr/vN+5/7veuP/C5MH/stet/6bHm/+oxpz/qc6h/7/ivf++4bz/u964/73g | ||||
|         uv+837n/veC6/73guv+94Lr/veC6/73guv+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7 | ||||
|         iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3g | ||||
|         uv+94Lr/veC6/73guv+94Lr/vN+5/73guv+837n/vd+5/8Djvv+02bD/p8ic/8LTt//R3cn/q8ef/67R | ||||
|         p/+94bv/v+K9/7veuP+94Lr/vN+5/73guv+94Lr/veC6/73guv+94Lr/veC6/73guv+94Lr/veC6/7zf | ||||
|         uf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rd | ||||
|         tv+/4r3/vN+5/r3guv+94Lr/veC6/73guv+837n/veC6/7zfuf+94Lr/vuG8/7fasv+mx5v/xte8//b4 | ||||
|         9P/9/f3/3ObW/6zHoP+u0qf/veG7/77hvP+837n/veC6/73guv+94Lr/veC6/73guv+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAA | ||||
|         AACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/73guv+94Lr/vN+5/73guv++4bz/uNu0/6XH | ||||
|         mv/I2b7/9Pfy/////////////f39/9zm1v+tyKD/rtGm/7/ivf+94Lr/vN+5/7zfuf+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAA | ||||
|         AAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/7zfuf+94Lr/u964/8Hj | ||||
|         v/+22bH/o8SX/83exv/2+fX///////39/P/+/f3///////7+/f/h69z/rsmh/6nNn//C5cH/vN+4/7zf | ||||
|         uf+94Lr/vN+5/73guv+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5 | ||||
|         hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/73g | ||||
|         uv+837j/wuTA/7LXrf+nx5z/zNvE//b49P//////+/v6/8bWvP+uxaH/7vLr//7+/v/+////4Oja/7LK | ||||
|         pv+ozJ//wuXB/73guv+837n/veC6/7zfuf+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7 | ||||
|         iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3g | ||||
|         uv+94Lr/vN+5/7zfuf++4Lv/t9uz/6rLoP/C1Lj//Pz7///////4+ff/zNvF/6fInP+kyJr/uM6t/+zw | ||||
|         6P/+/v7///7//+Do2v+yy6f/qc2h/7/ivf++4bz/u964/73guv+837n/veC6/73guv+94Lr/veC6/7zf | ||||
|         uf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rd | ||||
|         tv+/4r3/vN+5/r3guv+94Lr/vN+5/7zfuf++4Lv/t9uz/6rKn//C07j//v7+//z8+//N28T/qMec/7ba | ||||
|         sv/B47//p8qd/7nOrv/q8Of///////7+/v/g6dv/rcih/63Rpf+94bv/v+K9/7veuP+94Lr/vN+5/73g | ||||
|         uv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAA | ||||
|         AACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/73guv+73rj/wuXB/7HVq/+pyJ7/z97I/9Pg | ||||
|         zf+ryZ//stas/8LkwP+94Lr/vuG8/6PGmP+90rT/6/Dn///////8/fv/3+rb/6/Ko/+u0ab/vOC5/7/h | ||||
|         vP+837n/veC6/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAA | ||||
|         AAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/7zfuf+94Lr/u964/7/j | ||||
|         vf+53LX/o8SY/6PFmP+53LX/wOO+/7veuP+837n/veC6/8Djvv+lyZv/uc+v/+rv5////////f79/+bs | ||||
|         4f+tx6H/rNCl/8Djvv+837n/vN+5/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5 | ||||
|         hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/73g | ||||
|         uv+94Lr/vN+5/73guv+84Lr/ut22/7rdtv+84Lr/veC6/7zfuf+837n/veC6/73guv+/4rz/p8ue/7bO | ||||
|         q//r8ej///////7+/v/l7OH/ssun/6jNoP/B47//vN+5/7zfuf+94Lr/veC6/7zfuf6/4r3/ut22/5e7 | ||||
|         iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlLiEBgAAAACHq3Itl7uI67rdtv+/4r3/vN+5/r3g | ||||
|         uv+94Lr/veC6/73guv+837n/veC6/7zfuf+94Lr/vuG8/77hvP+94Lr/vN+5/73guv+94Lr/vN+5/7zf | ||||
|         uf+/4bz/vOC5/6jLnv+zy6j/7/Ps///////09vL/tcup/6PImf/C5MD/vN+5/7zfuf+94Lr/veC6/7zf | ||||
|         uf6/4r3/ut22/5e7iOuHq3ItAAAAAJS4hAYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3MsmLuI57rd | ||||
|         tv+/4r3/vN+5/r3guv+94Lr/veC6/73guv+94Lr/vN+5/73guv+837n/vN+5/7zfuf+837n/veC6/7zf | ||||
|         uf+837n/veC6/73guv+73rj/weO//7ndtf+qzKH/uc6t/9bhzv/A07b/sM+n/7fbs/++4Lv/vN+5/7zf | ||||
|         uf+94Lr/veC6/7zfuf6/4r3/ut22/5i7iOeHq3MsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAk7eDBgAA | ||||
|         AACGqnEwlbmG9rrdtv+/4r3+vN+5/r3guv+94Lr/veC6/73guv+94Lr/veC6/73guv+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/7zfuf+94Lr/u963/8Djvv+94Lr/qMqe/6vHnv+nyJv/ttqy/8Hk | ||||
|         v/+83rj/veC6/73guv+94Lr/veC6/7zfuf6/4r3+ut22/5W5hvaGqnEwAAAAAJO3gwYAAAAAAAAAAAAA | ||||
|         AAAAAAAAkraCBwAAAACFqnI1lLiF/7nctf+/4r39vN+4/r3guv+94Lr/veC6/73guv+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/73guv+837n/veC6/7zfuf+837n/vN+5/7zfuf+837n/veC6/7veuP++4Lv/wOK+/7HV | ||||
|         q/+94Lr/v+K9/7veuP+94Lr/vN+5/73guv+94Lr/veC6/7zfuP6/4r39udy1/5S4hf+FqnI1AAAAAJK2 | ||||
|         ggcAAAAAAAAAAAAAAAAAAAAAlLmFBwAAAACIrXU0lruI/7ndtv+/4r39vN+5/r3guv+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/73guv+84Lr/vN+5/73guv+94Lr/veC6/73guv+94Lr/veC6/73g | ||||
|         uv+837n/vN+5/73gu/+837n/vN+5/73guv+837n/veC6/73guv+94Lr/veC6/7zfuf6/4r39ud22/5a7 | ||||
|         iP+IrXU0AAAAAJS5hQcAAAAAAAAAAAAAAAAAAAAAlLmFBwAAAACHrXU0lruI/7ndtv+/4r39vN+5/r3g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/73guv+94Ln/veC6/73guv+837n/vN+5/7zfuf+94Lv/vuG8/77h | ||||
|         vP+94Lv/vN+5/7zfuf+837n/veC6/73guv+94Lr/vN+5/73guv+94Lr/veC6/73guv+94Lr/veC6/7zf | ||||
|         uf6/4r39ud22/5a7iP+HrXU0AAAAAJS5hQcAAAAAAAAAAAAAAAAAAAAAk7iEBwAAAACHrXU0lruH/7nd | ||||
|         tv+/4r39vN+5/r3guv+94Lr/veC6/73guv+94Lr/veC6/7zfuf+94Lr/vN+5/7zfuf+837n/weS//7zf | ||||
|         uf+sz6P/oMWW/6DFlv+sz6T/vN+5/8Hkv/+837n/vN+5/7zfuf+94Lr/veC6/7zfuf+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/7zfuf6/4r39ud22/5a7h/+HrXU0AAAAAJO4hAcAAAAAAAAAAAAAAAAAAAAAlLmFBwAA | ||||
|         AACHrXU0lruH/7ndtv+/4r39vN+5/r3guv+94Lr/veC6/73guv+94Lr/veC6/73guv+837n/veC6/77h | ||||
|         u/+63bf/qMyg/5vBkP+awpD/mMGP/5fBj/+awpH/m8GQ/6jMn/+63rf/vuG7/73guv+837n/veC6/73g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r39ud22/5a7h/+HrXU0AAAAAJS5hQcAAAAAAAAAAAAA | ||||
|         AAAAAAAAlLmFBwAAAACHrXU0lruH/7ndtv+/4r39vN+5/r3guv+94Lr/veC6/73guv+94Lr/vN+5/7zf | ||||
|         uf+837n/veC5/7rdtv+kyJr/krmF/5G7h/+ZxJL/n8qa/57Kmv+ZxJL/kbqG/5K5hf+kyZr/ut23/7zg | ||||
|         uf+84Ln/vN+5/7zfuf+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r39ud22/5a7h/+HrXU0AAAAAJS5 | ||||
|         hQcAAAAAAAAAAAAAAAAAAAAAk7iEBwAAAACHrXU0lruH/7nctf+/4r39u9+4/rzfuf+837n/vN+5/7zf | ||||
|         uf+837n/vN+5/7zfuP++4bv/vN+5/6XJm/+QuIL/mMOR/6POoP+eyZn/nciY/57ImP+eyZn/o86g/5jD | ||||
|         kf+QuIP/psmd/7zfuf++4bv/vN+4/7zfuf+837n/vN+5/7zfuf+837n/vN+5/7vfuP6/4r39udy1/5a7 | ||||
|         h/+HrXU0AAAAAJO4hAcAAAAAAAAAAAAAAAAAAAAAlLmFBwAAAACIrXU0lruI/7rdtv/A4779vN+5/r3g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/73guv/A4r7/uNu0/4+1gP+Yw5H/oMyd/53Hl/+dyJj/nciY/53I | ||||
|         mP+dyJj/nceX/6DMnf+Yw5H/j7WA/7nbtf/A4r7/vOC5/73guv+94Lr/veC6/73guv+94Lr/veC6/7zf | ||||
|         uf7A4779ut22/5a7iP+IrXU0AAAAAJS5hQcAAAAAAAAAAAAAAAAAAAAAlLmGBwAAAACIrnY0l7yJ/7ve | ||||
|         uP/B5MD9veG7/r7hvP++4bz/vuG8/77hvP++4bz/vuG7/8Djvv+837n/qc6h/5S9iv+axZT/n8qb/53I | ||||
|         mP+eyZn/nsmZ/57Jmf+eyZn/nciY/5/Km/+axZT/lLyJ/6rOof+837n/wOO+/77hu/++4bz/vuG8/77h | ||||
|         vP++4bz/vuG8/77hu/7B5MD9u964/5e8if+IrnY0AAAAAJS5hgcAAAAAAAAAAAAAAAAAAAAAh6tyBwAA | ||||
|         AACApGk1iKx0/53BkP+hxZX9n8OT/6DElP+gxJT/oMSU/6DElP+gxJT/n8OT/6LGl/+avo3/i7F7/5nE | ||||
|         kv+eyZn/nciY/53ImP+dyJj/nsmZ/57Jmf+dyJj/nciY/53ImP+eyZn/mcOS/4uxev+avo3/osaX/5/D | ||||
|         k/+gxJT/oMSU/6DElP+gxJT/oMSU/5/Dk/+gxJX9ncGQ/4isdP+ApGk1AAAAAIercwcAAAAAAAAAAAAA | ||||
|         AAAAAAAAia12BgAAAAB9oWYtjK957qrOov+iyZr+mMCO/pjBj/6YwY//mMGP/5jBj/+YwY//mMGP/5nC | ||||
|         kP+Wv4z/kruI/5zHl/+eyZn/nciY/53ImP+eyZn/nsmZ/57Jmf+eyZn/nciY/53ImP+eyZr/nMiX/5K7 | ||||
|         h/+Wv4z/mcKQ/5jBj/+YwY//mMGP/5jBj/+YwY//mMGP/pjBjv6jypr+qs6i/4yvee59oWUtAAAAAImt | ||||
|         dQYAAAAAAAAAAAAAAAAAAAAAjbJ8BQAAAAB1mlwhkraCwr/ivf613LT/os2e/Z7Kmv+gy5z/n8ub/5/L | ||||
|         m/+fy5v/n8ub/5/Lm/+gy5z/ocye/57Jmf+dyJj/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+dyJj/nsmZ/6HMnv+gy5z/n8ub/5/Lm/+fy5v/n8ub/5/Lm/+gy5z/nsqa/6LNnv223LT/v+K9/pK2 | ||||
|         gcJ1mlwhAAAAAI6yfAUAAAAAAAAAAAAAAAAAAAAAgadsAwAAAABTfC8Phqxzfq7Sp/W427T/p8+i/JrG | ||||
|         lf6eyZn/nciY/53ImP+dyJj/nciY/53ImP+dyJj/nciY/53ImP+eyZn/nciY/57JmP+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmY/53ImP+eyZn/nciY/53Il/+dyJj/nciY/53ImP+dyJj/nciY/53ImP+eyZn/msaV/qfP | ||||
|         ovy427P/rtGm9YetdH1UfDIPAAAAAIKobQMAAAAAAAAAAAAAAAAAAAAAAAAAANT33wEAAAAAfKFlIpe7 | ||||
|         itm32bH/r9ar/ZvGlf6eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/m8aV/q/Wq/232bH/lruH2XimZiEAAAAA1efOAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIyw | ||||
|         ewMAAAAAdZpeComtd7S016/9tty0/6HLnP2dyJj+nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+dyJj+ocuc/bfdtP+01679ia11tXWaWwoAAAAAjLB5AwAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAIOpcAIAAAAAWYE6BX6kaXyv0afuut23/6nRpfubx5b/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+bx5b/qdGk+7rdtv+u0abugKRqeluAOwUAAAAAhalxAgAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHebWySbv47GtNau/7LYsPubx5b+nsmZ/p7I | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nciZ/57Jmf6bx5b+stiv+7PWrf+bv43FeppfIwAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACMs3wBAAAAAAAAAACDq3GgrNGl/7vg | ||||
|         uf6gypv9nsmZ/53ImP+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nciY/57Jmf+gypv9u+C5/q3Q | ||||
|         pf+FqXCfAAAAAAAAAACOsnwBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACIq3IBAAAAAAAA | ||||
|         AAB7oWR0qM2f6Lzguf+q0aX8nciX/53ImP+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nciY/53I | ||||
|         l/+q0qX8u+C5/6nNoOd8oGZzAAAAAAAAAACIqnMBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAABojlAoncGRuLPWrf+02rH6nMeX/pzIl/6dyJj+nciY/p3ImP6dyJj+nciY/p3I | ||||
|         mP6dyJj+nciY/p3ImP6dyJj+nciY/p3ImP6dyJj+nciY/p3ImP6dyJj+nciY/p3ImP6dyJj+nciY/p3I | ||||
|         mP6dyJj+nMiX/pzHl/602rH6s9at/53BkbhpjEsnAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAJm6iAIAAAAAh6x0f6bJm/+74Lr8oMqc/pvHlv6bx5b+nMeW/pzH | ||||
|         lv6cx5b+nMeW/pzHlv6cx5b+nMeW/pzHlv6cx5b+nMeW/pzHlv6cx5b+nMeW/pzHlv6cx5b+nMeW/pzH | ||||
|         lv6cx5b+nMeW/pzHlv6bx5b+m8eW/qDLnP674Lr8psmb/4esdH8AAAAAmbqIAgAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIisdQIAAAAAd5xfZaHElebF6MX8u9+5+brf | ||||
|         uPq637j6ut+4+rrfuPq637j6ut+4+rrfuPq637j6ut+4+rrfuPq637j6ut+4+rrfuPq637j6ut+4+rrf | ||||
|         uPq637j6ut+4+rrfuPq637j6ut+4+rrfuPq637j6ut+4+rvgufnF6MX8ocSV5necXmQAAAAAiKx0AgAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH+obAEAAAAAapRRJpG3 | ||||
|         gamixpb/qMuf/KnMn/6py5//qcuf/6nLn/+py5//qcuf/6nLn/+py5//qcuf/6nLn/+py5//qcuf/6nL | ||||
|         n/+py5//qcuf/6nLn/+py5//qcuf/6nLn/+py5//qcuf/6nLn/+py5//qcyf/qjLn/yixpb/kbaBqGuS | ||||
|         UCUAAAAAgKdsAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AACet4sCAAAAAH2lZ0KGq3KVjrN+ho6yfYiNsn2IjrJ9iI6yfYiOsn2IjrJ9iI6yfYiOsn2IjrJ9iI6y | ||||
|         fYiOsn2IjrJ9iI6yfYiOsn2IjrJ9iI6yfYiOsn2IjrJ9iI6yfYiOsn2IjrJ9iI6yfYiNsn2IjrJ9iI6z | ||||
|         foaGq3KVfqRoQgAAAACWuoQCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIatcgGQtX8DmLyKA5i8igOXu4kDmLyKA5i8 | ||||
|         igOYvIoDmLyKA5i8igOYvIoDmLyKA5i8igOYvIoDmLyKA5i8igOYvIoDmLyKA5i8igOYvIoDmLyKA5i8 | ||||
|         igOYvIoDmLyKA5i8igOXu4kDmLyKA5i8igOQtX8DhqxzAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAP///////wAA////////AAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgA | ||||
|         AAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAf | ||||
|         AAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgA | ||||
|         AAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAf | ||||
|         AAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgAAAAAHwAA/AAAAAA/AAD8AAAAAD8AAPwA | ||||
|         AAAAPwAA/gAAAAB/AAD+AAAAAH8AAP4AAAAAfwAA/wAAAAD/AAD/AAAAAP8AAP+AAAAB/wAA/4AAAAH/ | ||||
|         AAD/gAAAAf8AAP/AAAAD/wAA////////AAD///////8AACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB/pGgBAAAAAHugZE6DqG1jhKpvW4Spbl2EqW5dhKluXYSp | ||||
|         bl2EqW5dhKluXYSpbl2EqW5dhKluXYSpbl2EqW5dhKluXYSpbl2EqW5dhKluXYSpbl2EqW5dhKluXYSp | ||||
|         bl2EqW5dhKpvW4OobWN7oGROAAAAAH+kaAEAAAAAAAAAAJq+jQQAAAAAjbF7vqjLnv+s0KP7qs6h/qvO | ||||
|         ov+rzqL/q86i/6vOov+rzqL/q86i/6vOov+qzqL/qs6i/6vOov+rzqL/q86i/6vOov+rzqL/q86i/6vO | ||||
|         ov+rzqL/q86i/6rOof6s0KP7qMue/42xe74AAAAAmr6NBAAAAAAAAAAArM+jBAAAAACZvYqtveC6/8Ll | ||||
|         wfjA4777weO//MDjv/vA47/7weO/+8Djv/vB47/7wOO++8Hjv/vA4777weO/+8Hjv/vB47/7wOO/+8Dj | ||||
|         v/vA47/7wOO/+8Djv/vB47/8wOO++8Llwfi94Lr/mb2KrQAAAACsz6MEAAAAAAAAAACny54EAAAAAJa6 | ||||
|         hrK427P/veC6+7ret/673rj+u964/rveuP673rf+u964/rrdt/6937r+u9+4/r3guv673rj+u963/rve | ||||
|         t/673rj+u964/rveuP673rj+u964/rveuP663rf+veC6+7jbs/+WuoayAAAAAKfLngQAAAAAAAAAAKjM | ||||
|         nwQAAAAAlrqHsbnctf++4bz7vN+5/r3guv+94Lr+veC6/7zfuf+73rj/vuG8/7ndtv+oyp7/rdCl/77i | ||||
|         vP+837r/vN+5/7zfuv+94Lr/veC6/73guv+94Lr+veC6/7zfuf6+4bz7udy1/5a6h7EAAAAAqMyfBAAA | ||||
|         AAAAAAAAqMyfBAAAAACWuoexudy0/77hu/u837n+veC6/7zfuf6837n+u964/r/hvP643bX+qsqg/tXf | ||||
|         zf7C1Lj+q8+j/r/ivf6837n+vN+5/r3guv6837n+vN+5/rzfuf694Lr/vN+5/r7hu/u53LT/lrqHsQAA | ||||
|         AACozJ8EAAAAAAAAAACozJ8EAAAAAJa6h7G53LT/vuG8+7zfuf694Lr/vN+5/rveuP+/4bz/uNy1/6vL | ||||
|         of/b5dX///////n6+f/C1bn/q8+j/7/ivf+837n/vN+5/73guv+94Lr/vN+5/r3guv+837n+vuG8+7nc | ||||
|         tP+WuoexAAAAAKjMnwQAAAAAAAAAAKjMnwQAAAAAlrqHsbnctP++4bz7vN+5/r3guv+837j+vuG8/7jc | ||||
|         tf+qyaD/3+nb///////n7eP/9ff0//3+/f/F17v/q86h/7/jvf+837n/vN+5/7zfuf+94Lr+veC6/7zf | ||||
|         uf6+4bz7udy0/5a6h7EAAAAAqMyfBAAAAAAAAAAAqMyfBAAAAACWuoexudy0/77hu/u837n+vN+5/73f | ||||
|         uv663rf/q8uh/+Ho2///////4ure/6TEmf+50K//9/j1//39/f/G1r3/q86j/7/ivf+837r/vN+4/7zf | ||||
|         uf694Lr/vN+5/r7hvPu53LT/lrqHsQAAAACozJ8EAAAAAAAAAACozJ8EAAAAAJa6h7G53LT/vuG7+7zf | ||||
|         uf6837n/vd+6/rret/+qyaD/5uzh/+ju5P+ryaD/u9+5/7DUqv+5z6//+Pn3//39/P/D1rr/q8+j/77i | ||||
|         vP+837n/vN+5/r3guv+837n+vuG8+7nctP+WuoexAAAAAKjMnwQAAAAAAAAAAKjMnwQAAAAAlrqHsbnc | ||||
|         tP++4bz7vN+5/r3guv+837j+vuG7/7jdtf+tzKT/rsyl/7ndtf++4Lv/v+K9/6/TqP+70bH/9ffz//3+ | ||||
|         /f/H177/rM+k/7/ivP+83rj+veC6/7zfuf6+4bz7udy0/5a6h7EAAAAAqMyfBAAAAAAAAAAAqMyfBAAA | ||||
|         AACWuoexudy0/77hu/u837n+veC6/7zfuf673rj/vuG7/7ndtv+53bb/vuG7/7veuP+837n/wOO+/67T | ||||
|         qP+40K7/9vn1///////A0rb/q9Ck/8Djvv673rj/vN+5/r7hu/u53LT/lrqHsQAAAACozJ8EAAAAAAAA | ||||
|         AACpzJ8EAAAAAJe6h6+53LX/vuG8+7zfuf694Lr/vN+5/rzfuf+837j/veC6/73gu/+837j/vN+5/7zf | ||||
|         uf+83rj/wOO+/63Spv+90rP/3+fY/7jRr/+z167/vuG8/rvfuP+837n+vuG8+7nctf+XuoevAAAAAKnM | ||||
|         nwQAAAAAAAAAAKfKngQAAAAAlLiFu7jbtP++4bv6vN+5/r3guv+94Lr+vN+5/7zguv+837n/vN+5/73f | ||||
|         uv+837n/vN+4/7veuP+73rj/wOO+/7LUq/+oyJz/tdiw/7/ivf+73rj+veC6/7zfuf6+4bv6uNu0/5S4 | ||||
|         hbsAAAAAp8qeBAAAAAAAAAAApsudBAAAAAGUuYbBuNu0/77hu/q837n/veC6/rzfuf694Lr/veC5/73g | ||||
|         uv+84Lr/u964/7zfuf++4bz/vuG8/7zfuf+73rj/vuG8/7vfuf++4bv/u964/7zfuf694Lr+vN+5/77h | ||||
|         u/q427T/lLmGwQAAAAGmy50EAAAAAAAAAACny50EAAAAAJW7h8G43LT/vuG8+rzfuf+94Lr+vN+5/rzf | ||||
|         uf+837n/vN+5/7veuP+/4rz/vuC7/7XYsP+12LD/veC7/7/ivf+73rj/vd+6/7zfuf+837n/veC6/r3g | ||||
|         uv6837n/vuG8+rjctP+Vu4fBAAAAAKfLnQQAAAAAAAAAAKfLnQQAAAAAlbqGwbjctP++4bz6vN+5/73g | ||||
|         uv694Lr+veC6/7zfuf+837n/vuG7/7LWrf+ix5j/mcGP/5nBkP+ix5j/stas/77hu/+837n/vN+5/7zf | ||||
|         uf+94Lr+veC6/rzfuf++4bz6uNy0/5W6hsEAAAAAp8udBAAAAAAAAAAAp8ucBAAAAACVuobBt9uz/73g | ||||
|         u/q73rj/vN+4/rzfuP673rj/u963/73guv+u0qf/k7uH/5XAjv+dyJj/nciY/5XAjf+Tu4f/r9Ko/73g | ||||
|         uv+73rf/u964/7zfuP6837j+u964/73gu/q327P/lbqGwQAAAACny5wEAAAAAAAAAACozKAEAAAAAJa7 | ||||
|         iMG73rf/wOO/+r7hu/++4bz/vuG8/r7hu//A477/vN64/5O6h/+axpX/oMuc/53Hl/+dx5f/oMuc/5rG | ||||
|         lf+Uuof/vN65/8Djvv++4bv/vuG8/r7hvP++4bv/wOO/+rvet/+Wu4jBAAAAAKjMnwQAAAAAAAAAAKDE | ||||
|         lAQAAAABkbWBwa/SqP+22bH6tNeu/7TXr/6016//tNeu/7bZsf+jx5n/lb+N/57Jmv+cx5f/nciY/53I | ||||
|         mP+cx5f/nsma/5W/jP+jx5n/ttmx/7TXrv+016//tNev/rTXrv+22bH6r9Ko/5G2gcEAAAABn8SVBAAA | ||||
|         AAAAAAAAl7uIBAAAAACKrXe5ocaX/5rBkPqYv43+mMCO/5jAjf6YwI7/mMCO/5C4hP+bxpb/nciY/53I | ||||
|         mP+dyJj/nciY/53ImP+dyJj/m8eW/5C4g/+YwI7/mMCO/5jAjf6YwI7/mL+N/prCkPqhxpf/iq13uQAA | ||||
|         AACXu4kEAAAAAAAAAACny58DAAAAAJC0f4i43LX/qNGl+5zIl/6eypr/ncmZ/p3Jmf+eyZn/n8qc/53I | ||||
|         mP+dyJj/nsmY/57Jmf+eyZn/nsmY/53ImP+dyJj/n8qb/57Jmf+dyZn/ncmZ/p7Kmv+cyJf+qNGl+7nc | ||||
|         tf+QtH6HAAAAAKjMngMAAAAAAAAAAJa7iQEAAAAAdZxeLKfKneix163/m8aV/Z7Imf+dyJj+nciY/53I | ||||
|         mP+dyJj/nciY/53ImP+dyJj/nsmZ/57Jmf+dyJj/nciY/53ImP+dyJj/nciY/53ImP+dyJj+nsiZ/5vG | ||||
|         lf2x163/psmb6HSeXiwAAAAAlryIAQAAAAAAAAAAAAAAAAAAAAAAAAADmLuKvbjctf+hy5z7nMiX/p7J | ||||
|         mf+eyZn+nsmZ/57Jmf+eyZn/nsmZ/57Jmf+dyJj/nciY/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/p7J | ||||
|         mf+cyJf+ocuc+7jctf+Yu4m9AAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAu924AgAAAACNsntlsdOq/arS | ||||
|         p/yaxpX9nsmZ/p3ImP6dyJj+nciY/p3ImP6dyJj+nciY/p3ImP6dyJj+nciY/p3ImP6dyJj+nciY/p3I | ||||
|         mP6dyJj+nsmZ/prGlf2q0qb8sNOp/I6yfGQAAAAAt9yzAgAAAAAAAAAAAAAAAAAAAACBqG0CAAAAAGWP | ||||
|         Syiix5jntduz/5zHl/yeyJn/nsmZ/p7Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf6eyJn/nMeX/LXbs/+jxpjnZ4xKKAAAAACDp20CAAAAAAAAAAAAAAAAAAAAAHSZ | ||||
|         WwEAAAAABC4AB5q/jZ+12bD/oMqb+5jEk/6bxpX+msaV/prGlf6axpX+msaV/prGlf6axpX+msaV/prG | ||||
|         lf6axpX+msaV/prGlf6axpX+m8aV/pjEk/6gy5v7tdmw/5u/jp4CJgAHAAAAAHSYWwEAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAIqudwIAAAAAfqNoWK7Rpv+027T6pM6g+6fRo/un0KP7p9Cj+6fQo/un0KP7p9Cj+6fQ | ||||
|         o/un0KP7p9Cj+6fQo/un0KP7p9Cj+6fQo/un0KP7pM6g+7TctPqu0ab/fqNoWAAAAACKrncCAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAeaBjAQAAAABnj0wmncGQz6/SqP+v0qf9r9Gn/6/Rp/+v0af/r9Gn/6/R | ||||
|         p/+v0af/r9Gn/6/Rp/+v0af/r9Gn/6/Rp/+v0af/r9Gn/6/Rp/+v0qf9r9Ko/53BkM9njUolAAAAAHqf | ||||
|         YgEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB8o2Y+iK12Zoywe12Lr3pfjK96X4yv | ||||
|         el+Mr3pfjK96X4yvel+Mr3pfjK96X4yvel+Mr3pfjK96X4yvel+Mr3pfi696X4ywe12IrXZmfaNmPgAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA///////////gAAAH4AAAB+AAAAfgAAAH4AAAB+AA | ||||
|         AAfgAAAH4AAAB+AAAAfgAAAH4AAAB+AAAAfgAAAH4AAAB+AAAAfgAAAH4AAAB+AAAAfgAAAH4AAAB+AA | ||||
|         AAfwAAAP8AAAD/gAAB/4AAAf+AAAH/wAAD/8AAA///////////8oAAAAEAAAACAAAAABACAAAAAAAAAE | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAH2iZxiGq3E8iK1zNoesczeHrHM3h6xyN4arcTeHrHM3h6xzN4es | ||||
|         czeHrHM3iK1zNoarcTx9omcYAAAAAAAAAACUuIRer9Oo/7TXrvaz1q35s9at+bTXrvm12LD5s9at+bPW | ||||
|         rfmz1q35s9at+bTXrvav06j/lLiEXgAAAAAAAAAAm7+NXbrdtv+/4r77vuG7/r/ivf+737j/stas/73h | ||||
|         u/+/4b3/vuG8/77hvP6/4r77ut22/5u/jV0AAAAAAAAAAJm9i12427P/veC6+73guv623LP+wNq5/ubs | ||||
|         4f631rH+ud63/r3guv6837n+veC7+7jbs/+ZvYtdAAAAAAAAAACZvYtduNu0/77hvPu43bX+wdq7/u3x | ||||
|         6f7a5tX+6/Dn/rjWsf653rb+veC6/r3gu/u427T/mb2LXQAAAAAAAAAAmb2LXbjbtP++4bz7uN21/sLa | ||||
|         vP7F3L//rdSn/87gyf/t8er/vNm3/rret/6+4bv7uNu0/5m9i10AAAAAAAAAAJm9i12427T/veC7+73g | ||||
|         uv653bX+uN21/7/ivf+y2K3/z+HJ/9PgzP6z2K/+v+K9+7jbs/+ZvYtdAAAAAAAAAACXvIpjt9uz/77h | ||||
|         u/u837n/veC6/r7gu/++4bv/wOO+/7fbs/+117D+veC6/77hu/u327P/l7yKYwAAAAAAAAAAmL2KZbfa | ||||
|         s/+94Lv7u9+4/73guv663bb/qs+k/6rPo/+73rj/vuG7/rveuP+94Lv7t9qz/5i9imUAAAAAAAAAAJi9 | ||||
|         i2W53LX/wOK++7/hvP+937n+nsWV/5nEk/+ZxJL/nsWV/73fuf6/4bz/wOK++7nctf+YvYtlAAAAAAAA | ||||
|         AACTtoJlp8yf/6fNoPupzqH/oceY/pnEk/+fypr/n8qa/5nEk/+hx5j+qM6h/6fNoPuozJ//k7aCZQAA | ||||
|         AAAAAAAAkbN/NKjOovubx5b/msaV/pvHlv6eyJn+nciY/p3ImP6eyZn+m8eW/prGlf6bx5b/qM6i+5G0 | ||||
|         fjQAAAAAAAAAAAAAAACpzaHBpM2g/53ImPyeyZn+nsmZ/p7Jmf6eyZn+nsmZ/p7Jmf6dyJj8pM2f/6nN | ||||
|         oMEAAAAAAAAAAKvPowMAAAAAn8OTcKnRpf+bx5b8ncmY/p3ImP+dyJj/nciY/53ImP+dyJj+m8eW/KnR | ||||
|         pf+gwpNvAAAAAKvPowOMsXsBAAAAAIKlayKozaDrqc+j/ajOofmozqH6qM6h+qjOofqozqH6qM6h+anP | ||||
|         o/2ozaDqgqVrIgAAAACNsXsBAAAAAAAAAAAAAAAAiq93LZq7ijuauok4mrqJOZq6iTmauok5mrqJOZq6 | ||||
|         iTiau4o7iq53LQAAAAAAAAAAAAAAAP//AADAAwAAwAMAAMADAADAAwAAwAMAAMADAADAAwAAwAMAAMAD | ||||
|         AADAAwAAwAMAAMADAADgBwAA4AcAAP//AAA= | ||||
| </value> | ||||
|   </data> | ||||
| </root> | ||||
							
								
								
									
										89
									
								
								Handler/Project_form2/Dialog/fDataBufferSIDRef.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										89
									
								
								Handler/Project_form2/Dialog/fDataBufferSIDRef.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,89 @@ | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     partial class fDataBufferSIDRef | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// Required designer variable. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Clean up any resources being used. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region Windows Form Designer generated code | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Required method for Designer support - do not modify | ||||
|         /// the contents of this method with the code editor. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
|             this.lvSID = new System.Windows.Forms.ListView(); | ||||
|             this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||
|             this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||
|             this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // lvSID | ||||
|             //  | ||||
|             this.lvSID.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { | ||||
|             this.columnHeader1, | ||||
|             this.columnHeader2, | ||||
|             this.columnHeader3}); | ||||
|             this.lvSID.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.lvSID.FullRowSelect = true; | ||||
|             this.lvSID.GridLines = true; | ||||
|             this.lvSID.Location = new System.Drawing.Point(0, 0); | ||||
|             this.lvSID.Name = "lvSID"; | ||||
|             this.lvSID.Size = new System.Drawing.Size(335, 457); | ||||
|             this.lvSID.TabIndex = 2; | ||||
|             this.lvSID.UseCompatibleStateImageBehavior = false; | ||||
|             this.lvSID.View = System.Windows.Forms.View.Details; | ||||
|             //  | ||||
|             // columnHeader1 | ||||
|             //  | ||||
|             this.columnHeader1.Text = "SID"; | ||||
|             this.columnHeader1.Width = 200; | ||||
|             //  | ||||
|             // columnHeader2 | ||||
|             //  | ||||
|             this.columnHeader2.Text = "KPC"; | ||||
|             this.columnHeader2.Width = 50; | ||||
|             //  | ||||
|             // columnHeader3 | ||||
|             //  | ||||
|             this.columnHeader3.Text = "Unit"; | ||||
|             //  | ||||
|             // fDataBufferSID | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(335, 457); | ||||
|             this.Controls.Add(this.lvSID); | ||||
|             this.Name = "fDataBufferSID"; | ||||
|             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
|             this.Text = "SID Reference Buffer"; | ||||
|             this.TopMost = true; | ||||
|             this.Load += new System.EventHandler(this.fDataBuffer_Load); | ||||
|             this.ResumeLayout(false); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|  | ||||
|         private System.Windows.Forms.ListView lvSID; | ||||
|         private System.Windows.Forms.ColumnHeader columnHeader1; | ||||
|         private System.Windows.Forms.ColumnHeader columnHeader2; | ||||
|         private System.Windows.Forms.ColumnHeader columnHeader3; | ||||
|     } | ||||
| } | ||||
							
								
								
									
										91
									
								
								Handler/Project_form2/Dialog/fDataBufferSIDRef.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										91
									
								
								Handler/Project_form2/Dialog/fDataBufferSIDRef.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,91 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     public partial class fDataBufferSIDRef : Form | ||||
|     { | ||||
|         Boolean useMonitor = false; | ||||
|         public fDataBufferSIDRef() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             this.lvSID.Items.Clear(); | ||||
|             var list = Pub.Result.SIDReference.Items; | ||||
|             foreach (var item in list) | ||||
|             { | ||||
|                 var lv = this.lvSID.Items.Add(item.sid, string.Format("[{0}] {1}", lvSID.Items.Count + 1, item.sid), 0);    //sid | ||||
|                 lv.SubItems.Add(item.kpc.ToString()); //count | ||||
|                 lv.SubItems.Add(item.unit); | ||||
|             } | ||||
|             Pub.Result.SIDReference.PropertyChanged += sidreflist_PropertyChanged; | ||||
|             useMonitor = true; | ||||
|         } | ||||
|  | ||||
|         public fDataBufferSIDRef(List<Class.SIDDataRef> items) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             this.lvSID.Items.Clear(); | ||||
|             foreach (var item in items) | ||||
|             { | ||||
|                 var lv = this.lvSID.Items.Add(item.sid, string.Format("[{0}] {1}", lvSID.Items.Count + 1, item.sid), 0);    //sid | ||||
|                 lv.SubItems.Add(item.kpc.ToString()); //count | ||||
|                 lv.SubItems.Add(item.unit); | ||||
|             } | ||||
|         } | ||||
|         void fDataBufferSID_FormClosed(object sender, FormClosedEventArgs e) | ||||
|         { | ||||
|             if (useMonitor) | ||||
|                 Pub.Result.SIDReference.PropertyChanged -= sidreflist_PropertyChanged; | ||||
|         } | ||||
|  | ||||
|         private void fDataBuffer_Load(object sender, EventArgs e) | ||||
|         { | ||||
|             this.FormClosed += fDataBufferSID_FormClosed; | ||||
|  | ||||
|         } | ||||
|  | ||||
|         void sidreflist_PropertyChanged(object sender, PropertyChangedEventArgs e) | ||||
|         { | ||||
|             if (this.InvokeRequired) | ||||
|             { | ||||
|                 var p = new PropertyChangedEventArgs(e.PropertyName); | ||||
|                 this.BeginInvoke(new PropertyChangedEventHandler(sidreflist_PropertyChanged), new object[] { sender, p }); | ||||
|                 return; | ||||
|             } | ||||
|             var pname = e.PropertyName.Split(':'); | ||||
|             if (pname[0].ToLower() == "add") | ||||
|             { | ||||
|                 var sid = pname[1]; | ||||
|                 var item = Pub.Result.SIDReference.Get(pname[1]); | ||||
|                 var lv = this.lvSID.Items.Add(sid, string.Format("[{0}] {1}", lvSID.Items.Count + 1, sid), 0); | ||||
|                 lv.SubItems.Add(item.kpc.ToString()); | ||||
|                 lv.SubItems.Add(item.unit);// | ||||
|                 lv.EnsureVisible(); | ||||
|             } | ||||
|             else if (pname[0].ToLower() == "clear") | ||||
|             { | ||||
|                 this.lvSID.Items.Clear(); | ||||
|             } | ||||
|             else if (pname[0].ToLower() == "set") | ||||
|             { | ||||
|                 var sid = pname[1]; | ||||
|                 var cnt = Pub.Result.SIDReference.Get(sid); | ||||
|                 var items = this.lvSID.Items.Find(sid, false); | ||||
|                 if (items != null && items.Length > 0) | ||||
|                 { | ||||
|                     foreach (var item in items) | ||||
|                     { | ||||
|                         item.SubItems[1].Text = cnt.ToString(); | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|  | ||||
|     } | ||||
| } | ||||
							
								
								
									
										120
									
								
								Handler/Project_form2/Dialog/fDataBufferSIDRef.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										120
									
								
								Handler/Project_form2/Dialog/fDataBufferSIDRef.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,120 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
| </root> | ||||
							
								
								
									
										299
									
								
								Handler/Project_form2/Dialog/fDebug.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										299
									
								
								Handler/Project_form2/Dialog/fDebug.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,299 @@ | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     partial class fDebug | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// Required designer variable. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Clean up any resources being used. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region Windows Form Designer generated code | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Required method for Designer support - do not modify | ||||
|         /// the contents of this method with the code editor. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
|             this.components = new System.ComponentModel.Container(); | ||||
|             this.timer1 = new System.Windows.Forms.Timer(this.components); | ||||
|             this.tbBcd = new System.Windows.Forms.TextBox(); | ||||
|             this.label2 = new System.Windows.Forms.Label(); | ||||
|             this.button1 = new System.Windows.Forms.Button(); | ||||
|             this.textBox1 = new System.Windows.Forms.TextBox(); | ||||
|             this.textBox2 = new System.Windows.Forms.TextBox(); | ||||
|             this.label1 = new System.Windows.Forms.Label(); | ||||
|             this.label3 = new System.Windows.Forms.Label(); | ||||
|             this.button2 = new System.Windows.Forms.Button(); | ||||
|             this.button3 = new System.Windows.Forms.Button(); | ||||
|             this.textBox3 = new System.Windows.Forms.TextBox(); | ||||
|             this.label4 = new System.Windows.Forms.Label(); | ||||
|             this.textBox4 = new System.Windows.Forms.TextBox(); | ||||
|             this.label5 = new System.Windows.Forms.Label(); | ||||
|             this.button4 = new System.Windows.Forms.Button(); | ||||
|             this.button5 = new System.Windows.Forms.Button(); | ||||
|             this.button6 = new System.Windows.Forms.Button(); | ||||
|             this.button7 = new System.Windows.Forms.Button(); | ||||
|             this.button8 = new System.Windows.Forms.Button(); | ||||
|             this.button9 = new System.Windows.Forms.Button(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // timer1 | ||||
|             //  | ||||
|             this.timer1.Interval = 150; | ||||
|             this.timer1.Tick += new System.EventHandler(this.timer1_Tick); | ||||
|             //  | ||||
|             // tbBcd | ||||
|             //  | ||||
|             this.tbBcd.Location = new System.Drawing.Point(12, 381); | ||||
|             this.tbBcd.Name = "tbBcd"; | ||||
|             this.tbBcd.Size = new System.Drawing.Size(335, 21); | ||||
|             this.tbBcd.TabIndex = 44; | ||||
|             this.tbBcd.Text = "101409576;FF8N03FA2;MURATA;10000;8N09AFQPF;20181109;"; | ||||
|             this.tbBcd.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // label2 | ||||
|             //  | ||||
|             this.label2.AutoSize = true; | ||||
|             this.label2.Location = new System.Drawing.Point(10, 360); | ||||
|             this.label2.Name = "label2"; | ||||
|             this.label2.Size = new System.Drawing.Size(97, 12); | ||||
|             this.label2.TabIndex = 45; | ||||
|             this.label2.Text = "Manual barcode"; | ||||
|             this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; | ||||
|             //  | ||||
|             // button1 | ||||
|             //  | ||||
|             this.button1.Location = new System.Drawing.Point(12, 408); | ||||
|             this.button1.Name = "button1"; | ||||
|             this.button1.Size = new System.Drawing.Size(335, 24); | ||||
|             this.button1.TabIndex = 46; | ||||
|             this.button1.Text = "send"; | ||||
|             this.button1.UseVisualStyleBackColor = true; | ||||
|             this.button1.Click += new System.EventHandler(this.button1_Click); | ||||
|             //  | ||||
|             // textBox1 | ||||
|             //  | ||||
|             this.textBox1.Location = new System.Drawing.Point(14, 29); | ||||
|             this.textBox1.Name = "textBox1"; | ||||
|             this.textBox1.Size = new System.Drawing.Size(335, 21); | ||||
|             this.textBox1.TabIndex = 47; | ||||
|             this.textBox1.Text = "101409930;L99294875498;KYOCERA;30000;037920827134011M001;2020-08-27;ABCDEFGHIJ123" + | ||||
|     "4567890ABCDEFGHIJ"; | ||||
|             this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // textBox2 | ||||
|             //  | ||||
|             this.textBox2.Location = new System.Drawing.Point(12, 81); | ||||
|             this.textBox2.Name = "textBox2"; | ||||
|             this.textBox2.Size = new System.Drawing.Size(335, 21); | ||||
|             this.textBox2.TabIndex = 47; | ||||
|             this.textBox2.Text = "101409930;L99294875498;KYOCERA;30000;037920827134011M001;2020-08-27;ABCDEFGHIJ123" + | ||||
|     "4567890ABCDEFGHIJ"; | ||||
|             this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // label1 | ||||
|             //  | ||||
|             this.label1.AutoSize = true; | ||||
|             this.label1.Location = new System.Drawing.Point(10, 14); | ||||
|             this.label1.Name = "label1"; | ||||
|             this.label1.Size = new System.Drawing.Size(93, 12); | ||||
|             this.label1.TabIndex = 45; | ||||
|             this.label1.Text = "Print Command"; | ||||
|             this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; | ||||
|             //  | ||||
|             // label3 | ||||
|             //  | ||||
|             this.label3.AutoSize = true; | ||||
|             this.label3.Location = new System.Drawing.Point(10, 66); | ||||
|             this.label3.Name = "label3"; | ||||
|             this.label3.Size = new System.Drawing.Size(93, 12); | ||||
|             this.label3.TabIndex = 45; | ||||
|             this.label3.Text = "Print Command"; | ||||
|             this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; | ||||
|             //  | ||||
|             // button2 | ||||
|             //  | ||||
|             this.button2.Location = new System.Drawing.Point(252, 2); | ||||
|             this.button2.Name = "button2"; | ||||
|             this.button2.Size = new System.Drawing.Size(95, 24); | ||||
|             this.button2.TabIndex = 48; | ||||
|             this.button2.Text = "Print"; | ||||
|             this.button2.UseVisualStyleBackColor = true; | ||||
|             this.button2.Click += new System.EventHandler(this.button2_Click); | ||||
|             //  | ||||
|             // button3 | ||||
|             //  | ||||
|             this.button3.Location = new System.Drawing.Point(252, 54); | ||||
|             this.button3.Name = "button3"; | ||||
|             this.button3.Size = new System.Drawing.Size(95, 24); | ||||
|             this.button3.TabIndex = 48; | ||||
|             this.button3.Text = "Print"; | ||||
|             this.button3.UseVisualStyleBackColor = true; | ||||
|             this.button3.Click += new System.EventHandler(this.button3_Click); | ||||
|             //  | ||||
|             // textBox3 | ||||
|             //  | ||||
|             this.textBox3.Location = new System.Drawing.Point(12, 135); | ||||
|             this.textBox3.Name = "textBox3"; | ||||
|             this.textBox3.Size = new System.Drawing.Size(151, 21); | ||||
|             this.textBox3.TabIndex = 50; | ||||
|             this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // label4 | ||||
|             //  | ||||
|             this.label4.AutoSize = true; | ||||
|             this.label4.Location = new System.Drawing.Point(10, 120); | ||||
|             this.label4.Name = "label4"; | ||||
|             this.label4.Size = new System.Drawing.Size(41, 12); | ||||
|             this.label4.TabIndex = 49; | ||||
|             this.label4.Text = "manu\'"; | ||||
|             this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; | ||||
|             //  | ||||
|             // textBox4 | ||||
|             //  | ||||
|             this.textBox4.Location = new System.Drawing.Point(12, 178); | ||||
|             this.textBox4.Name = "textBox4"; | ||||
|             this.textBox4.Size = new System.Drawing.Size(151, 21); | ||||
|             this.textBox4.TabIndex = 52; | ||||
|             this.textBox4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // label5 | ||||
|             //  | ||||
|             this.label5.AutoSize = true; | ||||
|             this.label5.Location = new System.Drawing.Point(10, 163); | ||||
|             this.label5.Name = "label5"; | ||||
|             this.label5.Size = new System.Drawing.Size(26, 12); | ||||
|             this.label5.TabIndex = 51; | ||||
|             this.label5.Text = "mfg"; | ||||
|             this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; | ||||
|             //  | ||||
|             // button4 | ||||
|             //  | ||||
|             this.button4.Location = new System.Drawing.Point(169, 135); | ||||
|             this.button4.Name = "button4"; | ||||
|             this.button4.Size = new System.Drawing.Size(49, 24); | ||||
|             this.button4.TabIndex = 53; | ||||
|             this.button4.Text = "n/a"; | ||||
|             this.button4.UseVisualStyleBackColor = true; | ||||
|             this.button4.Click += new System.EventHandler(this.button4_Click); | ||||
|             //  | ||||
|             // button5 | ||||
|             //  | ||||
|             this.button5.Location = new System.Drawing.Point(169, 178); | ||||
|             this.button5.Name = "button5"; | ||||
|             this.button5.Size = new System.Drawing.Size(49, 24); | ||||
|             this.button5.TabIndex = 53; | ||||
|             this.button5.Text = "n/a"; | ||||
|             this.button5.UseVisualStyleBackColor = true; | ||||
|             this.button5.Click += new System.EventHandler(this.button5_Click); | ||||
|             //  | ||||
|             // button6 | ||||
|             //  | ||||
|             this.button6.Location = new System.Drawing.Point(12, 205); | ||||
|             this.button6.Name = "button6"; | ||||
|             this.button6.Size = new System.Drawing.Size(95, 24); | ||||
|             this.button6.TabIndex = 54; | ||||
|             this.button6.Text = "print L"; | ||||
|             this.button6.UseVisualStyleBackColor = true; | ||||
|             this.button6.Click += new System.EventHandler(this.button6_Click); | ||||
|             //  | ||||
|             // button7 | ||||
|             //  | ||||
|             this.button7.Location = new System.Drawing.Point(123, 205); | ||||
|             this.button7.Name = "button7"; | ||||
|             this.button7.Size = new System.Drawing.Size(95, 24); | ||||
|             this.button7.TabIndex = 55; | ||||
|             this.button7.Text = "print R"; | ||||
|             this.button7.UseVisualStyleBackColor = true; | ||||
|             this.button7.Click += new System.EventHandler(this.button7_Click); | ||||
|             //  | ||||
|             // button8 | ||||
|             //  | ||||
|             this.button8.Location = new System.Drawing.Point(224, 178); | ||||
|             this.button8.Name = "button8"; | ||||
|             this.button8.Size = new System.Drawing.Size(49, 24); | ||||
|             this.button8.TabIndex = 56; | ||||
|             this.button8.Text = "clr"; | ||||
|             this.button8.UseVisualStyleBackColor = true; | ||||
|             this.button8.Click += new System.EventHandler(this.button8_Click); | ||||
|             //  | ||||
|             // button9 | ||||
|             //  | ||||
|             this.button9.Location = new System.Drawing.Point(224, 135); | ||||
|             this.button9.Name = "button9"; | ||||
|             this.button9.Size = new System.Drawing.Size(49, 24); | ||||
|             this.button9.TabIndex = 57; | ||||
|             this.button9.Text = "clr"; | ||||
|             this.button9.UseVisualStyleBackColor = true; | ||||
|             this.button9.Click += new System.EventHandler(this.button9_Click); | ||||
|             //  | ||||
|             // fDebug | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(351, 444); | ||||
|             this.Controls.Add(this.button8); | ||||
|             this.Controls.Add(this.button9); | ||||
|             this.Controls.Add(this.button6); | ||||
|             this.Controls.Add(this.button7); | ||||
|             this.Controls.Add(this.button5); | ||||
|             this.Controls.Add(this.button4); | ||||
|             this.Controls.Add(this.textBox4); | ||||
|             this.Controls.Add(this.label5); | ||||
|             this.Controls.Add(this.textBox3); | ||||
|             this.Controls.Add(this.label4); | ||||
|             this.Controls.Add(this.button3); | ||||
|             this.Controls.Add(this.button2); | ||||
|             this.Controls.Add(this.textBox2); | ||||
|             this.Controls.Add(this.textBox1); | ||||
|             this.Controls.Add(this.button1); | ||||
|             this.Controls.Add(this.label3); | ||||
|             this.Controls.Add(this.label1); | ||||
|             this.Controls.Add(this.label2); | ||||
|             this.Controls.Add(this.tbBcd); | ||||
|             this.Name = "fDebug"; | ||||
|             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
|             this.Text = "fDebug"; | ||||
|             this.Load += new System.EventHandler(this.fDebug_Load); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|         private System.Windows.Forms.Timer timer1; | ||||
|         private System.Windows.Forms.TextBox tbBcd; | ||||
|         private System.Windows.Forms.Label label2; | ||||
|         private System.Windows.Forms.Button button1; | ||||
|         private System.Windows.Forms.TextBox textBox1; | ||||
|         private System.Windows.Forms.TextBox textBox2; | ||||
|         private System.Windows.Forms.Label label1; | ||||
|         private System.Windows.Forms.Label label3; | ||||
|         private System.Windows.Forms.Button button2; | ||||
|         private System.Windows.Forms.Button button3; | ||||
|         private System.Windows.Forms.TextBox textBox3; | ||||
|         private System.Windows.Forms.Label label4; | ||||
|         private System.Windows.Forms.TextBox textBox4; | ||||
|         private System.Windows.Forms.Label label5; | ||||
|         private System.Windows.Forms.Button button4; | ||||
|         private System.Windows.Forms.Button button5; | ||||
|         private System.Windows.Forms.Button button6; | ||||
|         private System.Windows.Forms.Button button7; | ||||
|         private System.Windows.Forms.Button button8; | ||||
|         private System.Windows.Forms.Button button9; | ||||
|     } | ||||
| } | ||||
							
								
								
									
										114
									
								
								Handler/Project_form2/Dialog/fDebug.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										114
									
								
								Handler/Project_form2/Dialog/fDebug.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,114 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     public partial class fDebug : Form | ||||
|     { | ||||
|         public fDebug() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             this.FormClosed += fDebug_FormClosed; | ||||
|             this.tbBcd.KeyDown += tbBcd_KeyDown; | ||||
|         } | ||||
|  | ||||
|         void tbBcd_KeyDown(object sender, KeyEventArgs e) | ||||
|         { | ||||
|             if (e.KeyCode == Keys.Enter) | ||||
|             { | ||||
|                // manualbcd(); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         void fDebug_FormClosed(object sender, FormClosedEventArgs e) | ||||
|         { | ||||
|             this.tbBcd.KeyDown -= tbBcd_KeyDown; | ||||
|             timer1.Stop(); | ||||
|         } | ||||
|  | ||||
|         private void fDebug_Load(object sender, EventArgs e) | ||||
|         { | ||||
|             timer1.Enabled = true; | ||||
|         } | ||||
|  | ||||
|         private void timer1_Tick(object sender, EventArgs e) | ||||
|         { | ||||
|            | ||||
|         } | ||||
|  | ||||
|         private void lb4_Click(object sender, EventArgs e) | ||||
|         { | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void button1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             //manualbcd(); | ||||
|         } | ||||
|  | ||||
|         private void button2_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var reel = new StdLabelPrint.Reel(textBox1.Text); | ||||
|             Pub.PrinterL.Print(reel,true, Pub.setting.DrawOutbox,Pub.setting.STDLabelFormat7); | ||||
|             Pub.log.Add("임시프린트L:"+ textBox1.Text); | ||||
|         } | ||||
|  | ||||
|         private void button3_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var reel = new StdLabelPrint.Reel(textBox2.Text); | ||||
|             Pub.PrinterR.Print(reel,true, Pub.setting.DrawOutbox, Pub.setting.STDLabelFormat7); | ||||
|             Pub.log.Add("임시프린트R:" + textBox2.Text); | ||||
|         } | ||||
|  | ||||
|         private void button4_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             textBox3.Text = "N/A"; | ||||
|         } | ||||
|  | ||||
|         private void button5_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             textBox4.Text = "N/A"; | ||||
|         } | ||||
|  | ||||
|         private void button9_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             textBox3.Text = string.Empty; | ||||
|         } | ||||
|  | ||||
|         private void button8_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             textBox4.Text = string.Empty; | ||||
|         } | ||||
|  | ||||
|         private void button6_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             Pub.PrinterL.TestPrint(false, textBox3.Text, textBox4.Text, Pub.setting.STDLabelFormat7); | ||||
|         } | ||||
|  | ||||
|         private void button7_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             Pub.PrinterR.TestPrint(false, textBox3.Text, textBox4.Text, Pub.setting.STDLabelFormat7); | ||||
|         } | ||||
|         //void manualbcd() | ||||
|         //{ | ||||
|         //    if (tbBcd.Text.isEmpty()) | ||||
|         //    { | ||||
|         //        tbBcd.Focus(); | ||||
|         //        return; | ||||
|         //    } | ||||
|         //    else | ||||
|         //    { | ||||
|         //        //Pub.manualbcd.RaiseRecvData(tbBcd.Text + "\n"); | ||||
|         //        tbBcd.Focus(); | ||||
|         //        tbBcd.SelectAll(); | ||||
|         //    } | ||||
|         //} | ||||
|     } | ||||
| } | ||||
							
								
								
									
										123
									
								
								Handler/Project_form2/Dialog/fDebug.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										123
									
								
								Handler/Project_form2/Dialog/fDebug.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,123 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
| </root> | ||||
							
								
								
									
										1228
									
								
								Handler/Project_form2/Dialog/fEmulator.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										1228
									
								
								Handler/Project_form2/Dialog/fEmulator.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										450
									
								
								Handler/Project_form2/Dialog/fEmulator.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										450
									
								
								Handler/Project_form2/Dialog/fEmulator.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,450 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using System.Windows.Forms; | ||||
| using arDev.AzinAxt; | ||||
| using arDev.AzinAxt.Emulator; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     public partial class fEmulator : Form | ||||
|     { | ||||
|         public arDev.AzinAxt.Emulator.CEmulMOT devM { get; private set; } | ||||
|         public arDev.AzinAxt.Emulator.CEmuleDIO devIO { get; private set; } | ||||
|  | ||||
|         int axcount { get { return devM.axisCount; } } | ||||
|  | ||||
|         JogController[] jobCtl; | ||||
|  | ||||
|         public fEmulator(arDev.AzinAxt.MOT mot, int motCnt, int cntDI, int cntDO) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|  | ||||
|             devM = new CEmulMOT(motCnt); | ||||
|             devM.TimerInterval = 50; | ||||
|  | ||||
|             devIO = new CEmuleDIO(cntDI, cntDO); | ||||
|             devIO.IOValueChagned += Dev_IOValueChagned; | ||||
|  | ||||
|             Pub.flag.ValueChanged += Flag_ValueChanged; | ||||
|  | ||||
|             //motion | ||||
|             this.jobCtl = new JogController[] { jog1, jog2, jog3, jog4, jog5, jog6, jog7 }; | ||||
|  | ||||
|             foreach (var item in jobCtl) | ||||
|             { | ||||
|                 item.arDebugMode = false; | ||||
|                 //item.ItemClick += Item_ItemClick; | ||||
|             } | ||||
|  | ||||
|             for (int i = 0; i < motCnt; i++) | ||||
|             { | ||||
|                 Boolean enb = i < motCnt; | ||||
|                 jobCtl[i].MotionObject = mot; | ||||
|                 jobCtl[i].Enabled = enb; | ||||
|                 jobCtl[i].arUsage = enb; | ||||
|                 jobCtl[i].arAutoUpdate = false;                 | ||||
|                 jobCtl[i].Invalidate(); | ||||
|  | ||||
|                 if (enb) | ||||
|                 { | ||||
|                     devM.MaxPosition[i] = jobCtl[i].arMaxLength; | ||||
|                     devM.MinPosition[i] = jobCtl[i].arMinLength; | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|             //i/o | ||||
|             this.tblDI.SuspendLayout(); | ||||
|             this.tblDO.SuspendLayout(); | ||||
|  | ||||
|             var pinNameI = new string[cntDI]; | ||||
|             var pinNameO = new string[cntDO]; | ||||
|             var pinTitleI = new string[cntDI]; | ||||
|             var pinTitleO = new string[cntDO]; | ||||
|  | ||||
|             for (int i = 0; i < pinNameI.Length; i++) | ||||
|             { | ||||
|                 pinNameI[i] = "X" + i.ToString("X2").PadLeft(3, '0');// Enum.GetName(typeof(ePLCIPin), i); //Enum.GetNames(typeof(eDIName))[i];// i.ToString(); | ||||
|                 pinTitleI[i] = string.Empty;// i.ToString();// Enum.GetName(typeof(ePLCITitle), i); //Enum.GetNames(typeof(eDITitle))[i]; | ||||
|  | ||||
|             } | ||||
|  | ||||
|             for (int i = 0; i < pinNameO.Length; i++) | ||||
|             { | ||||
|                 pinNameO[i] = "Y" + i.ToString("X2").PadLeft(3, '0');// Enum.GetName(typeof(ePLCOPin), i); // Enum.GetNames(typeof(eDOName))[i]; | ||||
|                 pinTitleO[i] = string.Empty;//i.ToString();// Enum.GetName(typeof(ePLCOTitle), i); // Enum.GetNames(typeof(eDOTitle))[i]; | ||||
|             } | ||||
|  | ||||
|             tblDI.MatrixSize = new Point(8, 8); | ||||
|             tblDO.MatrixSize = new Point(8, 8); | ||||
|  | ||||
|             tblDI.setTitle(pinTitleI); | ||||
|             tblDO.setTitle(pinTitleO); | ||||
|  | ||||
|             tblDI.setNames(pinNameI); | ||||
|             tblDO.setNames(pinNameO); | ||||
|  | ||||
|             tblDI.setItemTextAlign(ContentAlignment.BottomLeft); | ||||
|             tblDO.setItemTextAlign(ContentAlignment.BottomLeft); | ||||
|  | ||||
|             tblDI.setValue(devIO.Input); | ||||
|             tblDO.setValue(devIO.Output); | ||||
|  | ||||
|             //dio.IOValueChanged += dio_IOValueChanged; | ||||
|  | ||||
|             this.tblDI.ItemClick += tblDI_ItemClick; | ||||
|             this.tblDO.ItemClick += tblDO_ItemClick; | ||||
|  | ||||
|             this.tblDI.Invalidate(); | ||||
|             this.tblDO.Invalidate(); | ||||
|  | ||||
|              | ||||
|         } | ||||
|  | ||||
|  | ||||
|         private void fEmulator_Load(object sender, EventArgs e) | ||||
|         { | ||||
|             this.ctlContainer1.setDevice(this.devIO, this.devM); | ||||
|             timer1.Start(); | ||||
|             this.toolStripStatusLabel1.Text = "Top Most :" + (this.TopMost ? "On" : "Off"); | ||||
|         } | ||||
|         void tblDO_ItemClick(object sender, GridView.ItemClickEventArgs e) | ||||
|         { | ||||
|             var nVal = !devIO.Output[e.idx];//.Get(e.idx);// doValue[e.idx];// == 1 ? (ushort)0 : (ushort)1; | ||||
|             devIO.SetOutput(e.idx, nVal); | ||||
|         } | ||||
|         void tblDI_ItemClick(object sender, GridView.ItemClickEventArgs e) | ||||
|         { | ||||
|             var nVal = !devIO.Input[e.idx]; | ||||
|             devIO.SetInput(e.idx, nVal); | ||||
|         } | ||||
|         private void Flag_ValueChanged(object sender, CInterLock.ValueEventArgs e) | ||||
|         { | ||||
|             var fg = (eFlag)e.ArrIDX; | ||||
|         } | ||||
|         private void Dev_IOValueChagned(object sender, CEmuleDIO.IOValueChangedArgs e) | ||||
|         { | ||||
|             if (e.Dir == CEmuleDIO.eDirection.In) | ||||
|             { | ||||
|                 if (e.ArrIDX == (int)eDIName.BUT_STARTF && e.NewValue) | ||||
|                 { | ||||
|                     this.devIO.SetInput((int)eDIName.PORT0_DET_UP, false); | ||||
|                     this.devIO.SetInput((int)eDIName.PORT1_DET_UP, false); | ||||
|                     this.devIO.SetInput((int)eDIName.PORT2_DET_UP, false); | ||||
|                 } | ||||
|                 else if (e.ArrIDX == (int)eDIName.BUT_RESETF && e.NewValue) | ||||
|                 { | ||||
|                     this.devIO.SetInput((int)eDIName.PORT0_DET_UP, false); | ||||
|                     this.devIO.SetInput((int)eDIName.PORT1_DET_UP, false); | ||||
|                     this.devIO.SetInput((int)eDIName.PORT2_DET_UP, false); | ||||
|                 } | ||||
|  | ||||
|                 //해당 아이템의 값을 변경하고 다시 그린다. | ||||
|                 if (tblDI.setValue(e.ArrIDX, e.NewValue)) | ||||
|                     tblDI.Invalidate();//.drawItem(e.ArrIDX); | ||||
|                 Console.WriteLine(string.Format("di change {0}:{1}", e.ArrIDX, e.NewValue.ToString())); | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 //sir sol값에따라서 감지 센서를 연동 | ||||
|                 if (e.ArrIDX == (int)eDOName.SOL_AIR) this.devIO.SetInput((int)eDIName.AIR_DETECT, e.NewValue); | ||||
|                 //else if (e.ArrIDX == (int)eDOName.PICKF_VAC1 && e.NewValue == false) this.devIO.SetInput((int)eDIName.pick, e.NewValue);  //진공이켜지만 아이템이 감지된걸로 한다 | ||||
|                 //else if (e.ArrIDX == (int)eDOName.PICKF_VAC2 && e.NewValue == false) this.devIO.SetInput((int)eDIName.PICKF_VAC_CHK2, e.NewValue); | ||||
|                 //else if (e.ArrIDX == (int)eDOName.PICKF_VAC3 && e.NewValue == false) this.devIO.SetInput((int)eDIName.PICKF_VAC_CHK3, e.NewValue); | ||||
|                 //else if (e.ArrIDX == (int)eDOName.PICKF_VAC4 && e.NewValue == false) this.devIO.SetInput((int)eDIName.PICKF_VAC_CHK4, e.NewValue); | ||||
|  | ||||
|                 //해당 아이템의 값을 변경하고 다시 그린다. | ||||
|                 if (tblDO.setValue(e.ArrIDX, e.NewValue)) | ||||
|                     tblDO.Invalidate();//.drawItem(e.ArrIDX); | ||||
|  | ||||
|                 //모터가 run 되면 몇초있다가 꺼야하낟. | ||||
|                 if (e.ArrIDX == (int)eDOName.PORT0_MOT_RUN) | ||||
|                 { | ||||
|                     MotorRunStart[0] = DateTime.Now; | ||||
|                 } | ||||
|                 else if (e.ArrIDX == (int)eDOName.PORT1_MOT_RUN) | ||||
|                 { | ||||
|                     MotorRunStart[1] = DateTime.Now; | ||||
|                 } | ||||
|                 else if (e.ArrIDX == (int)eDOName.PORT2_MOT_RUN) | ||||
|                 { | ||||
|                     MotorRunStart[2] = DateTime.Now; | ||||
|                 } | ||||
|                 else if (e.ArrIDX == (int)eDOName.PORT0_MOT_DIR) | ||||
|                 { | ||||
|                     MotorRunStart[0] = DateTime.Now; | ||||
|                 } | ||||
|                 else if (e.ArrIDX == (int)eDOName.PORT1_MOT_DIR) | ||||
|                 { | ||||
|                     MotorRunStart[1] = DateTime.Now; | ||||
|                 } | ||||
|                 else if (e.ArrIDX == (int)eDOName.PORT2_MOT_DIR) | ||||
|                 { | ||||
|                     MotorRunStart[2] = DateTime.Now; | ||||
|                 } | ||||
|  | ||||
|  | ||||
|                 Console.WriteLine(string.Format("do change {0}:{1}", e.ArrIDX, e.NewValue.ToString())); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         DateTime[] MotorRunStart = new DateTime[] { DateTime.Now,DateTime.Now,DateTime.Now }; | ||||
|  | ||||
|         Boolean CheckTime(DateTime Start, int ElapSecond) | ||||
|         { | ||||
|             var ts = DateTime.Now - Start; | ||||
|             if (ts.TotalSeconds >= ElapSecond) return true; | ||||
|             else return false; | ||||
|                 | ||||
|         } | ||||
|         private void timer1_Tick(object sender, EventArgs e) | ||||
|         { | ||||
|             for (int i = 0; i < axcount; i++) | ||||
|             { | ||||
|                 //각 축별 데이터를 표시한다 | ||||
|                 this.jobCtl[i].arIsOrg = devM.isOrg(i); | ||||
|                 this.jobCtl[i].arIsInp = devM.isINp(i); | ||||
|                 this.jobCtl[i].arIsAlm = devM.isAlm(i); | ||||
|                 this.jobCtl[i].arIsLimN = devM.isLimM(i); | ||||
|                 this.jobCtl[i].arIsLimP = devM.isLimP(i); | ||||
|                 this.jobCtl[i].arIsSvON = devM.isSvOn(i); | ||||
|  | ||||
|                 this.jobCtl[i].ardAct = devM.dAct[i]; | ||||
|                 this.jobCtl[i].ardCmd = devM.dCmd[i]; | ||||
|                 this.jobCtl[i].arIsInit = true;// MotionObject.IsInit; | ||||
|                 //this.jobCtl[i].arIsHSet = devM.isHSet[i]; | ||||
|  | ||||
|                 this.jobCtl[i].Invalidate(); | ||||
|             } | ||||
|  | ||||
|  | ||||
|             //포트용 모터가 켜져잇으ㅜ면 detect 작업을 자동으로 해준다 | ||||
|             if(checkBox1.Checked) | ||||
|             { | ||||
|                 if (Util_DO.GetIOOutput(eDOName.PORT0_MOT_RUN))  //역방향으로 모터가 가동 중이다 | ||||
|                 { | ||||
|                     if (Util_DO.GetPortMotorDir(0) == eMotDir.CCW && CheckTime(MotorRunStart[0], 7)) | ||||
|                         devIO.SetInput((int)eDIName.PORT0_LIM_DN, true); | ||||
|                     if (Util_DO.GetPortMotorDir(0) == eMotDir.CCW && CheckTime(MotorRunStart[0], 1)) | ||||
|                         devIO.SetInput((int)eDIName.PORT0_DET_UP, false); | ||||
|  | ||||
|                     if (Util_DO.GetPortMotorDir(0) == eMotDir.CW && CheckTime(MotorRunStart[0], 5)) | ||||
|                         devIO.SetInput((int)eDIName.PORT0_DET_UP, true); | ||||
|                     if (Util_DO.GetPortMotorDir(0) == eMotDir.CW && CheckTime(MotorRunStart[0], 3)) | ||||
|                         devIO.SetInput((int)eDIName.PORT0_LIM_DN, false); | ||||
|                 } | ||||
|                 if (Util_DO.GetIOOutput(eDOName.PORT1_MOT_RUN))   //역방향으로 모터가 가동 중이다 | ||||
|                 { | ||||
|                     if (Util_DO.GetPortMotorDir(1) == eMotDir.CCW && CheckTime(MotorRunStart[1], 7)) | ||||
|                         devIO.SetInput((int)eDIName.PORT1_LIM_DN, true); | ||||
|                     if (Util_DO.GetPortMotorDir(1) == eMotDir.CCW && CheckTime(MotorRunStart[1], 1)) | ||||
|                         devIO.SetInput((int)eDIName.PORT1_DET_UP, false); | ||||
|  | ||||
|                     if (Util_DO.GetPortMotorDir(1) == eMotDir.CW && CheckTime(MotorRunStart[1], 5)) | ||||
|                         devIO.SetInput((int)eDIName.PORT1_DET_UP, true); | ||||
|                     if (Util_DO.GetPortMotorDir(1) == eMotDir.CW && CheckTime(MotorRunStart[1], 3)) | ||||
|                         devIO.SetInput((int)eDIName.PORT1_LIM_DN, false); | ||||
|                 } | ||||
|                 if (Util_DO.GetIOOutput(eDOName.PORT2_MOT_RUN)) //역방향으로 모터가 가동 중이다 | ||||
|                 { | ||||
|                     if (Util_DO.GetPortMotorDir(2) == eMotDir.CCW && CheckTime(MotorRunStart[2], 7)) | ||||
|                         devIO.SetInput((int)eDIName.PORT2_LIM_DN, true); | ||||
|                     if (Util_DO.GetPortMotorDir(2) == eMotDir.CCW && CheckTime(MotorRunStart[2], 1)) | ||||
|                         devIO.SetInput((int)eDIName.PORT2_DET_UP, false); | ||||
|  | ||||
|                     if (Util_DO.GetPortMotorDir(2) == eMotDir.CW && CheckTime(MotorRunStart[2], 5)) | ||||
|                         devIO.SetInput((int)eDIName.PORT2_DET_UP, true); | ||||
|                     if (Util_DO.GetPortMotorDir(2) == eMotDir.CW && CheckTime(MotorRunStart[2], 3)) | ||||
|                         devIO.SetInput((int)eDIName.PORT2_LIM_DN, false); | ||||
|                 } | ||||
|             } | ||||
|             //if (Util_DO.GetPortMotorDir(0) == eMotDir.CW && Util_DO.GetIOOutput(eDOName.PORT0_MOT_RUN) == true && checkBox1.Checked) | ||||
|             //    this.devIO.SetInput((int)eDIName.PORT1_DET_UP, true); | ||||
|  | ||||
|             //if (Util_DO.GetPortMotorDir(1) == eMotDir.CW && Util_DO.GetIOOutput(eDOName.PORT1_MOT_RUN) == true && checkBox1.Checked) | ||||
|             //    this.devIO.SetInput((int)eDIName.PORT2_DET_UP, true); | ||||
|  | ||||
|  | ||||
|             //백큠을 집는 행동 처리 | ||||
|             if (Pub.sm.Step == StateMachine.eSMStep.RUN) | ||||
|             { | ||||
|                 //ZL이 집는 위치일경우 | ||||
|                 if (Util_Mot.GetPKX_PosName() == ePickYPosition.PICKON) | ||||
|                 { | ||||
|                     if (checkBox2.Checked) | ||||
|                     { | ||||
|                         //if (devIO.Output[(int)eDOName.PICKF_VAC1]) this.devIO.SetInput((int)eDIName.PICKF_VAC_CHK1, true); | ||||
|                         //if (devIO.Output[(int)eDOName.PICKF_VAC2]) this.devIO.SetInput((int)eDIName.PICKF_VAC_CHK2, true); | ||||
|                         //if (devIO.Output[(int)eDOName.PICKF_VAC3]) this.devIO.SetInput((int)eDIName.PICKF_VAC_CHK3, true); | ||||
|                         //if (devIO.Output[(int)eDOName.PICKF_VAC4]) this.devIO.SetInput((int)eDIName.PICKF_VAC_CHK4, true); | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|             //그룹박스내의 센서류 업데이트  | ||||
|             this.ctlContainer1.updateControl(); | ||||
|  | ||||
|         } | ||||
|  | ||||
|  | ||||
|  | ||||
|         private void toolStripButton1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|  | ||||
|             Pub.mot.SetSVON(true); | ||||
|  | ||||
|             //emg on | ||||
|             devIO.SetInput((int)eDIName.BUT_EMGF, false); | ||||
|            // devIO.SetInput((int)eDIName.PICKF_OVERLOAD, true); | ||||
|             //devIO.SetInput((int)eDIName.PICKR_OVERLOAD, true); | ||||
|  | ||||
|             SLLimP.arPin.PinIndex = (int)eDIName.PORT1_LIM_UP; | ||||
|             SLDetU.arPin.PinIndex = (int)eDIName.PORT1_DET_UP; | ||||
|             SLLimN.arPin.PinIndex = (int)eDIName.PORT1_LIM_DN; | ||||
|  | ||||
|             SRLimP.arPin.PinIndex = (int)eDIName.PORT2_LIM_UP; | ||||
|             SRDetU.arPin.PinIndex = (int)eDIName.PORT2_DET_UP; | ||||
|             SRLimN.arPin.PinIndex = (int)eDIName.PORT2_LIM_DN; | ||||
|  | ||||
|             //타워램프    | ||||
|             ctlTowerLamp1.arPinRed.PinIndex = (int)eDOName.TWR_REDF; | ||||
|             ctlTowerLamp1.arPinYel.PinIndex = (int)eDOName.TWR_YELF; | ||||
|             ctlTowerLamp1.arPinGrn.PinIndex = (int)eDOName.TWR_GRNF; | ||||
|             ctlTowerLamp1.arPinBuz.PinIndex = (int)eDOName.BUZZER; | ||||
|             ctlTowerLamp1.arPinRed.Output = true; | ||||
|             ctlTowerLamp1.arPinYel.Output = true; | ||||
|             ctlTowerLamp1.arPinGrn.Output = true; | ||||
|  | ||||
|             //전면조작버   | ||||
|             sf1.arPin.PinIndex = (int)eDOName.SOL_AIR; | ||||
|             sf2.arPin.PinIndex = (int)eDOName.BUT_STARTF; | ||||
|             sf3.arPin.PinIndex = (int)eDOName.BUT_STOPF; | ||||
|             sf4.arPin.PinIndex = (int)eDOName.BUT_RESETF; | ||||
|             sf1.arPin.Output = true; | ||||
|             sf2.arPin.Output = true; | ||||
|             sf3.arPin.Output = true; | ||||
|             sf4.arPin.Output = true; | ||||
|  | ||||
|             //모터구동 | ||||
|             m1.Pin_Run.PinIndex = (int)eDOName.PORT0_MOT_RUN; | ||||
|             m2.Pin_Run.PinIndex = (int)eDOName.PORT1_MOT_RUN; | ||||
|             m1.Pin_Run.Output = true; | ||||
|             m2.Pin_Run.Output = true; | ||||
|  | ||||
|             devIO.SetOutput((int)eDOName.SOL_AIR, true); | ||||
|  | ||||
|  | ||||
|         } | ||||
|  | ||||
|  | ||||
|  | ||||
|         private void btAir_MouseDown(object sender, MouseEventArgs e) | ||||
|         { | ||||
|             var bt = sender as UIControl.CtlSensor; | ||||
|             switch (bt.Text.ToLower()) | ||||
|             { | ||||
|                 case "air": | ||||
|                     devIO.SetInput((int)eDIName.BUT_AIRF, true); | ||||
|                     break; | ||||
|                 case "stop": | ||||
|                     devIO.SetInput((int)eDIName.BUT_STOPF, true); | ||||
|                     break; | ||||
|                 case "reset": | ||||
|                     devIO.SetInput((int)eDIName.BUT_RESETF, true); | ||||
|                     break; | ||||
|                 case "start": | ||||
|                     devIO.SetInput((int)eDIName.BUT_STARTF, true); | ||||
|                     break; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private void btAir_MouseUp(object sender, MouseEventArgs e) | ||||
|         { | ||||
|             var bt = sender as UIControl.CtlSensor; | ||||
|             switch (bt.Text.ToLower()) | ||||
|             { | ||||
|                 case "air": | ||||
|                     devIO.SetInput((int)eDIName.BUT_AIRF, false); | ||||
|                     break; | ||||
|                 case "stop": | ||||
|                     devIO.SetInput((int)eDIName.BUT_STOPF, false); | ||||
|                     break; | ||||
|                 case "reset": | ||||
|                     devIO.SetInput((int)eDIName.BUT_RESETF, false); | ||||
|                     break; | ||||
|                 case "start": | ||||
|                     devIO.SetInput((int)eDIName.BUT_STARTF, false); | ||||
|                     break; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private void m1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var cur = devIO.Output[(int)eDOName.PORT0_MOT_RUN]; | ||||
|             devIO.SetOutput((int)eDOName.PORT0_MOT_RUN, !cur); | ||||
|         } | ||||
|  | ||||
|         private void m2_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var cur = devIO.Output[(int)eDOName.PORT1_MOT_RUN]; | ||||
|             devIO.SetOutput((int)eDOName.PORT1_MOT_RUN, !cur); | ||||
|         } | ||||
|  | ||||
|         private void SLLimP_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var cur = devIO.Input[(int)eDIName.PORT1_LIM_UP]; | ||||
|             devIO.SetInput((int)eDIName.PORT1_LIM_UP, !cur); | ||||
|         } | ||||
|  | ||||
|         private void SRLimP_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var cur = devIO.Input[(int)eDIName.PORT2_LIM_UP]; | ||||
|             devIO.SetInput((int)eDIName.PORT2_LIM_UP, !cur); | ||||
|         } | ||||
|  | ||||
|         private void SLDetU_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var cur = devIO.Input[(int)eDIName.PORT1_DET_UP]; | ||||
|             devIO.SetInput((int)eDIName.PORT1_DET_UP, !cur); | ||||
|         } | ||||
|  | ||||
|         private void SRDetU_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var cur = devIO.Input[(int)eDIName.PORT2_DET_UP]; | ||||
|             devIO.SetInput((int)eDIName.PORT2_DET_UP, !cur); | ||||
|         } | ||||
|  | ||||
|         private void SLLimN_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var cur = devIO.Input[(int)eDIName.PORT1_LIM_DN]; | ||||
|             devIO.SetInput((int)eDIName.PORT1_LIM_DN, !cur); | ||||
|         } | ||||
|  | ||||
|         private void SRLimN_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var cur = devIO.Input[(int)eDIName.PORT2_LIM_DN]; | ||||
|             devIO.SetInput((int)eDIName.PORT2_LIM_DN, !cur); | ||||
|         } | ||||
|  | ||||
|  | ||||
|         private void toolStripButton3_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             devM.TimerInterval = 50; | ||||
|         } | ||||
|  | ||||
|         private void toolStripButton2_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             devM.TimerInterval = 100; | ||||
|         } | ||||
|  | ||||
|         private void toolStripButton4_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             devM.TimerInterval = 10; | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										190
									
								
								Handler/Project_form2/Dialog/fEmulator.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										190
									
								
								Handler/Project_form2/Dialog/fEmulator.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,190 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>133, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>250, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>337, 17</value> | ||||
|   </metadata> | ||||
|   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||||
|   <data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG | ||||
|         YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 | ||||
|         0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw | ||||
|         bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc | ||||
|         VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 | ||||
|         c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 | ||||
|         Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo | ||||
|         mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ | ||||
|         kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D | ||||
|         TgDQASA1MVpwzwAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG | ||||
|         YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 | ||||
|         0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw | ||||
|         bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc | ||||
|         VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 | ||||
|         c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 | ||||
|         Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo | ||||
|         mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ | ||||
|         kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D | ||||
|         TgDQASA1MVpwzwAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG | ||||
|         YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 | ||||
|         0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw | ||||
|         bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc | ||||
|         VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 | ||||
|         c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 | ||||
|         Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo | ||||
|         mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ | ||||
|         kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D | ||||
|         TgDQASA1MVpwzwAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG | ||||
|         YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 | ||||
|         0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw | ||||
|         bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc | ||||
|         VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 | ||||
|         c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 | ||||
|         Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo | ||||
|         mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ | ||||
|         kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D | ||||
|         TgDQASA1MVpwzwAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
| </root> | ||||
							
								
								
									
										202
									
								
								Handler/Project_form2/Dialog/fFinishJob.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										202
									
								
								Handler/Project_form2/Dialog/fFinishJob.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,202 @@ | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     partial class fFinishJob | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// Required designer variable. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Clean up any resources being used. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region Windows Form Designer generated code | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Required method for Designer support - do not modify | ||||
|         /// the contents of this method with the code editor. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fFinishJob)); | ||||
|             this.label2 = new System.Windows.Forms.Label(); | ||||
|             this.label3 = new System.Windows.Forms.Label(); | ||||
|             this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); | ||||
|             this.lbCntL = new System.Windows.Forms.Label(); | ||||
|             this.lbCntR = new System.Windows.Forms.Label(); | ||||
|             this.button1 = new System.Windows.Forms.Button(); | ||||
|             this.label1 = new System.Windows.Forms.Label(); | ||||
|             this.lbSumQty = new System.Windows.Forms.Label(); | ||||
|             this.label6 = new System.Windows.Forms.Label(); | ||||
|             this.label7 = new System.Windows.Forms.Label(); | ||||
|             this.tableLayoutPanel1.SuspendLayout(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // label2 | ||||
|             //  | ||||
|             this.label2.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.label2.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.label2.Location = new System.Drawing.Point(4, 32); | ||||
|             this.label2.Name = "label2"; | ||||
|             this.label2.Size = new System.Drawing.Size(178, 84); | ||||
|             this.label2.TabIndex = 1; | ||||
|             this.label2.Text = "작업수량(L)"; | ||||
|             this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             //  | ||||
|             // label3 | ||||
|             //  | ||||
|             this.label3.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.label3.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.label3.Location = new System.Drawing.Point(4, 117); | ||||
|             this.label3.Name = "label3"; | ||||
|             this.label3.Size = new System.Drawing.Size(178, 85); | ||||
|             this.label3.TabIndex = 1; | ||||
|             this.label3.Text = "작업수량(R)"; | ||||
|             this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             //  | ||||
|             // tableLayoutPanel1 | ||||
|             //  | ||||
|             this.tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single; | ||||
|             this.tableLayoutPanel1.ColumnCount = 3; | ||||
|             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 184F)); | ||||
|             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 45F)); | ||||
|             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 55F)); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.label6, 1, 0); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.lbSumQty, 2, 1); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.label2, 0, 1); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.label3, 0, 2); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.lbCntL, 1, 1); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.lbCntR, 1, 2); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.label7, 2, 0); | ||||
|             this.tableLayoutPanel1.Location = new System.Drawing.Point(26, 135); | ||||
|             this.tableLayoutPanel1.Name = "tableLayoutPanel1"; | ||||
|             this.tableLayoutPanel1.RowCount = 3; | ||||
|             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); | ||||
|             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); | ||||
|             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); | ||||
|             this.tableLayoutPanel1.Size = new System.Drawing.Size(638, 203); | ||||
|             this.tableLayoutPanel1.TabIndex = 2; | ||||
|             //  | ||||
|             // lbCntL | ||||
|             //  | ||||
|             this.lbCntL.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.lbCntL.Font = new System.Drawing.Font("맑은 고딕", 40F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.lbCntL.Location = new System.Drawing.Point(189, 32); | ||||
|             this.lbCntL.Name = "lbCntL"; | ||||
|             this.lbCntL.Size = new System.Drawing.Size(196, 84); | ||||
|             this.lbCntL.TabIndex = 1; | ||||
|             this.lbCntL.Text = "000"; | ||||
|             this.lbCntL.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             //  | ||||
|             // lbCntR | ||||
|             //  | ||||
|             this.lbCntR.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.lbCntR.Font = new System.Drawing.Font("맑은 고딕", 40F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.lbCntR.Location = new System.Drawing.Point(189, 117); | ||||
|             this.lbCntR.Name = "lbCntR"; | ||||
|             this.lbCntR.Size = new System.Drawing.Size(196, 85); | ||||
|             this.lbCntR.TabIndex = 1; | ||||
|             this.lbCntR.Text = "000"; | ||||
|             this.lbCntR.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             //  | ||||
|             // button1 | ||||
|             //  | ||||
|             this.button1.BackColor = System.Drawing.Color.Gold; | ||||
|             this.button1.Font = new System.Drawing.Font("맑은 고딕", 50F, System.Drawing.FontStyle.Bold); | ||||
|             this.button1.Location = new System.Drawing.Point(26, 13); | ||||
|             this.button1.Name = "button1"; | ||||
|             this.button1.Size = new System.Drawing.Size(638, 105); | ||||
|             this.button1.TabIndex = 3; | ||||
|             this.button1.Text = "작업 완료"; | ||||
|             this.button1.UseVisualStyleBackColor = false; | ||||
|             this.button1.Click += new System.EventHandler(this.button1_Click); | ||||
|             //  | ||||
|             // label1 | ||||
|             //  | ||||
|             this.label1.AutoSize = true; | ||||
|             this.label1.Location = new System.Drawing.Point(26, 350); | ||||
|             this.label1.Name = "label1"; | ||||
|             this.label1.Size = new System.Drawing.Size(50, 19); | ||||
|             this.label1.TabIndex = 4; | ||||
|             this.label1.Text = "label1"; | ||||
|             //  | ||||
|             // lbSumQty | ||||
|             //  | ||||
|             this.lbSumQty.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.lbSumQty.Font = new System.Drawing.Font("맑은 고딕", 40F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.lbSumQty.Location = new System.Drawing.Point(392, 32); | ||||
|             this.lbSumQty.Name = "lbSumQty"; | ||||
|             this.tableLayoutPanel1.SetRowSpan(this.lbSumQty, 2); | ||||
|             this.lbSumQty.Size = new System.Drawing.Size(242, 170); | ||||
|             this.lbSumQty.TabIndex = 5; | ||||
|             this.lbSumQty.Text = "000"; | ||||
|             this.lbSumQty.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             //  | ||||
|             // label6 | ||||
|             //  | ||||
|             this.label6.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.label6.Location = new System.Drawing.Point(189, 1); | ||||
|             this.label6.Name = "label6"; | ||||
|             this.label6.Size = new System.Drawing.Size(196, 30); | ||||
|             this.label6.TabIndex = 5; | ||||
|             this.label6.Text = "REEL"; | ||||
|             this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             //  | ||||
|             // label7 | ||||
|             //  | ||||
|             this.label7.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.label7.Location = new System.Drawing.Point(392, 1); | ||||
|             this.label7.Name = "label7"; | ||||
|             this.label7.Size = new System.Drawing.Size(242, 30); | ||||
|             this.label7.TabIndex = 5; | ||||
|             this.label7.Text = "QTY"; | ||||
|             this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             //  | ||||
|             // fFinishJob | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 17F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.BackColor = System.Drawing.Color.White; | ||||
|             this.ClientSize = new System.Drawing.Size(678, 383); | ||||
|             this.Controls.Add(this.label1); | ||||
|             this.Controls.Add(this.button1); | ||||
|             this.Controls.Add(this.tableLayoutPanel1); | ||||
|             this.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); | ||||
|             this.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.MaximizeBox = false; | ||||
|             this.MinimizeBox = false; | ||||
|             this.Name = "fFinishJob"; | ||||
|             this.Padding = new System.Windows.Forms.Padding(10); | ||||
|             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
|             this.Text = "작업완료"; | ||||
|             this.Load += new System.EventHandler(this.@__LoaD); | ||||
|             this.tableLayoutPanel1.ResumeLayout(false); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
|         } | ||||
|  | ||||
| 		#endregion | ||||
| 		private System.Windows.Forms.Label label2; | ||||
| 		private System.Windows.Forms.Label label3; | ||||
| 		private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; | ||||
| 		private System.Windows.Forms.Label lbCntL; | ||||
| 		private System.Windows.Forms.Label lbCntR; | ||||
|         private System.Windows.Forms.Button button1; | ||||
|         private System.Windows.Forms.Label label1; | ||||
|         private System.Windows.Forms.Label lbSumQty; | ||||
|         private System.Windows.Forms.Label label6; | ||||
|         private System.Windows.Forms.Label label7; | ||||
|     } | ||||
| } | ||||
							
								
								
									
										102
									
								
								Handler/Project_form2/Dialog/fFinishJob.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										102
									
								
								Handler/Project_form2/Dialog/fFinishJob.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,102 @@ | ||||
| using System; | ||||
| using System.Drawing; | ||||
| using System.Windows.Forms; | ||||
| using System.Linq; | ||||
| using System.Collections.Generic; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
| 	public partial class fFinishJob : Form | ||||
| 	{ | ||||
|  | ||||
|  | ||||
| 		string jobseqDate = string.Empty; | ||||
| 		string jobseqNo = string.Empty; | ||||
|  | ||||
| 		Class.CHistoryJOB JObHistory = null; | ||||
| 		List<UIControl.CItem> OUTHistory = null; | ||||
|  | ||||
| 		//arCtl.arLabel[] lbl_seq; | ||||
| 		//Dialog.fBlurPanel fb; | ||||
| 		DateTime JobStartTime, JobEndTime; | ||||
|  | ||||
| 		public string Command = string.Empty; | ||||
|  | ||||
| 		public fFinishJob(DateTime JobStarttime_, DateTime JobEndtime_, string jobseqDate_, string jobseqNo_, | ||||
| 			Class.CHistoryJOB histJ_, | ||||
| 			DataSet1.SIDHistoryDataTable histS_, List<UIControl.CItem> histO) | ||||
| 		{ | ||||
| 			InitializeComponent(); | ||||
| 			JobStartTime = JobStarttime_; | ||||
| 			JobEndTime = JobEndtime_; | ||||
| 			this.JObHistory = histJ_; | ||||
| 			this.OUTHistory = histO; | ||||
|  | ||||
| 			this.KeyPreview = true; | ||||
| 			this.KeyDown += (s1, e1) => | ||||
| 			{ | ||||
| 				if (e1.KeyCode == Keys.Escape) | ||||
| 				{ | ||||
| 					Close(); | ||||
| 				} | ||||
| 			}; | ||||
| 			jobseqDate = jobseqDate_; | ||||
| 			jobseqNo = jobseqNo_; | ||||
|  | ||||
|  | ||||
| 			if (System.Diagnostics.Debugger.IsAttached == false) | ||||
| 			{ | ||||
| 				//fb = new Dialog.fBlurPanel(); | ||||
| 				//fb.Show(); | ||||
| 			} | ||||
|  | ||||
|  | ||||
| 			//Pub.flag.set(eFlag.SCR_JOBFINISH, true, "SCR_FINSHJOB"); | ||||
| 			this.FormClosed += fFinishJob_FormClosed; | ||||
| 		} | ||||
|  | ||||
| 		void fFinishJob_FormClosed(object sender, FormClosedEventArgs e) | ||||
| 		{ | ||||
| 			// Comm.WebService.Message -= WebService_Message; | ||||
| 		} | ||||
|  | ||||
| 		private void button1_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			this.Close(); | ||||
| 		} | ||||
|  | ||||
| 		private void __LoaD(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			this.Text = string.Format("금일 작업 목록 입니다({0})", DateTime.Now.ToShortDateString()); | ||||
|  | ||||
| 			int cntl = 0; | ||||
| 			int cntr = 0; | ||||
| 			float qty = 0; | ||||
|  | ||||
| 			if (Pub.setting.OnlineMode) | ||||
| 				using (var db = new EEEntities()) | ||||
| 				{ | ||||
| 					var sd = DateTime.Parse(DateTime.Now.ToShortDateString() + " 00:00:00"); | ||||
| 					var ed = DateTime.Parse(DateTime.Now.ToShortDateString() + " 23:59:59"); | ||||
|  | ||||
| 					if (Pub.Result.JobStartTime.Year != 1982) sd = Pub.Result.JobStartTime; | ||||
| 					if (Pub.Result.JobEndTime.Year != 1982) ed = Pub.Result.JobEndTime; | ||||
|  | ||||
| 					label1.Text = string.Format("작업기간 {0}~{1}", sd.ToString("HH:mm:ss"), ed.ToString("HH:mm:ss")); | ||||
|  | ||||
| 					var list = db.Component_Reel_Result.Where(t => t.STIME >= sd && t.STIME <= ed && t.PRNVALID == true && t.PRNATTACH == true); | ||||
| 					if (list != null && list.Count() > 0) | ||||
| 					{ | ||||
| 						cntl = list.Where(t => t.LOC == "L").GroupBy(t => t.RID0).Count(); | ||||
| 						cntr = list.Where(t => t.LOC == "R").GroupBy(t => t.RID0).Count(); | ||||
| 					} | ||||
| 					int? dbqty = list.Sum(t => t.QTY); | ||||
| 					if (dbqty != null) qty = ((int)dbqty); | ||||
| 				} | ||||
| 			lbCntL.Text = cntl.ToString(); | ||||
| 			lbCntR.Text = cntr.ToString(); | ||||
| 			lbSumQty.Text = qty.ToString(); | ||||
| 		} | ||||
|  | ||||
| 	} | ||||
| } | ||||
							
								
								
									
										377
									
								
								Handler/Project_form2/Dialog/fFinishJob.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										377
									
								
								Handler/Project_form2/Dialog/fFinishJob.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,377 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||||
|   <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         AAABAAMAMDAAAAEAIACoJQAANgAAACAgAAABACAAqBAAAN4lAAAQEAAAAQAgAGgEAACGNgAAKAAAADAA | ||||
|         AABgAAAAAQAgAAAAAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgaZsA5C1 | ||||
|         fwOTuIIDkbaAA5K3gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3 | ||||
|         gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3 | ||||
|         gQOSt4EDkreBA5G2gAOTuIIDkLV/A4GmbAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAfaJmBAAAAAB6n2IdfaJmkoescoeIrnSDh61zhIitc4SIrXOEiK1zhIitc4SIrXOEiK1zhIit | ||||
|         c4SIrXOEiK1zhIitc4SIrXOEiK1zhIitc4SIrXOEiK1zhIitc4SIrXOEiK1zhIitc4SIrXOEiK1zhIit | ||||
|         c4SIrXOEiK1zhIitc4SIrXOEiK1zhIitc4SIrXOEiK1zhIetc4SIrnSDh6xyh32iZpJ6n2IdAAAAAH2i | ||||
|         ZgQAAAAAAAAAAAAAAAAAAAAAiKx0BwAAAACApWk1ia52/6DElP+kyJn9osaW/qLGl/+ixpf/osaX/6LG | ||||
|         l/+ixpf/osaX/6LGl/+ixpf/osaX/6LGl/+ixpf/osaX/6LGl/+ixpf/osaX/6LGl/+ixpf/osaX/6LG | ||||
|         l/+ixpf/osaX/6LGl/+ixpf/osaX/6LGl/+ixpf/osaX/6LGl/+ixpf/osaX/6LGlv6kyJn9oMSU/4mu | ||||
|         dv+ApWk1AAAAAIisdAcAAAAAAAAAAAAAAAAAAAAAl7uIBgAAAACIrXQrmr6M47/ivf3E58P8weS/+sLk | ||||
|         wPvC5MD7wuTA+8LkwPvC5MD7wuTA+8LkwPvC5MD7wuTA+8LkwPvC5MD7wuTA+8LkwPvB5MD7wuTA+8Lk | ||||
|         wPvC5MD7wuTA+8LkwPvC5MD7wuTA+8LkwPvC5MD7wuTA+8LkwPvC5MD7wuTA+8LkwPvC5MD7wuTA+8Hk | ||||
|         v/rE58P8v+K9/Zq+jOOIrXQrAAAAAJe7iAYAAAAAAAAAAAAAAAAAAAAAlLiEBgAAAACHq3Itl7uH67nc | ||||
|         tf++4bz+u964/bzfuf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzf | ||||
|         uf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzf | ||||
|         uf6837n+vN+5/rveuP2+4bz+udy1/5e7h+uHq3ItAAAAAJS4hAYAAAAAAAAAAAAAAAAAAAAAlLiEBgAA | ||||
|         AACHq3Isl7uI67rdtv+/4r3/vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzf | ||||
|         uf694Lr+vN+5/r3guv694Lr+vN+5/rzfuf694Lr+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzf | ||||
|         uf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJS4hAYAAAAAAAAAAAAA | ||||
|         AAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/73guv+94Lr/veC6/73g | ||||
|         uv+837n/veC6/73guv+73rf/weO//7ndtf+z163/weTA/7zfuf+837n/veC6/7zfuf+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5 | ||||
|         hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/7zfuf+94Lr/vN+5/7veuP/C5MH/stet/6bHm/+oxpz/qc6h/7/ivf++4bz/u964/73g | ||||
|         uv+837n/veC6/73guv+94Lr/veC6/73guv+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7 | ||||
|         iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3g | ||||
|         uv+94Lr/veC6/73guv+94Lr/vN+5/73guv+837n/vd+5/8Djvv+02bD/p8ic/8LTt//R3cn/q8ef/67R | ||||
|         p/+94bv/v+K9/7veuP+94Lr/vN+5/73guv+94Lr/veC6/73guv+94Lr/veC6/73guv+94Lr/veC6/7zf | ||||
|         uf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rd | ||||
|         tv+/4r3/vN+5/r3guv+94Lr/veC6/73guv+837n/veC6/7zfuf+94Lr/vuG8/7fasv+mx5v/xte8//b4 | ||||
|         9P/9/f3/3ObW/6zHoP+u0qf/veG7/77hvP+837n/veC6/73guv+94Lr/veC6/73guv+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAA | ||||
|         AACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/73guv+94Lr/vN+5/73guv++4bz/uNu0/6XH | ||||
|         mv/I2b7/9Pfy/////////////f39/9zm1v+tyKD/rtGm/7/ivf+94Lr/vN+5/7zfuf+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAA | ||||
|         AAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/7zfuf+94Lr/u964/8Hj | ||||
|         v/+22bH/o8SX/83exv/2+fX///////39/P/+/f3///////7+/f/h69z/rsmh/6nNn//C5cH/vN+4/7zf | ||||
|         uf+94Lr/vN+5/73guv+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5 | ||||
|         hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/73g | ||||
|         uv+837j/wuTA/7LXrf+nx5z/zNvE//b49P//////+/v6/8bWvP+uxaH/7vLr//7+/v/+////4Oja/7LK | ||||
|         pv+ozJ//wuXB/73guv+837n/veC6/7zfuf+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7 | ||||
|         iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3g | ||||
|         uv+94Lr/vN+5/7zfuf++4Lv/t9uz/6rLoP/C1Lj//Pz7///////4+ff/zNvF/6fInP+kyJr/uM6t/+zw | ||||
|         6P/+/v7///7//+Do2v+yy6f/qc2h/7/ivf++4bz/u964/73guv+837n/veC6/73guv+94Lr/veC6/7zf | ||||
|         uf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rd | ||||
|         tv+/4r3/vN+5/r3guv+94Lr/vN+5/7zfuf++4Lv/t9uz/6rKn//C07j//v7+//z8+//N28T/qMec/7ba | ||||
|         sv/B47//p8qd/7nOrv/q8Of///////7+/v/g6dv/rcih/63Rpf+94bv/v+K9/7veuP+94Lr/vN+5/73g | ||||
|         uv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAA | ||||
|         AACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/73guv+73rj/wuXB/7HVq/+pyJ7/z97I/9Pg | ||||
|         zf+ryZ//stas/8LkwP+94Lr/vuG8/6PGmP+90rT/6/Dn///////8/fv/3+rb/6/Ko/+u0ab/vOC5/7/h | ||||
|         vP+837n/veC6/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAA | ||||
|         AAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/7zfuf+94Lr/u964/7/j | ||||
|         vf+53LX/o8SY/6PFmP+53LX/wOO+/7veuP+837n/veC6/8Djvv+lyZv/uc+v/+rv5////////f79/+bs | ||||
|         4f+tx6H/rNCl/8Djvv+837n/vN+5/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5 | ||||
|         hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/73g | ||||
|         uv+94Lr/vN+5/73guv+84Lr/ut22/7rdtv+84Lr/veC6/7zfuf+837n/veC6/73guv+/4rz/p8ue/7bO | ||||
|         q//r8ej///////7+/v/l7OH/ssun/6jNoP/B47//vN+5/7zfuf+94Lr/veC6/7zfuf6/4r3/ut22/5e7 | ||||
|         iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlLiEBgAAAACHq3Itl7uI67rdtv+/4r3/vN+5/r3g | ||||
|         uv+94Lr/veC6/73guv+837n/veC6/7zfuf+94Lr/vuG8/77hvP+94Lr/vN+5/73guv+94Lr/vN+5/7zf | ||||
|         uf+/4bz/vOC5/6jLnv+zy6j/7/Ps///////09vL/tcup/6PImf/C5MD/vN+5/7zfuf+94Lr/veC6/7zf | ||||
|         uf6/4r3/ut22/5e7iOuHq3ItAAAAAJS4hAYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3MsmLuI57rd | ||||
|         tv+/4r3/vN+5/r3guv+94Lr/veC6/73guv+94Lr/vN+5/73guv+837n/vN+5/7zfuf+837n/veC6/7zf | ||||
|         uf+837n/veC6/73guv+73rj/weO//7ndtf+qzKH/uc6t/9bhzv/A07b/sM+n/7fbs/++4Lv/vN+5/7zf | ||||
|         uf+94Lr/veC6/7zfuf6/4r3/ut22/5i7iOeHq3MsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAk7eDBgAA | ||||
|         AACGqnEwlbmG9rrdtv+/4r3+vN+5/r3guv+94Lr/veC6/73guv+94Lr/veC6/73guv+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/7zfuf+94Lr/u963/8Djvv+94Lr/qMqe/6vHnv+nyJv/ttqy/8Hk | ||||
|         v/+83rj/veC6/73guv+94Lr/veC6/7zfuf6/4r3+ut22/5W5hvaGqnEwAAAAAJO3gwYAAAAAAAAAAAAA | ||||
|         AAAAAAAAkraCBwAAAACFqnI1lLiF/7nctf+/4r39vN+4/r3guv+94Lr/veC6/73guv+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/73guv+837n/veC6/7zfuf+837n/vN+5/7zfuf+837n/veC6/7veuP++4Lv/wOK+/7HV | ||||
|         q/+94Lr/v+K9/7veuP+94Lr/vN+5/73guv+94Lr/veC6/7zfuP6/4r39udy1/5S4hf+FqnI1AAAAAJK2 | ||||
|         ggcAAAAAAAAAAAAAAAAAAAAAlLmFBwAAAACIrXU0lruI/7ndtv+/4r39vN+5/r3guv+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/73guv+84Lr/vN+5/73guv+94Lr/veC6/73guv+94Lr/veC6/73g | ||||
|         uv+837n/vN+5/73gu/+837n/vN+5/73guv+837n/veC6/73guv+94Lr/veC6/7zfuf6/4r39ud22/5a7 | ||||
|         iP+IrXU0AAAAAJS5hQcAAAAAAAAAAAAAAAAAAAAAlLmFBwAAAACHrXU0lruI/7ndtv+/4r39vN+5/r3g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/73guv+94Ln/veC6/73guv+837n/vN+5/7zfuf+94Lv/vuG8/77h | ||||
|         vP+94Lv/vN+5/7zfuf+837n/veC6/73guv+94Lr/vN+5/73guv+94Lr/veC6/73guv+94Lr/veC6/7zf | ||||
|         uf6/4r39ud22/5a7iP+HrXU0AAAAAJS5hQcAAAAAAAAAAAAAAAAAAAAAk7iEBwAAAACHrXU0lruH/7nd | ||||
|         tv+/4r39vN+5/r3guv+94Lr/veC6/73guv+94Lr/veC6/7zfuf+94Lr/vN+5/7zfuf+837n/weS//7zf | ||||
|         uf+sz6P/oMWW/6DFlv+sz6T/vN+5/8Hkv/+837n/vN+5/7zfuf+94Lr/veC6/7zfuf+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/7zfuf6/4r39ud22/5a7h/+HrXU0AAAAAJO4hAcAAAAAAAAAAAAAAAAAAAAAlLmFBwAA | ||||
|         AACHrXU0lruH/7ndtv+/4r39vN+5/r3guv+94Lr/veC6/73guv+94Lr/veC6/73guv+837n/veC6/77h | ||||
|         u/+63bf/qMyg/5vBkP+awpD/mMGP/5fBj/+awpH/m8GQ/6jMn/+63rf/vuG7/73guv+837n/veC6/73g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r39ud22/5a7h/+HrXU0AAAAAJS5hQcAAAAAAAAAAAAA | ||||
|         AAAAAAAAlLmFBwAAAACHrXU0lruH/7ndtv+/4r39vN+5/r3guv+94Lr/veC6/73guv+94Lr/vN+5/7zf | ||||
|         uf+837n/veC5/7rdtv+kyJr/krmF/5G7h/+ZxJL/n8qa/57Kmv+ZxJL/kbqG/5K5hf+kyZr/ut23/7zg | ||||
|         uf+84Ln/vN+5/7zfuf+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r39ud22/5a7h/+HrXU0AAAAAJS5 | ||||
|         hQcAAAAAAAAAAAAAAAAAAAAAk7iEBwAAAACHrXU0lruH/7nctf+/4r39u9+4/rzfuf+837n/vN+5/7zf | ||||
|         uf+837n/vN+5/7zfuP++4bv/vN+5/6XJm/+QuIL/mMOR/6POoP+eyZn/nciY/57ImP+eyZn/o86g/5jD | ||||
|         kf+QuIP/psmd/7zfuf++4bv/vN+4/7zfuf+837n/vN+5/7zfuf+837n/vN+5/7vfuP6/4r39udy1/5a7 | ||||
|         h/+HrXU0AAAAAJO4hAcAAAAAAAAAAAAAAAAAAAAAlLmFBwAAAACIrXU0lruI/7rdtv/A4779vN+5/r3g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/73guv/A4r7/uNu0/4+1gP+Yw5H/oMyd/53Hl/+dyJj/nciY/53I | ||||
|         mP+dyJj/nceX/6DMnf+Yw5H/j7WA/7nbtf/A4r7/vOC5/73guv+94Lr/veC6/73guv+94Lr/veC6/7zf | ||||
|         uf7A4779ut22/5a7iP+IrXU0AAAAAJS5hQcAAAAAAAAAAAAAAAAAAAAAlLmGBwAAAACIrnY0l7yJ/7ve | ||||
|         uP/B5MD9veG7/r7hvP++4bz/vuG8/77hvP++4bz/vuG7/8Djvv+837n/qc6h/5S9iv+axZT/n8qb/53I | ||||
|         mP+eyZn/nsmZ/57Jmf+eyZn/nciY/5/Km/+axZT/lLyJ/6rOof+837n/wOO+/77hu/++4bz/vuG8/77h | ||||
|         vP++4bz/vuG8/77hu/7B5MD9u964/5e8if+IrnY0AAAAAJS5hgcAAAAAAAAAAAAAAAAAAAAAh6tyBwAA | ||||
|         AACApGk1iKx0/53BkP+hxZX9n8OT/6DElP+gxJT/oMSU/6DElP+gxJT/n8OT/6LGl/+avo3/i7F7/5nE | ||||
|         kv+eyZn/nciY/53ImP+dyJj/nsmZ/57Jmf+dyJj/nciY/53ImP+eyZn/mcOS/4uxev+avo3/osaX/5/D | ||||
|         k/+gxJT/oMSU/6DElP+gxJT/oMSU/5/Dk/+gxJX9ncGQ/4isdP+ApGk1AAAAAIercwcAAAAAAAAAAAAA | ||||
|         AAAAAAAAia12BgAAAAB9oWYtjK957qrOov+iyZr+mMCO/pjBj/6YwY//mMGP/5jBj/+YwY//mMGP/5nC | ||||
|         kP+Wv4z/kruI/5zHl/+eyZn/nciY/53ImP+eyZn/nsmZ/57Jmf+eyZn/nciY/53ImP+eyZr/nMiX/5K7 | ||||
|         h/+Wv4z/mcKQ/5jBj/+YwY//mMGP/5jBj/+YwY//mMGP/pjBjv6jypr+qs6i/4yvee59oWUtAAAAAImt | ||||
|         dQYAAAAAAAAAAAAAAAAAAAAAjbJ8BQAAAAB1mlwhkraCwr/ivf613LT/os2e/Z7Kmv+gy5z/n8ub/5/L | ||||
|         m/+fy5v/n8ub/5/Lm/+gy5z/ocye/57Jmf+dyJj/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+dyJj/nsmZ/6HMnv+gy5z/n8ub/5/Lm/+fy5v/n8ub/5/Lm/+gy5z/nsqa/6LNnv223LT/v+K9/pK2 | ||||
|         gcJ1mlwhAAAAAI6yfAUAAAAAAAAAAAAAAAAAAAAAgadsAwAAAABTfC8Phqxzfq7Sp/W427T/p8+i/JrG | ||||
|         lf6eyZn/nciY/53ImP+dyJj/nciY/53ImP+dyJj/nciY/53ImP+eyZn/nciY/57JmP+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmY/53ImP+eyZn/nciY/53Il/+dyJj/nciY/53ImP+dyJj/nciY/53ImP+eyZn/msaV/qfP | ||||
|         ovy427P/rtGm9YetdH1UfDIPAAAAAIKobQMAAAAAAAAAAAAAAAAAAAAAAAAAANT33wEAAAAAfKFlIpe7 | ||||
|         itm32bH/r9ar/ZvGlf6eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/m8aV/q/Wq/232bH/lruH2XimZiEAAAAA1efOAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIyw | ||||
|         ewMAAAAAdZpeComtd7S016/9tty0/6HLnP2dyJj+nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+dyJj+ocuc/bfdtP+01679ia11tXWaWwoAAAAAjLB5AwAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAIOpcAIAAAAAWYE6BX6kaXyv0afuut23/6nRpfubx5b/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+bx5b/qdGk+7rdtv+u0abugKRqeluAOwUAAAAAhalxAgAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHebWySbv47GtNau/7LYsPubx5b+nsmZ/p7I | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nciZ/57Jmf6bx5b+stiv+7PWrf+bv43FeppfIwAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACMs3wBAAAAAAAAAACDq3GgrNGl/7vg | ||||
|         uf6gypv9nsmZ/53ImP+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nciY/57Jmf+gypv9u+C5/q3Q | ||||
|         pf+FqXCfAAAAAAAAAACOsnwBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACIq3IBAAAAAAAA | ||||
|         AAB7oWR0qM2f6Lzguf+q0aX8nciX/53ImP+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nciY/53I | ||||
|         l/+q0qX8u+C5/6nNoOd8oGZzAAAAAAAAAACIqnMBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAABojlAoncGRuLPWrf+02rH6nMeX/pzIl/6dyJj+nciY/p3ImP6dyJj+nciY/p3I | ||||
|         mP6dyJj+nciY/p3ImP6dyJj+nciY/p3ImP6dyJj+nciY/p3ImP6dyJj+nciY/p3ImP6dyJj+nciY/p3I | ||||
|         mP6dyJj+nMiX/pzHl/602rH6s9at/53BkbhpjEsnAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAJm6iAIAAAAAh6x0f6bJm/+74Lr8oMqc/pvHlv6bx5b+nMeW/pzH | ||||
|         lv6cx5b+nMeW/pzHlv6cx5b+nMeW/pzHlv6cx5b+nMeW/pzHlv6cx5b+nMeW/pzHlv6cx5b+nMeW/pzH | ||||
|         lv6cx5b+nMeW/pzHlv6bx5b+m8eW/qDLnP674Lr8psmb/4esdH8AAAAAmbqIAgAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIisdQIAAAAAd5xfZaHElebF6MX8u9+5+brf | ||||
|         uPq637j6ut+4+rrfuPq637j6ut+4+rrfuPq637j6ut+4+rrfuPq637j6ut+4+rrfuPq637j6ut+4+rrf | ||||
|         uPq637j6ut+4+rrfuPq637j6ut+4+rrfuPq637j6ut+4+rvgufnF6MX8ocSV5necXmQAAAAAiKx0AgAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH+obAEAAAAAapRRJpG3 | ||||
|         gamixpb/qMuf/KnMn/6py5//qcuf/6nLn/+py5//qcuf/6nLn/+py5//qcuf/6nLn/+py5//qcuf/6nL | ||||
|         n/+py5//qcuf/6nLn/+py5//qcuf/6nLn/+py5//qcuf/6nLn/+py5//qcyf/qjLn/yixpb/kbaBqGuS | ||||
|         UCUAAAAAgKdsAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AACet4sCAAAAAH2lZ0KGq3KVjrN+ho6yfYiNsn2IjrJ9iI6yfYiOsn2IjrJ9iI6yfYiOsn2IjrJ9iI6y | ||||
|         fYiOsn2IjrJ9iI6yfYiOsn2IjrJ9iI6yfYiOsn2IjrJ9iI6yfYiOsn2IjrJ9iI6yfYiNsn2IjrJ9iI6z | ||||
|         foaGq3KVfqRoQgAAAACWuoQCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIatcgGQtX8DmLyKA5i8igOXu4kDmLyKA5i8 | ||||
|         igOYvIoDmLyKA5i8igOYvIoDmLyKA5i8igOYvIoDmLyKA5i8igOYvIoDmLyKA5i8igOYvIoDmLyKA5i8 | ||||
|         igOYvIoDmLyKA5i8igOXu4kDmLyKA5i8igOQtX8DhqxzAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAP///////wAA////////AAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgA | ||||
|         AAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAf | ||||
|         AAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgA | ||||
|         AAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAf | ||||
|         AAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgAAAAAHwAA/AAAAAA/AAD8AAAAAD8AAPwA | ||||
|         AAAAPwAA/gAAAAB/AAD+AAAAAH8AAP4AAAAAfwAA/wAAAAD/AAD/AAAAAP8AAP+AAAAB/wAA/4AAAAH/ | ||||
|         AAD/gAAAAf8AAP/AAAAD/wAA////////AAD///////8AACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB/pGgBAAAAAHugZE6DqG1jhKpvW4Spbl2EqW5dhKluXYSp | ||||
|         bl2EqW5dhKluXYSpbl2EqW5dhKluXYSpbl2EqW5dhKluXYSpbl2EqW5dhKluXYSpbl2EqW5dhKluXYSp | ||||
|         bl2EqW5dhKpvW4OobWN7oGROAAAAAH+kaAEAAAAAAAAAAJq+jQQAAAAAjbF7vqjLnv+s0KP7qs6h/qvO | ||||
|         ov+rzqL/q86i/6vOov+rzqL/q86i/6vOov+qzqL/qs6i/6vOov+rzqL/q86i/6vOov+rzqL/q86i/6vO | ||||
|         ov+rzqL/q86i/6rOof6s0KP7qMue/42xe74AAAAAmr6NBAAAAAAAAAAArM+jBAAAAACZvYqtveC6/8Ll | ||||
|         wfjA4777weO//MDjv/vA47/7weO/+8Djv/vB47/7wOO++8Hjv/vA4777weO/+8Hjv/vB47/7wOO/+8Dj | ||||
|         v/vA47/7wOO/+8Djv/vB47/8wOO++8Llwfi94Lr/mb2KrQAAAACsz6MEAAAAAAAAAACny54EAAAAAJa6 | ||||
|         hrK427P/veC6+7ret/673rj+u964/rveuP673rf+u964/rrdt/6937r+u9+4/r3guv673rj+u963/rve | ||||
|         t/673rj+u964/rveuP673rj+u964/rveuP663rf+veC6+7jbs/+WuoayAAAAAKfLngQAAAAAAAAAAKjM | ||||
|         nwQAAAAAlrqHsbnctf++4bz7vN+5/r3guv+94Lr+veC6/7zfuf+73rj/vuG8/7ndtv+oyp7/rdCl/77i | ||||
|         vP+837r/vN+5/7zfuv+94Lr/veC6/73guv+94Lr+veC6/7zfuf6+4bz7udy1/5a6h7EAAAAAqMyfBAAA | ||||
|         AAAAAAAAqMyfBAAAAACWuoexudy0/77hu/u837n+veC6/7zfuf6837n+u964/r/hvP643bX+qsqg/tXf | ||||
|         zf7C1Lj+q8+j/r/ivf6837n+vN+5/r3guv6837n+vN+5/rzfuf694Lr/vN+5/r7hu/u53LT/lrqHsQAA | ||||
|         AACozJ8EAAAAAAAAAACozJ8EAAAAAJa6h7G53LT/vuG8+7zfuf694Lr/vN+5/rveuP+/4bz/uNy1/6vL | ||||
|         of/b5dX///////n6+f/C1bn/q8+j/7/ivf+837n/vN+5/73guv+94Lr/vN+5/r3guv+837n+vuG8+7nc | ||||
|         tP+WuoexAAAAAKjMnwQAAAAAAAAAAKjMnwQAAAAAlrqHsbnctP++4bz7vN+5/r3guv+837j+vuG8/7jc | ||||
|         tf+qyaD/3+nb///////n7eP/9ff0//3+/f/F17v/q86h/7/jvf+837n/vN+5/7zfuf+94Lr+veC6/7zf | ||||
|         uf6+4bz7udy0/5a6h7EAAAAAqMyfBAAAAAAAAAAAqMyfBAAAAACWuoexudy0/77hu/u837n+vN+5/73f | ||||
|         uv663rf/q8uh/+Ho2///////4ure/6TEmf+50K//9/j1//39/f/G1r3/q86j/7/ivf+837r/vN+4/7zf | ||||
|         uf694Lr/vN+5/r7hvPu53LT/lrqHsQAAAACozJ8EAAAAAAAAAACozJ8EAAAAAJa6h7G53LT/vuG7+7zf | ||||
|         uf6837n/vd+6/rret/+qyaD/5uzh/+ju5P+ryaD/u9+5/7DUqv+5z6//+Pn3//39/P/D1rr/q8+j/77i | ||||
|         vP+837n/vN+5/r3guv+837n+vuG8+7nctP+WuoexAAAAAKjMnwQAAAAAAAAAAKjMnwQAAAAAlrqHsbnc | ||||
|         tP++4bz7vN+5/r3guv+837j+vuG7/7jdtf+tzKT/rsyl/7ndtf++4Lv/v+K9/6/TqP+70bH/9ffz//3+ | ||||
|         /f/H177/rM+k/7/ivP+83rj+veC6/7zfuf6+4bz7udy0/5a6h7EAAAAAqMyfBAAAAAAAAAAAqMyfBAAA | ||||
|         AACWuoexudy0/77hu/u837n+veC6/7zfuf673rj/vuG7/7ndtv+53bb/vuG7/7veuP+837n/wOO+/67T | ||||
|         qP+40K7/9vn1///////A0rb/q9Ck/8Djvv673rj/vN+5/r7hu/u53LT/lrqHsQAAAACozJ8EAAAAAAAA | ||||
|         AACpzJ8EAAAAAJe6h6+53LX/vuG8+7zfuf694Lr/vN+5/rzfuf+837j/veC6/73gu/+837j/vN+5/7zf | ||||
|         uf+83rj/wOO+/63Spv+90rP/3+fY/7jRr/+z167/vuG8/rvfuP+837n+vuG8+7nctf+XuoevAAAAAKnM | ||||
|         nwQAAAAAAAAAAKfKngQAAAAAlLiFu7jbtP++4bv6vN+5/r3guv+94Lr+vN+5/7zguv+837n/vN+5/73f | ||||
|         uv+837n/vN+4/7veuP+73rj/wOO+/7LUq/+oyJz/tdiw/7/ivf+73rj+veC6/7zfuf6+4bv6uNu0/5S4 | ||||
|         hbsAAAAAp8qeBAAAAAAAAAAApsudBAAAAAGUuYbBuNu0/77hu/q837n/veC6/rzfuf694Lr/veC5/73g | ||||
|         uv+84Lr/u964/7zfuf++4bz/vuG8/7zfuf+73rj/vuG8/7vfuf++4bv/u964/7zfuf694Lr+vN+5/77h | ||||
|         u/q427T/lLmGwQAAAAGmy50EAAAAAAAAAACny50EAAAAAJW7h8G43LT/vuG8+rzfuf+94Lr+vN+5/rzf | ||||
|         uf+837n/vN+5/7veuP+/4rz/vuC7/7XYsP+12LD/veC7/7/ivf+73rj/vd+6/7zfuf+837n/veC6/r3g | ||||
|         uv6837n/vuG8+rjctP+Vu4fBAAAAAKfLnQQAAAAAAAAAAKfLnQQAAAAAlbqGwbjctP++4bz6vN+5/73g | ||||
|         uv694Lr+veC6/7zfuf+837n/vuG7/7LWrf+ix5j/mcGP/5nBkP+ix5j/stas/77hu/+837n/vN+5/7zf | ||||
|         uf+94Lr+veC6/rzfuf++4bz6uNy0/5W6hsEAAAAAp8udBAAAAAAAAAAAp8ucBAAAAACVuobBt9uz/73g | ||||
|         u/q73rj/vN+4/rzfuP673rj/u963/73guv+u0qf/k7uH/5XAjv+dyJj/nciY/5XAjf+Tu4f/r9Ko/73g | ||||
|         uv+73rf/u964/7zfuP6837j+u964/73gu/q327P/lbqGwQAAAACny5wEAAAAAAAAAACozKAEAAAAAJa7 | ||||
|         iMG73rf/wOO/+r7hu/++4bz/vuG8/r7hu//A477/vN64/5O6h/+axpX/oMuc/53Hl/+dx5f/oMuc/5rG | ||||
|         lf+Uuof/vN65/8Djvv++4bv/vuG8/r7hvP++4bv/wOO/+rvet/+Wu4jBAAAAAKjMnwQAAAAAAAAAAKDE | ||||
|         lAQAAAABkbWBwa/SqP+22bH6tNeu/7TXr/6016//tNeu/7bZsf+jx5n/lb+N/57Jmv+cx5f/nciY/53I | ||||
|         mP+cx5f/nsma/5W/jP+jx5n/ttmx/7TXrv+016//tNev/rTXrv+22bH6r9Ko/5G2gcEAAAABn8SVBAAA | ||||
|         AAAAAAAAl7uIBAAAAACKrXe5ocaX/5rBkPqYv43+mMCO/5jAjf6YwI7/mMCO/5C4hP+bxpb/nciY/53I | ||||
|         mP+dyJj/nciY/53ImP+dyJj/m8eW/5C4g/+YwI7/mMCO/5jAjf6YwI7/mL+N/prCkPqhxpf/iq13uQAA | ||||
|         AACXu4kEAAAAAAAAAACny58DAAAAAJC0f4i43LX/qNGl+5zIl/6eypr/ncmZ/p3Jmf+eyZn/n8qc/53I | ||||
|         mP+dyJj/nsmY/57Jmf+eyZn/nsmY/53ImP+dyJj/n8qb/57Jmf+dyZn/ncmZ/p7Kmv+cyJf+qNGl+7nc | ||||
|         tf+QtH6HAAAAAKjMngMAAAAAAAAAAJa7iQEAAAAAdZxeLKfKneix163/m8aV/Z7Imf+dyJj+nciY/53I | ||||
|         mP+dyJj/nciY/53ImP+dyJj/nsmZ/57Jmf+dyJj/nciY/53ImP+dyJj/nciY/53ImP+dyJj+nsiZ/5vG | ||||
|         lf2x163/psmb6HSeXiwAAAAAlryIAQAAAAAAAAAAAAAAAAAAAAAAAAADmLuKvbjctf+hy5z7nMiX/p7J | ||||
|         mf+eyZn+nsmZ/57Jmf+eyZn/nsmZ/57Jmf+dyJj/nciY/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/p7J | ||||
|         mf+cyJf+ocuc+7jctf+Yu4m9AAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAu924AgAAAACNsntlsdOq/arS | ||||
|         p/yaxpX9nsmZ/p3ImP6dyJj+nciY/p3ImP6dyJj+nciY/p3ImP6dyJj+nciY/p3ImP6dyJj+nciY/p3I | ||||
|         mP6dyJj+nsmZ/prGlf2q0qb8sNOp/I6yfGQAAAAAt9yzAgAAAAAAAAAAAAAAAAAAAACBqG0CAAAAAGWP | ||||
|         Syiix5jntduz/5zHl/yeyJn/nsmZ/p7Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf6eyJn/nMeX/LXbs/+jxpjnZ4xKKAAAAACDp20CAAAAAAAAAAAAAAAAAAAAAHSZ | ||||
|         WwEAAAAABC4AB5q/jZ+12bD/oMqb+5jEk/6bxpX+msaV/prGlf6axpX+msaV/prGlf6axpX+msaV/prG | ||||
|         lf6axpX+msaV/prGlf6axpX+m8aV/pjEk/6gy5v7tdmw/5u/jp4CJgAHAAAAAHSYWwEAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAIqudwIAAAAAfqNoWK7Rpv+027T6pM6g+6fRo/un0KP7p9Cj+6fQo/un0KP7p9Cj+6fQ | ||||
|         o/un0KP7p9Cj+6fQo/un0KP7p9Cj+6fQo/un0KP7pM6g+7TctPqu0ab/fqNoWAAAAACKrncCAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAeaBjAQAAAABnj0wmncGQz6/SqP+v0qf9r9Gn/6/Rp/+v0af/r9Gn/6/R | ||||
|         p/+v0af/r9Gn/6/Rp/+v0af/r9Gn/6/Rp/+v0af/r9Gn/6/Rp/+v0qf9r9Ko/53BkM9njUolAAAAAHqf | ||||
|         YgEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB8o2Y+iK12Zoywe12Lr3pfjK96X4yv | ||||
|         el+Mr3pfjK96X4yvel+Mr3pfjK96X4yvel+Mr3pfjK96X4yvel+Mr3pfi696X4ywe12IrXZmfaNmPgAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA///////////gAAAH4AAAB+AAAAfgAAAH4AAAB+AA | ||||
|         AAfgAAAH4AAAB+AAAAfgAAAH4AAAB+AAAAfgAAAH4AAAB+AAAAfgAAAH4AAAB+AAAAfgAAAH4AAAB+AA | ||||
|         AAfwAAAP8AAAD/gAAB/4AAAf+AAAH/wAAD/8AAA///////////8oAAAAEAAAACAAAAABACAAAAAAAAAE | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAH2iZxiGq3E8iK1zNoesczeHrHM3h6xyN4arcTeHrHM3h6xzN4es | ||||
|         czeHrHM3iK1zNoarcTx9omcYAAAAAAAAAACUuIRer9Oo/7TXrvaz1q35s9at+bTXrvm12LD5s9at+bPW | ||||
|         rfmz1q35s9at+bTXrvav06j/lLiEXgAAAAAAAAAAm7+NXbrdtv+/4r77vuG7/r/ivf+737j/stas/73h | ||||
|         u/+/4b3/vuG8/77hvP6/4r77ut22/5u/jV0AAAAAAAAAAJm9i12427P/veC6+73guv623LP+wNq5/ubs | ||||
|         4f631rH+ud63/r3guv6837n+veC7+7jbs/+ZvYtdAAAAAAAAAACZvYtduNu0/77hvPu43bX+wdq7/u3x | ||||
|         6f7a5tX+6/Dn/rjWsf653rb+veC6/r3gu/u427T/mb2LXQAAAAAAAAAAmb2LXbjbtP++4bz7uN21/sLa | ||||
|         vP7F3L//rdSn/87gyf/t8er/vNm3/rret/6+4bv7uNu0/5m9i10AAAAAAAAAAJm9i12427T/veC7+73g | ||||
|         uv653bX+uN21/7/ivf+y2K3/z+HJ/9PgzP6z2K/+v+K9+7jbs/+ZvYtdAAAAAAAAAACXvIpjt9uz/77h | ||||
|         u/u837n/veC6/r7gu/++4bv/wOO+/7fbs/+117D+veC6/77hu/u327P/l7yKYwAAAAAAAAAAmL2KZbfa | ||||
|         s/+94Lv7u9+4/73guv663bb/qs+k/6rPo/+73rj/vuG7/rveuP+94Lv7t9qz/5i9imUAAAAAAAAAAJi9 | ||||
|         i2W53LX/wOK++7/hvP+937n+nsWV/5nEk/+ZxJL/nsWV/73fuf6/4bz/wOK++7nctf+YvYtlAAAAAAAA | ||||
|         AACTtoJlp8yf/6fNoPupzqH/oceY/pnEk/+fypr/n8qa/5nEk/+hx5j+qM6h/6fNoPuozJ//k7aCZQAA | ||||
|         AAAAAAAAkbN/NKjOovubx5b/msaV/pvHlv6eyJn+nciY/p3ImP6eyZn+m8eW/prGlf6bx5b/qM6i+5G0 | ||||
|         fjQAAAAAAAAAAAAAAACpzaHBpM2g/53ImPyeyZn+nsmZ/p7Jmf6eyZn+nsmZ/p7Jmf6dyJj8pM2f/6nN | ||||
|         oMEAAAAAAAAAAKvPowMAAAAAn8OTcKnRpf+bx5b8ncmY/p3ImP+dyJj/nciY/53ImP+dyJj+m8eW/KnR | ||||
|         pf+gwpNvAAAAAKvPowOMsXsBAAAAAIKlayKozaDrqc+j/ajOofmozqH6qM6h+qjOofqozqH6qM6h+anP | ||||
|         o/2ozaDqgqVrIgAAAACNsXsBAAAAAAAAAAAAAAAAiq93LZq7ijuauok4mrqJOZq6iTmauok5mrqJOZq6 | ||||
|         iTiau4o7iq53LQAAAAAAAAAAAAAAAP//AADAAwAAwAMAAMADAADAAwAAwAMAAMADAADAAwAAwAMAAMAD | ||||
|         AADAAwAAwAMAAMADAADgBwAA4AcAAP//AAA= | ||||
| </value> | ||||
|   </data> | ||||
| </root> | ||||
							
								
								
									
										366
									
								
								Handler/Project_form2/Dialog/fImportSIDConv.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										366
									
								
								Handler/Project_form2/Dialog/fImportSIDConv.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,366 @@ | ||||
| namespace Project.Dialog | ||||
| { | ||||
| 	partial class fImportSIDConv | ||||
| 	{ | ||||
| 		/// <summary> | ||||
| 		/// Required designer variable. | ||||
| 		/// </summary> | ||||
| 		private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
| 		/// <summary> | ||||
| 		/// Clean up any resources being used. | ||||
| 		/// </summary> | ||||
| 		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
| 		protected override void Dispose(bool disposing) | ||||
| 		{ | ||||
| 			if (disposing && (components != null)) | ||||
| 			{ | ||||
| 				components.Dispose(); | ||||
| 			} | ||||
| 			base.Dispose(disposing); | ||||
| 		} | ||||
|  | ||||
| 		#region Windows Form Designer generated code | ||||
|  | ||||
| 		/// <summary> | ||||
| 		/// Required method for Designer support - do not modify | ||||
| 		/// the contents of this method with the code editor. | ||||
| 		/// </summary> | ||||
| 		private void InitializeComponent() | ||||
| 		{ | ||||
| 			this.components = new System.ComponentModel.Container(); | ||||
| 			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fImportSIDConv)); | ||||
| 			this.dataSet1 = new Project.DataSet1(); | ||||
| 			this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
| 			this.ta = new Project.DataSet1TableAdapters.Component_Reel_SIDConvTableAdapter(); | ||||
| 			this.tam = new Project.DataSet1TableAdapters.TableAdapterManager(); | ||||
| 			this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||
| 			this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); | ||||
| 			this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); | ||||
| 			this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton(); | ||||
| 			this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); | ||||
| 			this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); | ||||
| 			this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); | ||||
| 			this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); | ||||
| 			this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); | ||||
| 			this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); | ||||
| 			this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); | ||||
| 			this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); | ||||
| 			this.component_Reel_SIDConvBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); | ||||
| 			this.btImpo = new System.Windows.Forms.ToolStripButton(); | ||||
| 			this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); | ||||
| 			this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); | ||||
| 			this.tbFind = new System.Windows.Forms.ToolStripTextBox(); | ||||
| 			this.component_Reel_SIDConvDataGridView = new System.Windows.Forms.DataGridView(); | ||||
| 			this.progressBar1 = new System.Windows.Forms.ProgressBar(); | ||||
| 			this.idxDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
| 			this.m101DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
| 			this.m103DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
| 			this.m106DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
| 			this.remarkDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
| 			this.m108DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
| 			((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit(); | ||||
| 			((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
| 			((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||
| 			this.bn.SuspendLayout(); | ||||
| 			((System.ComponentModel.ISupportInitialize)(this.component_Reel_SIDConvDataGridView)).BeginInit(); | ||||
| 			this.SuspendLayout(); | ||||
| 			//  | ||||
| 			// dataSet1 | ||||
| 			//  | ||||
| 			this.dataSet1.DataSetName = "DataSet1"; | ||||
| 			this.dataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; | ||||
| 			//  | ||||
| 			// bs | ||||
| 			//  | ||||
| 			this.bs.DataMember = "Component_Reel_SIDConv"; | ||||
| 			this.bs.DataSource = this.dataSet1; | ||||
| 			//  | ||||
| 			// ta | ||||
| 			//  | ||||
| 			this.ta.ClearBeforeFill = true; | ||||
| 			//  | ||||
| 			// tam | ||||
| 			//  | ||||
| 			this.tam.BackupDataSetBeforeUpdate = false; | ||||
| 			this.tam.Component_Reel_SIDConvTableAdapter = this.ta; | ||||
| 			this.tam.Component_Reel_SIDInfoTableAdapter = null; | ||||
| 			this.tam.UpdateOrder = Project.DataSet1TableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; | ||||
| 			//  | ||||
| 			// bn | ||||
| 			//  | ||||
| 			this.bn.AddNewItem = this.bindingNavigatorAddNewItem; | ||||
| 			this.bn.BindingSource = this.bs; | ||||
| 			this.bn.CountItem = this.bindingNavigatorCountItem; | ||||
| 			this.bn.DeleteItem = this.bindingNavigatorDeleteItem; | ||||
| 			this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
| 			this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.bindingNavigatorMoveFirstItem, | ||||
|             this.bindingNavigatorMovePreviousItem, | ||||
|             this.bindingNavigatorSeparator, | ||||
|             this.bindingNavigatorPositionItem, | ||||
|             this.bindingNavigatorCountItem, | ||||
|             this.bindingNavigatorSeparator1, | ||||
|             this.bindingNavigatorMoveNextItem, | ||||
|             this.bindingNavigatorMoveLastItem, | ||||
|             this.bindingNavigatorSeparator2, | ||||
|             this.bindingNavigatorAddNewItem, | ||||
|             this.bindingNavigatorDeleteItem, | ||||
|             this.component_Reel_SIDConvBindingNavigatorSaveItem, | ||||
|             this.btImpo, | ||||
|             this.toolStripSeparator1, | ||||
|             this.toolStripLabel1, | ||||
|             this.tbFind}); | ||||
| 			this.bn.Location = new System.Drawing.Point(0, 477); | ||||
| 			this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; | ||||
| 			this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; | ||||
| 			this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; | ||||
| 			this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; | ||||
| 			this.bn.Name = "bn"; | ||||
| 			this.bn.PositionItem = this.bindingNavigatorPositionItem; | ||||
| 			this.bn.Size = new System.Drawing.Size(819, 25); | ||||
| 			this.bn.TabIndex = 0; | ||||
| 			this.bn.Text = "bindingNavigator1"; | ||||
| 			//  | ||||
| 			// bindingNavigatorAddNewItem | ||||
| 			//  | ||||
| 			this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
| 			this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image"))); | ||||
| 			this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem"; | ||||
| 			this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true; | ||||
| 			this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22); | ||||
| 			this.bindingNavigatorAddNewItem.Text = "새로 추가"; | ||||
| 			//  | ||||
| 			// bindingNavigatorCountItem | ||||
| 			//  | ||||
| 			this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; | ||||
| 			this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); | ||||
| 			this.bindingNavigatorCountItem.Text = "/{0}"; | ||||
| 			this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; | ||||
| 			//  | ||||
| 			// bindingNavigatorDeleteItem | ||||
| 			//  | ||||
| 			this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
| 			this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image"))); | ||||
| 			this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem"; | ||||
| 			this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true; | ||||
| 			this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22); | ||||
| 			this.bindingNavigatorDeleteItem.Text = "삭제"; | ||||
| 			//  | ||||
| 			// bindingNavigatorMoveFirstItem | ||||
| 			//  | ||||
| 			this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
| 			this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); | ||||
| 			this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; | ||||
| 			this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; | ||||
| 			this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22); | ||||
| 			this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; | ||||
| 			//  | ||||
| 			// bindingNavigatorMovePreviousItem | ||||
| 			//  | ||||
| 			this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
| 			this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); | ||||
| 			this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; | ||||
| 			this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; | ||||
| 			this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22); | ||||
| 			this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; | ||||
| 			//  | ||||
| 			// bindingNavigatorSeparator | ||||
| 			//  | ||||
| 			this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; | ||||
| 			this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); | ||||
| 			//  | ||||
| 			// bindingNavigatorPositionItem | ||||
| 			//  | ||||
| 			this.bindingNavigatorPositionItem.AccessibleName = "위치"; | ||||
| 			this.bindingNavigatorPositionItem.AutoSize = false; | ||||
| 			this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; | ||||
| 			this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); | ||||
| 			this.bindingNavigatorPositionItem.Text = "0"; | ||||
| 			this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; | ||||
| 			//  | ||||
| 			// bindingNavigatorSeparator1 | ||||
| 			//  | ||||
| 			this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; | ||||
| 			this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); | ||||
| 			//  | ||||
| 			// bindingNavigatorMoveNextItem | ||||
| 			//  | ||||
| 			this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
| 			this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); | ||||
| 			this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; | ||||
| 			this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; | ||||
| 			this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22); | ||||
| 			this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; | ||||
| 			//  | ||||
| 			// bindingNavigatorMoveLastItem | ||||
| 			//  | ||||
| 			this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
| 			this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); | ||||
| 			this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; | ||||
| 			this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; | ||||
| 			this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22); | ||||
| 			this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; | ||||
| 			//  | ||||
| 			// bindingNavigatorSeparator2 | ||||
| 			//  | ||||
| 			this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; | ||||
| 			this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); | ||||
| 			//  | ||||
| 			// component_Reel_SIDConvBindingNavigatorSaveItem | ||||
| 			//  | ||||
| 			this.component_Reel_SIDConvBindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
| 			this.component_Reel_SIDConvBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("component_Reel_SIDConvBindingNavigatorSaveItem.Image"))); | ||||
| 			this.component_Reel_SIDConvBindingNavigatorSaveItem.Name = "component_Reel_SIDConvBindingNavigatorSaveItem"; | ||||
| 			this.component_Reel_SIDConvBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 22); | ||||
| 			this.component_Reel_SIDConvBindingNavigatorSaveItem.Text = "데이터 저장"; | ||||
| 			this.component_Reel_SIDConvBindingNavigatorSaveItem.Click += new System.EventHandler(this.component_Reel_SIDConvBindingNavigatorSaveItem_Click); | ||||
| 			//  | ||||
| 			// btImpo | ||||
| 			//  | ||||
| 			this.btImpo.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; | ||||
| 			this.btImpo.Image = ((System.Drawing.Image)(resources.GetObject("btImpo.Image"))); | ||||
| 			this.btImpo.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
| 			this.btImpo.Name = "btImpo"; | ||||
| 			this.btImpo.Size = new System.Drawing.Size(118, 22); | ||||
| 			this.btImpo.Text = "Import(101-103)"; | ||||
| 			this.btImpo.Click += new System.EventHandler(this.btImpo_Click); | ||||
| 			//  | ||||
| 			// toolStripSeparator1 | ||||
| 			//  | ||||
| 			this.toolStripSeparator1.Name = "toolStripSeparator1"; | ||||
| 			this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); | ||||
| 			//  | ||||
| 			// toolStripLabel1 | ||||
| 			//  | ||||
| 			this.toolStripLabel1.Name = "toolStripLabel1"; | ||||
| 			this.toolStripLabel1.Size = new System.Drawing.Size(45, 22); | ||||
| 			this.toolStripLabel1.Text = "검색(&F)"; | ||||
| 			//  | ||||
| 			// tbFind | ||||
| 			//  | ||||
| 			this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
| 			this.tbFind.Name = "tbFind"; | ||||
| 			this.tbFind.Size = new System.Drawing.Size(100, 25); | ||||
| 			this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.toolStripTextBox1_KeyDown); | ||||
| 			//  | ||||
| 			// component_Reel_SIDConvDataGridView | ||||
| 			//  | ||||
| 			this.component_Reel_SIDConvDataGridView.AutoGenerateColumns = false; | ||||
| 			this.component_Reel_SIDConvDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | ||||
| 			this.component_Reel_SIDConvDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | ||||
|             this.idxDataGridViewTextBoxColumn, | ||||
|             this.m101DataGridViewTextBoxColumn, | ||||
|             this.m103DataGridViewTextBoxColumn, | ||||
|             this.m106DataGridViewTextBoxColumn, | ||||
|             this.remarkDataGridViewTextBoxColumn, | ||||
|             this.m108DataGridViewTextBoxColumn}); | ||||
| 			this.component_Reel_SIDConvDataGridView.DataSource = this.bs; | ||||
| 			this.component_Reel_SIDConvDataGridView.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.component_Reel_SIDConvDataGridView.Location = new System.Drawing.Point(0, 0); | ||||
| 			this.component_Reel_SIDConvDataGridView.Name = "component_Reel_SIDConvDataGridView"; | ||||
| 			this.component_Reel_SIDConvDataGridView.RowTemplate.Height = 23; | ||||
| 			this.component_Reel_SIDConvDataGridView.Size = new System.Drawing.Size(819, 463); | ||||
| 			this.component_Reel_SIDConvDataGridView.TabIndex = 1; | ||||
| 			//  | ||||
| 			// progressBar1 | ||||
| 			//  | ||||
| 			this.progressBar1.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
| 			this.progressBar1.Location = new System.Drawing.Point(0, 463); | ||||
| 			this.progressBar1.Name = "progressBar1"; | ||||
| 			this.progressBar1.Size = new System.Drawing.Size(819, 14); | ||||
| 			this.progressBar1.TabIndex = 2; | ||||
| 			//  | ||||
| 			// idxDataGridViewTextBoxColumn | ||||
| 			//  | ||||
| 			this.idxDataGridViewTextBoxColumn.DataPropertyName = "idx"; | ||||
| 			this.idxDataGridViewTextBoxColumn.HeaderText = "idx"; | ||||
| 			this.idxDataGridViewTextBoxColumn.Name = "idxDataGridViewTextBoxColumn"; | ||||
| 			this.idxDataGridViewTextBoxColumn.ReadOnly = true; | ||||
| 			//  | ||||
| 			// m101DataGridViewTextBoxColumn | ||||
| 			//  | ||||
| 			this.m101DataGridViewTextBoxColumn.DataPropertyName = "M101"; | ||||
| 			this.m101DataGridViewTextBoxColumn.HeaderText = "M101"; | ||||
| 			this.m101DataGridViewTextBoxColumn.Name = "m101DataGridViewTextBoxColumn"; | ||||
| 			//  | ||||
| 			// m103DataGridViewTextBoxColumn | ||||
| 			//  | ||||
| 			this.m103DataGridViewTextBoxColumn.DataPropertyName = "M103"; | ||||
| 			this.m103DataGridViewTextBoxColumn.HeaderText = "M103"; | ||||
| 			this.m103DataGridViewTextBoxColumn.Name = "m103DataGridViewTextBoxColumn"; | ||||
| 			//  | ||||
| 			// m106DataGridViewTextBoxColumn | ||||
| 			//  | ||||
| 			this.m106DataGridViewTextBoxColumn.DataPropertyName = "M106"; | ||||
| 			this.m106DataGridViewTextBoxColumn.HeaderText = "M106"; | ||||
| 			this.m106DataGridViewTextBoxColumn.Name = "m106DataGridViewTextBoxColumn"; | ||||
| 			//  | ||||
| 			// remarkDataGridViewTextBoxColumn | ||||
| 			//  | ||||
| 			this.remarkDataGridViewTextBoxColumn.DataPropertyName = "Remark"; | ||||
| 			this.remarkDataGridViewTextBoxColumn.HeaderText = "Remark"; | ||||
| 			this.remarkDataGridViewTextBoxColumn.Name = "remarkDataGridViewTextBoxColumn"; | ||||
| 			//  | ||||
| 			// m108DataGridViewTextBoxColumn | ||||
| 			//  | ||||
| 			this.m108DataGridViewTextBoxColumn.DataPropertyName = "M108"; | ||||
| 			this.m108DataGridViewTextBoxColumn.HeaderText = "M108"; | ||||
| 			this.m108DataGridViewTextBoxColumn.Name = "m108DataGridViewTextBoxColumn"; | ||||
| 			//  | ||||
| 			// fImportSIDConv | ||||
| 			//  | ||||
| 			this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
| 			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
| 			this.ClientSize = new System.Drawing.Size(819, 502); | ||||
| 			this.Controls.Add(this.component_Reel_SIDConvDataGridView); | ||||
| 			this.Controls.Add(this.progressBar1); | ||||
| 			this.Controls.Add(this.bn); | ||||
| 			this.Name = "fImportSIDConv"; | ||||
| 			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
| 			this.Text = "fImportSIDConv"; | ||||
| 			this.Load += new System.EventHandler(this.fImportSIDConv_Load); | ||||
| 			((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit(); | ||||
| 			((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); | ||||
| 			((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); | ||||
| 			this.bn.ResumeLayout(false); | ||||
| 			this.bn.PerformLayout(); | ||||
| 			((System.ComponentModel.ISupportInitialize)(this.component_Reel_SIDConvDataGridView)).EndInit(); | ||||
| 			this.ResumeLayout(false); | ||||
| 			this.PerformLayout(); | ||||
|  | ||||
| 		} | ||||
|  | ||||
| 		#endregion | ||||
|  | ||||
| 		private DataSet1 dataSet1; | ||||
| 		private System.Windows.Forms.BindingSource bs; | ||||
| 		private DataSet1TableAdapters.Component_Reel_SIDConvTableAdapter ta; | ||||
| 		private DataSet1TableAdapters.TableAdapterManager tam; | ||||
| 		private System.Windows.Forms.BindingNavigator bn; | ||||
| 		private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; | ||||
| 		private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; | ||||
| 		private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; | ||||
| 		private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; | ||||
| 		private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; | ||||
| 		private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; | ||||
| 		private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; | ||||
| 		private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; | ||||
| 		private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; | ||||
| 		private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; | ||||
| 		private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; | ||||
| 		private System.Windows.Forms.ToolStripButton component_Reel_SIDConvBindingNavigatorSaveItem; | ||||
| 		private System.Windows.Forms.DataGridView component_Reel_SIDConvDataGridView; | ||||
| 		private System.Windows.Forms.ToolStripButton btImpo; | ||||
| 		private System.Windows.Forms.ProgressBar progressBar1; | ||||
| 		private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; | ||||
| 		private System.Windows.Forms.ToolStripLabel toolStripLabel1; | ||||
| 		private System.Windows.Forms.ToolStripTextBox tbFind; | ||||
| 		private System.Windows.Forms.DataGridViewTextBoxColumn idxDataGridViewTextBoxColumn; | ||||
| 		private System.Windows.Forms.DataGridViewTextBoxColumn m101DataGridViewTextBoxColumn; | ||||
| 		private System.Windows.Forms.DataGridViewTextBoxColumn m103DataGridViewTextBoxColumn; | ||||
| 		private System.Windows.Forms.DataGridViewTextBoxColumn m106DataGridViewTextBoxColumn; | ||||
| 		private System.Windows.Forms.DataGridViewTextBoxColumn remarkDataGridViewTextBoxColumn; | ||||
| 		private System.Windows.Forms.DataGridViewTextBoxColumn m108DataGridViewTextBoxColumn; | ||||
| 	} | ||||
| } | ||||
							
								
								
									
										152
									
								
								Handler/Project_form2/Dialog/fImportSIDConv.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										152
									
								
								Handler/Project_form2/Dialog/fImportSIDConv.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,152 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
| 	public partial class fImportSIDConv : Form | ||||
| 	{ | ||||
| 		public fImportSIDConv() | ||||
| 		{ | ||||
| 			InitializeComponent(); | ||||
| 		} | ||||
|  | ||||
| 		private void component_Reel_SIDConvBindingNavigatorSaveItem_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			this.Validate(); | ||||
| 			this.bs.EndEdit(); | ||||
| 			this.tam.UpdateAll(this.dataSet1); | ||||
|  | ||||
| 		} | ||||
|  | ||||
| 		private void fImportSIDConv_Load(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			// TODO: 이 코드는 데이터를 'dataSet1.Component_Reel_SIDConv' 테이블에 로드합니다. 필요 시 이 코드를 이동하거나 제거할 수 있습니다. | ||||
| 			this.ta.Fill(this.dataSet1.Component_Reel_SIDConv); | ||||
| 		} | ||||
|  | ||||
| 		private void btImpo_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			//엑셀을 읽어와서 처리한다. | ||||
| 			var od = new OpenFileDialog(); | ||||
| 			od.RestoreDirectory = true; | ||||
| 			od.Filter = "모든파일(*.*)|*.*"; | ||||
| 			if (od.ShowDialog() != DialogResult.OK) return; | ||||
| 			libxl.Book book; | ||||
| 			var fi = new System.IO.FileInfo(od.FileName); | ||||
| 			var ext = fi.Extension.ToLower(); | ||||
| 			if (ext == ".xlsx") book = new libxl.XmlBook(); | ||||
| 			else if (ext == ".xls") book = new libxl.BinBook(); | ||||
| 			else | ||||
| 			{ | ||||
| 				Util.MsgE("지원되지 않는 파일 입니다"); | ||||
| 				return; | ||||
| 			} | ||||
|  | ||||
| 			var keyinfo = Properties.Settings.Default.libxl.Split('/'); | ||||
| 			book.setKey(keyinfo[0], keyinfo[1]); | ||||
| 			book.load(fi.FullName); | ||||
| 			var sheet = book.getSheet(0); | ||||
|  | ||||
|  | ||||
| 			var cs = sheet.firstCol(); | ||||
| 			var ce = sheet.lastCol(); | ||||
| 			var rs = sheet.firstRow(); | ||||
| 			var re = sheet.lastRow(); | ||||
|  | ||||
| 			this.progressBar1.Minimum = 0; | ||||
| 			this.progressBar1.Maximum = re; | ||||
| 			this.progressBar1.Value = 0; | ||||
|  | ||||
| 			int cntA = 0; | ||||
| 			int cntU = 0; | ||||
| 			for (int row = rs; row <= re; row++) | ||||
| 			{ | ||||
| 				if (this.progressBar1.Value < this.progressBar1.Maximum) | ||||
| 					this.progressBar1.Value += 1; | ||||
| 				var c1 = sheet.readStr(row, 0); | ||||
| 				var c2 = sheet.readStr(row, 1); | ||||
| 				if (c1.StartsWith("10") || c2.StartsWith("10")) | ||||
| 				{ | ||||
| 					var M101 = string.Empty; | ||||
| 					var M103 = string.Empty; | ||||
| 					var M106 = string.Empty; | ||||
|  | ||||
| 					if (c1.StartsWith("101")) M101 = c1.Trim(); | ||||
| 					if (c1.StartsWith("103")) M103 = c1.Trim(); | ||||
| 					if (c1.StartsWith("106")) M106 = c1.Trim(); | ||||
|  | ||||
| 					if (c2.StartsWith("101")) M101 = c2.Trim(); | ||||
| 					if (c2.StartsWith("103")) M103 = c2.Trim(); | ||||
| 					if (c2.StartsWith("106")) M106 = c2.Trim(); | ||||
|  | ||||
| 					if (M101.isEmpty() == false) | ||||
| 					{ | ||||
| 						var plist = this.dataSet1.Component_Reel_SIDConv.Where(t => t.M101 == M101); | ||||
| 						if (plist.Any() == false) | ||||
| 						{ | ||||
| 							var newdr = this.dataSet1.Component_Reel_SIDConv.NewComponent_Reel_SIDConvRow(); | ||||
| 							newdr.M101 = M101; | ||||
| 							newdr.M103 = M103; | ||||
| 							newdr.M106 = M106; | ||||
| 							this.dataSet1.Component_Reel_SIDConv.AddComponent_Reel_SIDConvRow(newdr); | ||||
| 							cntA += 1; | ||||
| 						} | ||||
| 						else | ||||
| 						{ | ||||
| 							foreach (var item in plist) | ||||
| 							{ | ||||
| 								if (M103.isEmpty() == false) item.M103 = M103; | ||||
| 								if (M106.isEmpty() == false) item.M106 = M106; | ||||
| 								item.EndEdit(); | ||||
| 								cntU += 1; | ||||
| 							} | ||||
| 						} | ||||
| 					} | ||||
| 				} | ||||
| 				else if (c1.isEmpty() && c2.isEmpty()) break; // | ||||
| 			} | ||||
| 			Util.MsgI(string.Format("추가:{0},변경:{1}", cntA, cntU)); | ||||
|  | ||||
| 		} | ||||
|  | ||||
| 		private void toolStripTextBox1_KeyDown(object sender, KeyEventArgs e) | ||||
| 		{ | ||||
| 			if (e.KeyCode == Keys.Enter) | ||||
| 			{ | ||||
| 				var search = this.tbFind.Text.Trim(); | ||||
| 				if (search.isEmpty()) | ||||
| 				{ | ||||
| 					this.bs.Filter = ""; | ||||
| 					this.tbFind.BackColor = SystemColors.Window; | ||||
| 				} | ||||
| 				else | ||||
| 				{ | ||||
| 					var list = new string[] { "M101", "M103", "M106" }; | ||||
| 					var filter = string.Join(" like '%{0}%' or ", list); | ||||
| 					filter += " like '%{0}%'"; | ||||
| 					filter = string.Format(filter, search.Replace("'", "''")); | ||||
| 					try | ||||
| 					{ | ||||
| 						this.bs.Filter = filter; | ||||
| 						this.tbFind.BackColor = Color.Lime; | ||||
| 						this.tbFind.SelectAll(); | ||||
| 						this.tbFind.Focus(); | ||||
| 					} | ||||
| 					catch (Exception ex) | ||||
| 					{ | ||||
| 						this.tbFind.BackColor = Color.Tomato; | ||||
| 						Pub.log.AddE("sid 변환 테이블 필터 오류 : " + ex.Message); | ||||
| 					} | ||||
| 				} | ||||
| 			} | ||||
| 		} | ||||
|  | ||||
| 	} | ||||
| } | ||||
							
								
								
									
										222
									
								
								Handler/Project_form2/Dialog/fImportSIDConv.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										222
									
								
								Handler/Project_form2/Dialog/fImportSIDConv.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,222 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <metadata name="dataSet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>117, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>181, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>243, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>316, 17</value> | ||||
|   </metadata> | ||||
|   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||||
|   <data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC | ||||
|         pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ | ||||
|         Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ | ||||
|         /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA | ||||
|         zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/ | ||||
|         IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E | ||||
|         rkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC | ||||
|         DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC | ||||
|         rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV | ||||
|         i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG | ||||
|         86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG | ||||
|         QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX | ||||
|         bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 | ||||
|         wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 | ||||
|         v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg | ||||
|         UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA | ||||
|         Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu | ||||
|         lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w | ||||
|         5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f | ||||
|         Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ | ||||
|         08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 | ||||
|         n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI | ||||
|         N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f | ||||
|         oAc0QjgAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// | ||||
|         h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B | ||||
|         twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA | ||||
|         kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG | ||||
|         WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 | ||||
|         8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="component_Reel_SIDConvBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo | ||||
|         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="btImpo.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG | ||||
|         YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 | ||||
|         0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw | ||||
|         bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc | ||||
|         VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 | ||||
|         c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 | ||||
|         Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo | ||||
|         mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ | ||||
|         kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D | ||||
|         TgDQASA1MVpwzwAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
| </root> | ||||
							
								
								
									
										378
									
								
								Handler/Project_form2/Dialog/fImportSIDInfo.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										378
									
								
								Handler/Project_form2/Dialog/fImportSIDInfo.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,378 @@ | ||||
| namespace Project.Dialog | ||||
| { | ||||
| 	partial class fImportSIDInfo | ||||
| 	{ | ||||
| 		/// <summary> | ||||
| 		/// Required designer variable. | ||||
| 		/// </summary> | ||||
| 		private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
| 		/// <summary> | ||||
| 		/// Clean up any resources being used. | ||||
| 		/// </summary> | ||||
| 		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
| 		protected override void Dispose(bool disposing) | ||||
| 		{ | ||||
| 			if (disposing && (components != null)) | ||||
| 			{ | ||||
| 				components.Dispose(); | ||||
| 			} | ||||
| 			base.Dispose(disposing); | ||||
| 		} | ||||
|  | ||||
| 		#region Windows Form Designer generated code | ||||
|  | ||||
| 		/// <summary> | ||||
| 		/// Required method for Designer support - do not modify | ||||
| 		/// the contents of this method with the code editor. | ||||
| 		/// </summary> | ||||
| 		private void InitializeComponent() | ||||
| 		{ | ||||
| 			this.components = new System.ComponentModel.Container(); | ||||
| 			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fImportSIDInfo)); | ||||
| 			this.dataSet1 = new Project.DataSet1(); | ||||
| 			this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
| 			this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||
| 			this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); | ||||
| 			this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); | ||||
| 			this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton(); | ||||
| 			this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); | ||||
| 			this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); | ||||
| 			this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); | ||||
| 			this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); | ||||
| 			this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); | ||||
| 			this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); | ||||
| 			this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); | ||||
| 			this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); | ||||
| 			this.component_Reel_SIDConvBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); | ||||
| 			this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); | ||||
| 			this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); | ||||
| 			this.tbFind = new System.Windows.Forms.ToolStripTextBox(); | ||||
| 			this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); | ||||
| 			this.component_Reel_SIDConvDataGridView = new System.Windows.Forms.DataGridView(); | ||||
| 			this.sIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
| 			this.custCodeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
| 			this.custNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
| 			this.venderNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
| 			this.partNoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
| 			this.printPositionDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
| 			this.remarkDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
| 			this.progressBar1 = new System.Windows.Forms.ProgressBar(); | ||||
| 			this.ta = new Project.DataSet1TableAdapters.Component_Reel_SIDInfoTableAdapter(); | ||||
| 			this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); | ||||
| 			((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit(); | ||||
| 			((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
| 			((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||
| 			this.bn.SuspendLayout(); | ||||
| 			((System.ComponentModel.ISupportInitialize)(this.component_Reel_SIDConvDataGridView)).BeginInit(); | ||||
| 			this.SuspendLayout(); | ||||
| 			//  | ||||
| 			// dataSet1 | ||||
| 			//  | ||||
| 			this.dataSet1.DataSetName = "DataSet1"; | ||||
| 			this.dataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; | ||||
| 			//  | ||||
| 			// bs | ||||
| 			//  | ||||
| 			this.bs.DataMember = "Component_Reel_SIDInfo"; | ||||
| 			this.bs.DataSource = this.dataSet1; | ||||
| 			//  | ||||
| 			// bn | ||||
| 			//  | ||||
| 			this.bn.AddNewItem = this.bindingNavigatorAddNewItem; | ||||
| 			this.bn.BindingSource = this.bs; | ||||
| 			this.bn.CountItem = this.bindingNavigatorCountItem; | ||||
| 			this.bn.DeleteItem = this.bindingNavigatorDeleteItem; | ||||
| 			this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
| 			this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.bindingNavigatorMoveFirstItem, | ||||
|             this.bindingNavigatorMovePreviousItem, | ||||
|             this.bindingNavigatorSeparator, | ||||
|             this.bindingNavigatorPositionItem, | ||||
|             this.bindingNavigatorCountItem, | ||||
|             this.bindingNavigatorSeparator1, | ||||
|             this.bindingNavigatorMoveNextItem, | ||||
|             this.bindingNavigatorMoveLastItem, | ||||
|             this.bindingNavigatorSeparator2, | ||||
|             this.bindingNavigatorAddNewItem, | ||||
|             this.bindingNavigatorDeleteItem, | ||||
|             this.component_Reel_SIDConvBindingNavigatorSaveItem, | ||||
|             this.toolStripSeparator1, | ||||
|             this.toolStripLabel1, | ||||
|             this.tbFind, | ||||
|             this.toolStripButton1, | ||||
|             this.toolStripButton2}); | ||||
| 			this.bn.Location = new System.Drawing.Point(0, 477); | ||||
| 			this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; | ||||
| 			this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; | ||||
| 			this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; | ||||
| 			this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; | ||||
| 			this.bn.Name = "bn"; | ||||
| 			this.bn.PositionItem = this.bindingNavigatorPositionItem; | ||||
| 			this.bn.Size = new System.Drawing.Size(819, 25); | ||||
| 			this.bn.TabIndex = 0; | ||||
| 			this.bn.Text = "bindingNavigator1"; | ||||
| 			//  | ||||
| 			// bindingNavigatorAddNewItem | ||||
| 			//  | ||||
| 			this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
| 			this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image"))); | ||||
| 			this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem"; | ||||
| 			this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true; | ||||
| 			this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22); | ||||
| 			this.bindingNavigatorAddNewItem.Text = "새로 추가"; | ||||
| 			//  | ||||
| 			// bindingNavigatorCountItem | ||||
| 			//  | ||||
| 			this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; | ||||
| 			this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); | ||||
| 			this.bindingNavigatorCountItem.Text = "/{0}"; | ||||
| 			this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; | ||||
| 			//  | ||||
| 			// bindingNavigatorDeleteItem | ||||
| 			//  | ||||
| 			this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
| 			this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image"))); | ||||
| 			this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem"; | ||||
| 			this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true; | ||||
| 			this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22); | ||||
| 			this.bindingNavigatorDeleteItem.Text = "삭제"; | ||||
| 			//  | ||||
| 			// bindingNavigatorMoveFirstItem | ||||
| 			//  | ||||
| 			this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
| 			this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); | ||||
| 			this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; | ||||
| 			this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; | ||||
| 			this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22); | ||||
| 			this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; | ||||
| 			//  | ||||
| 			// bindingNavigatorMovePreviousItem | ||||
| 			//  | ||||
| 			this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
| 			this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); | ||||
| 			this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; | ||||
| 			this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; | ||||
| 			this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22); | ||||
| 			this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; | ||||
| 			//  | ||||
| 			// bindingNavigatorSeparator | ||||
| 			//  | ||||
| 			this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; | ||||
| 			this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); | ||||
| 			//  | ||||
| 			// bindingNavigatorPositionItem | ||||
| 			//  | ||||
| 			this.bindingNavigatorPositionItem.AccessibleName = "위치"; | ||||
| 			this.bindingNavigatorPositionItem.AutoSize = false; | ||||
| 			this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; | ||||
| 			this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); | ||||
| 			this.bindingNavigatorPositionItem.Text = "0"; | ||||
| 			this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; | ||||
| 			//  | ||||
| 			// bindingNavigatorSeparator1 | ||||
| 			//  | ||||
| 			this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; | ||||
| 			this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); | ||||
| 			//  | ||||
| 			// bindingNavigatorMoveNextItem | ||||
| 			//  | ||||
| 			this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
| 			this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); | ||||
| 			this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; | ||||
| 			this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; | ||||
| 			this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22); | ||||
| 			this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; | ||||
| 			//  | ||||
| 			// bindingNavigatorMoveLastItem | ||||
| 			//  | ||||
| 			this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
| 			this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); | ||||
| 			this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; | ||||
| 			this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; | ||||
| 			this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22); | ||||
| 			this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; | ||||
| 			//  | ||||
| 			// bindingNavigatorSeparator2 | ||||
| 			//  | ||||
| 			this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; | ||||
| 			this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); | ||||
| 			//  | ||||
| 			// component_Reel_SIDConvBindingNavigatorSaveItem | ||||
| 			//  | ||||
| 			this.component_Reel_SIDConvBindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
| 			this.component_Reel_SIDConvBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("component_Reel_SIDConvBindingNavigatorSaveItem.Image"))); | ||||
| 			this.component_Reel_SIDConvBindingNavigatorSaveItem.Name = "component_Reel_SIDConvBindingNavigatorSaveItem"; | ||||
| 			this.component_Reel_SIDConvBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 22); | ||||
| 			this.component_Reel_SIDConvBindingNavigatorSaveItem.Text = "데이터 저장"; | ||||
| 			this.component_Reel_SIDConvBindingNavigatorSaveItem.Click += new System.EventHandler(this.component_Reel_SIDConvBindingNavigatorSaveItem_Click); | ||||
| 			//  | ||||
| 			// toolStripSeparator1 | ||||
| 			//  | ||||
| 			this.toolStripSeparator1.Name = "toolStripSeparator1"; | ||||
| 			this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); | ||||
| 			//  | ||||
| 			// toolStripLabel1 | ||||
| 			//  | ||||
| 			this.toolStripLabel1.Name = "toolStripLabel1"; | ||||
| 			this.toolStripLabel1.Size = new System.Drawing.Size(45, 22); | ||||
| 			this.toolStripLabel1.Text = "검색(&F)"; | ||||
| 			//  | ||||
| 			// tbFind | ||||
| 			//  | ||||
| 			this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
| 			this.tbFind.Name = "tbFind"; | ||||
| 			this.tbFind.Size = new System.Drawing.Size(100, 25); | ||||
| 			this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.toolStripTextBox1_KeyDown); | ||||
| 			//  | ||||
| 			// toolStripButton1 | ||||
| 			//  | ||||
| 			this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; | ||||
| 			this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); | ||||
| 			this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
| 			this.toolStripButton1.Name = "toolStripButton1"; | ||||
| 			this.toolStripButton1.Size = new System.Drawing.Size(63, 22); | ||||
| 			this.toolStripButton1.Text = "Import"; | ||||
| 			this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); | ||||
| 			//  | ||||
| 			// component_Reel_SIDConvDataGridView | ||||
| 			//  | ||||
| 			this.component_Reel_SIDConvDataGridView.AutoGenerateColumns = false; | ||||
| 			this.component_Reel_SIDConvDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | ||||
| 			this.component_Reel_SIDConvDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | ||||
|             this.sIDDataGridViewTextBoxColumn, | ||||
|             this.custCodeDataGridViewTextBoxColumn, | ||||
|             this.custNameDataGridViewTextBoxColumn, | ||||
|             this.venderNameDataGridViewTextBoxColumn, | ||||
|             this.partNoDataGridViewTextBoxColumn, | ||||
|             this.printPositionDataGridViewTextBoxColumn, | ||||
|             this.remarkDataGridViewTextBoxColumn}); | ||||
| 			this.component_Reel_SIDConvDataGridView.DataSource = this.bs; | ||||
| 			this.component_Reel_SIDConvDataGridView.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.component_Reel_SIDConvDataGridView.Location = new System.Drawing.Point(0, 0); | ||||
| 			this.component_Reel_SIDConvDataGridView.Name = "component_Reel_SIDConvDataGridView"; | ||||
| 			this.component_Reel_SIDConvDataGridView.RowTemplate.Height = 23; | ||||
| 			this.component_Reel_SIDConvDataGridView.Size = new System.Drawing.Size(819, 463); | ||||
| 			this.component_Reel_SIDConvDataGridView.TabIndex = 1; | ||||
| 			//  | ||||
| 			// sIDDataGridViewTextBoxColumn | ||||
| 			//  | ||||
| 			this.sIDDataGridViewTextBoxColumn.DataPropertyName = "SID"; | ||||
| 			this.sIDDataGridViewTextBoxColumn.HeaderText = "SID"; | ||||
| 			this.sIDDataGridViewTextBoxColumn.Name = "sIDDataGridViewTextBoxColumn"; | ||||
| 			//  | ||||
| 			// custCodeDataGridViewTextBoxColumn | ||||
| 			//  | ||||
| 			this.custCodeDataGridViewTextBoxColumn.DataPropertyName = "CustCode"; | ||||
| 			this.custCodeDataGridViewTextBoxColumn.HeaderText = "CustCode"; | ||||
| 			this.custCodeDataGridViewTextBoxColumn.Name = "custCodeDataGridViewTextBoxColumn"; | ||||
| 			//  | ||||
| 			// custNameDataGridViewTextBoxColumn | ||||
| 			//  | ||||
| 			this.custNameDataGridViewTextBoxColumn.DataPropertyName = "CustName"; | ||||
| 			this.custNameDataGridViewTextBoxColumn.HeaderText = "CustName"; | ||||
| 			this.custNameDataGridViewTextBoxColumn.Name = "custNameDataGridViewTextBoxColumn"; | ||||
| 			//  | ||||
| 			// venderNameDataGridViewTextBoxColumn | ||||
| 			//  | ||||
| 			this.venderNameDataGridViewTextBoxColumn.DataPropertyName = "VenderName"; | ||||
| 			this.venderNameDataGridViewTextBoxColumn.HeaderText = "VenderName"; | ||||
| 			this.venderNameDataGridViewTextBoxColumn.Name = "venderNameDataGridViewTextBoxColumn"; | ||||
| 			//  | ||||
| 			// partNoDataGridViewTextBoxColumn | ||||
| 			//  | ||||
| 			this.partNoDataGridViewTextBoxColumn.DataPropertyName = "PartNo"; | ||||
| 			this.partNoDataGridViewTextBoxColumn.HeaderText = "PartNo"; | ||||
| 			this.partNoDataGridViewTextBoxColumn.Name = "partNoDataGridViewTextBoxColumn"; | ||||
| 			//  | ||||
| 			// printPositionDataGridViewTextBoxColumn | ||||
| 			//  | ||||
| 			this.printPositionDataGridViewTextBoxColumn.DataPropertyName = "PrintPosition"; | ||||
| 			this.printPositionDataGridViewTextBoxColumn.HeaderText = "PrintPosition"; | ||||
| 			this.printPositionDataGridViewTextBoxColumn.Name = "printPositionDataGridViewTextBoxColumn"; | ||||
| 			//  | ||||
| 			// remarkDataGridViewTextBoxColumn | ||||
| 			//  | ||||
| 			this.remarkDataGridViewTextBoxColumn.DataPropertyName = "Remark"; | ||||
| 			this.remarkDataGridViewTextBoxColumn.HeaderText = "Remark"; | ||||
| 			this.remarkDataGridViewTextBoxColumn.Name = "remarkDataGridViewTextBoxColumn"; | ||||
| 			//  | ||||
| 			// progressBar1 | ||||
| 			//  | ||||
| 			this.progressBar1.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
| 			this.progressBar1.Location = new System.Drawing.Point(0, 463); | ||||
| 			this.progressBar1.Name = "progressBar1"; | ||||
| 			this.progressBar1.Size = new System.Drawing.Size(819, 14); | ||||
| 			this.progressBar1.TabIndex = 2; | ||||
| 			//  | ||||
| 			// ta | ||||
| 			//  | ||||
| 			this.ta.ClearBeforeFill = true; | ||||
| 			//  | ||||
| 			// toolStripButton2 | ||||
| 			//  | ||||
| 			this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; | ||||
| 			this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); | ||||
| 			this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
| 			this.toolStripButton2.Name = "toolStripButton2"; | ||||
| 			this.toolStripButton2.Size = new System.Drawing.Size(108, 22); | ||||
| 			this.toolStripButton2.Text = "Import(PartNo)"; | ||||
| 			this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click); | ||||
| 			//  | ||||
| 			// fImportSIDInfo | ||||
| 			//  | ||||
| 			this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
| 			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
| 			this.ClientSize = new System.Drawing.Size(819, 502); | ||||
| 			this.Controls.Add(this.component_Reel_SIDConvDataGridView); | ||||
| 			this.Controls.Add(this.progressBar1); | ||||
| 			this.Controls.Add(this.bn); | ||||
| 			this.Name = "fImportSIDInfo"; | ||||
| 			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
| 			this.Text = "fImportSIDConv"; | ||||
| 			this.Load += new System.EventHandler(this.fImportSIDConv_Load); | ||||
| 			((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit(); | ||||
| 			((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); | ||||
| 			((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); | ||||
| 			this.bn.ResumeLayout(false); | ||||
| 			this.bn.PerformLayout(); | ||||
| 			((System.ComponentModel.ISupportInitialize)(this.component_Reel_SIDConvDataGridView)).EndInit(); | ||||
| 			this.ResumeLayout(false); | ||||
| 			this.PerformLayout(); | ||||
|  | ||||
| 		} | ||||
|  | ||||
| 		#endregion | ||||
|  | ||||
| 		private DataSet1 dataSet1; | ||||
| 		private System.Windows.Forms.BindingSource bs; | ||||
| 		private System.Windows.Forms.BindingNavigator bn; | ||||
| 		private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; | ||||
| 		private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; | ||||
| 		private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; | ||||
| 		private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; | ||||
| 		private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; | ||||
| 		private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; | ||||
| 		private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; | ||||
| 		private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; | ||||
| 		private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; | ||||
| 		private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; | ||||
| 		private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; | ||||
| 		private System.Windows.Forms.ToolStripButton component_Reel_SIDConvBindingNavigatorSaveItem; | ||||
| 		private System.Windows.Forms.DataGridView component_Reel_SIDConvDataGridView; | ||||
| 		private System.Windows.Forms.ProgressBar progressBar1; | ||||
| 		private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; | ||||
| 		private System.Windows.Forms.ToolStripLabel toolStripLabel1; | ||||
| 		private System.Windows.Forms.ToolStripTextBox tbFind; | ||||
| 		private System.Windows.Forms.ToolStripButton toolStripButton1; | ||||
| 		private DataSet1TableAdapters.Component_Reel_SIDInfoTableAdapter ta; | ||||
| 		private System.Windows.Forms.DataGridViewTextBoxColumn sIDDataGridViewTextBoxColumn; | ||||
| 		private System.Windows.Forms.DataGridViewTextBoxColumn custCodeDataGridViewTextBoxColumn; | ||||
| 		private System.Windows.Forms.DataGridViewTextBoxColumn custNameDataGridViewTextBoxColumn; | ||||
| 		private System.Windows.Forms.DataGridViewTextBoxColumn venderNameDataGridViewTextBoxColumn; | ||||
| 		private System.Windows.Forms.DataGridViewTextBoxColumn partNoDataGridViewTextBoxColumn; | ||||
| 		private System.Windows.Forms.DataGridViewTextBoxColumn printPositionDataGridViewTextBoxColumn; | ||||
| 		private System.Windows.Forms.DataGridViewTextBoxColumn remarkDataGridViewTextBoxColumn; | ||||
| 		private System.Windows.Forms.ToolStripButton toolStripButton2; | ||||
| 	} | ||||
| } | ||||
							
								
								
									
										234
									
								
								Handler/Project_form2/Dialog/fImportSIDInfo.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										234
									
								
								Handler/Project_form2/Dialog/fImportSIDInfo.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,234 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
| 	public partial class fImportSIDInfo : Form | ||||
| 	{ | ||||
| 		public fImportSIDInfo() | ||||
| 		{ | ||||
| 			InitializeComponent(); | ||||
| 		} | ||||
|  | ||||
| 		private void component_Reel_SIDConvBindingNavigatorSaveItem_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			this.Validate(); | ||||
| 			this.bs.EndEdit(); | ||||
| 			this.ta.Update(this.dataSet1.Component_Reel_SIDInfo); | ||||
|  | ||||
| 		} | ||||
|  | ||||
| 		private void fImportSIDConv_Load(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			// TODO: 이 코드는 데이터를 'dataSet1.Component_Reel_SIDInfo' 테이블에 로드합니다. 필요 시 이 코드를 이동하거나 제거할 수 있습니다. | ||||
| 			this.ta.Fill(this.dataSet1.Component_Reel_SIDInfo); | ||||
| 			// TODO: 이 코드는 데이터를 'dataSet1.Component_Reel_SIDConv' 테이블에 로드합니다. 필요 시 이 코드를 이동하거나 제거할 수 있습니다. | ||||
| 		} | ||||
|  | ||||
| 		private void toolStripTextBox1_KeyDown(object sender, KeyEventArgs e) | ||||
| 		{ | ||||
| 			if (e.KeyCode == Keys.Enter) | ||||
| 			{ | ||||
| 				var search = this.tbFind.Text.Trim(); | ||||
| 				if (search.isEmpty()) | ||||
| 				{ | ||||
| 					this.bs.Filter = ""; | ||||
| 					this.tbFind.BackColor = SystemColors.Window; | ||||
| 				} | ||||
| 				else | ||||
| 				{ | ||||
| 					var list = new string[] { "M101", "M103", "M106", "cust", "partno" }; | ||||
| 					var filter = string.Join(" like '%{0}%' or ", list); | ||||
| 					filter += " like '%{0}%'"; | ||||
| 					filter = string.Format(filter, search.Replace("'", "''")); | ||||
| 					try | ||||
| 					{ | ||||
| 						this.bs.Filter = filter; | ||||
| 						this.tbFind.BackColor = Color.Lime; | ||||
| 						this.tbFind.SelectAll(); | ||||
| 						this.tbFind.Focus(); | ||||
| 					} | ||||
| 					catch (Exception ex) | ||||
| 					{ | ||||
| 						this.tbFind.BackColor = Color.Tomato; | ||||
| 						Pub.log.AddE("sid 변환 테이블 필터 오류 : " + ex.Message); | ||||
| 					} | ||||
| 				} | ||||
| 			} | ||||
| 		} | ||||
|  | ||||
| 		private void toolStripButton1_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			//엑셀을 읽어와서 처리한다. | ||||
| 			var od = new OpenFileDialog(); | ||||
| 			if (od.ShowDialog() != DialogResult.OK) return; | ||||
| 			libxl.Book book; | ||||
| 			var fi = new System.IO.FileInfo(od.FileName); | ||||
| 			var ext = fi.Extension.ToLower(); | ||||
| 			if (ext == ".xlsx") book = new libxl.XmlBook(); | ||||
| 			else if (ext == ".xls") book = new libxl.BinBook(); | ||||
| 			else | ||||
| 			{ | ||||
| 				Util.MsgE("지원되지 않는 파일 입니다"); | ||||
| 				return; | ||||
| 			} | ||||
|  | ||||
| 			var keyinfo = Properties.Settings.Default.libxl.Split('/'); | ||||
| 			book.setKey(keyinfo[0], keyinfo[1]); | ||||
| 			book.load(fi.FullName); | ||||
| 			var sheet = book.getSheet(0); | ||||
|  | ||||
|  | ||||
| 			var cs = sheet.firstCol(); | ||||
| 			var ce = sheet.lastCol(); | ||||
| 			var rs = sheet.firstRow(); | ||||
| 			var re = sheet.lastRow(); | ||||
|  | ||||
| 			this.progressBar1.Minimum = 0; | ||||
| 			this.progressBar1.Maximum = re; | ||||
| 			this.progressBar1.Value = 0; | ||||
|  | ||||
| 			int cntA = 0; | ||||
| 			int cntU = 0; | ||||
| 			for (int row = rs; row <= re; row++) | ||||
| 			{ | ||||
| 				if (this.progressBar1.Value < this.progressBar1.Maximum) | ||||
| 					this.progressBar1.Value += 1; | ||||
| 				var cSID = sheet.readStr(row, 1); | ||||
| 				var cCustCode = sheet.readStr(row, 2); | ||||
| 				var cCustName = sheet.readStr(row, 3); | ||||
|  | ||||
| 				if (cCustCode.isEmpty() == false && cCustCode.Length != 4) | ||||
| 					cCustCode = cCustCode.PadLeft(4, '0'); | ||||
|  | ||||
| 				if (cSID.StartsWith("10")) | ||||
| 				{ | ||||
|  | ||||
|  | ||||
| 					EnumerableRowCollection<DataSet1.Component_Reel_SIDInfoRow> plist = null; | ||||
| 					plist = this.dataSet1.Component_Reel_SIDInfo.Where(t => t.SID == cSID); | ||||
|  | ||||
| 					if (plist == null || plist.Any() == false) | ||||
| 					{ | ||||
| 						//존재하지않으면 추가한다. | ||||
| 						var newdr = this.dataSet1.Component_Reel_SIDInfo.NewComponent_Reel_SIDInfoRow(); | ||||
| 						newdr.CustCode = cCustCode; | ||||
| 						newdr.CustName = cCustName; | ||||
| 						newdr.VenderName = string.Empty; | ||||
| 						newdr.SID = cSID; | ||||
| 						newdr.PartNo = string.Empty; | ||||
| 						newdr.PrintPosition = string.Empty; | ||||
| 						newdr.Remark = string.Empty; | ||||
| 						this.dataSet1.Component_Reel_SIDInfo.AddComponent_Reel_SIDInfoRow(newdr); | ||||
| 						cntA += 1; | ||||
| 					} | ||||
| 					else | ||||
| 					{ | ||||
| 						//있다면 업데이트 해준다. | ||||
| 						foreach (var item in plist) | ||||
| 						{ | ||||
| 							if (cCustCode.isEmpty() == false) | ||||
| 							{ | ||||
| 								item.CustCode = cCustCode; | ||||
| 								item.CustName = cCustName; | ||||
| 							} | ||||
| 							item.EndEdit(); | ||||
| 							cntU += 1; | ||||
| 						} | ||||
| 					} | ||||
| 				} | ||||
| 				else if (cSID.isEmpty() && cCustCode.isEmpty()) break; // | ||||
| 			} | ||||
| 			Util.MsgI(string.Format("추가:{0},변경:{1}", cntA, cntU)); | ||||
| 		} | ||||
|  | ||||
| 		private void toolStripButton2_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			//엑셀을 읽어와서 처리한다. | ||||
| 			var od = new OpenFileDialog(); | ||||
| 			if (od.ShowDialog() != DialogResult.OK) return; | ||||
| 			libxl.Book book; | ||||
| 			var fi = new System.IO.FileInfo(od.FileName); | ||||
| 			var ext = fi.Extension.ToLower(); | ||||
| 			if (ext == ".xlsx") book = new libxl.XmlBook(); | ||||
| 			else if (ext == ".xls") book = new libxl.BinBook(); | ||||
| 			else | ||||
| 			{ | ||||
| 				Util.MsgE("지원되지 않는 파일 입니다"); | ||||
| 				return; | ||||
| 			} | ||||
|  | ||||
| 			var keyinfo = Properties.Settings.Default.libxl.Split('/'); | ||||
| 			book.setKey(keyinfo[0], keyinfo[1]); | ||||
| 			book.load(fi.FullName); | ||||
| 			var sheet = book.getSheet(0); | ||||
|  | ||||
|  | ||||
| 			var cs = sheet.firstCol(); | ||||
| 			var ce = sheet.lastCol(); | ||||
| 			var rs = sheet.firstRow(); | ||||
| 			var re = sheet.lastRow(); | ||||
|  | ||||
| 			this.progressBar1.Minimum = 0; | ||||
| 			this.progressBar1.Maximum = re; | ||||
| 			this.progressBar1.Value = 0; | ||||
|  | ||||
| 			int cntA = 0; | ||||
| 			int cntU = 0; | ||||
| 			for (int row = rs; row <= re; row++) | ||||
| 			{ | ||||
| 				if (this.progressBar1.Value < this.progressBar1.Maximum) | ||||
| 					this.progressBar1.Value += 1; | ||||
|  | ||||
| 				var cSID = sheet.readStr(row, 0).Trim(); | ||||
| 				var cPart = sheet.readStr(row, 1).Trim();  //part | ||||
| 				if (cPart == "N/A") cPart = string.Empty; | ||||
|  | ||||
| 				if (cSID.StartsWith("10") && cPart.isEmpty()==false) | ||||
| 				{ | ||||
|  | ||||
|  | ||||
| 					EnumerableRowCollection<DataSet1.Component_Reel_SIDInfoRow> plist = null; | ||||
| 					plist = this.dataSet1.Component_Reel_SIDInfo.Where(t => t.SID == cSID); | ||||
|  | ||||
| 					if (plist == null || plist.Any() == false) | ||||
| 					{ | ||||
| 						//존재하지않으면 추가한다. | ||||
| 						var newdr = this.dataSet1.Component_Reel_SIDInfo.NewComponent_Reel_SIDInfoRow(); | ||||
| 						newdr.CustCode = string.Empty; | ||||
| 						newdr.CustName = string.Empty; | ||||
| 						newdr.VenderName = string.Empty; | ||||
| 						newdr.SID = cSID; | ||||
| 						newdr.PartNo = cPart; | ||||
| 						newdr.PrintPosition = string.Empty; | ||||
| 						newdr.Remark = string.Empty; | ||||
| 						this.dataSet1.Component_Reel_SIDInfo.AddComponent_Reel_SIDInfoRow(newdr); | ||||
| 						cntA += 1; | ||||
| 					} | ||||
| 					else | ||||
| 					{ | ||||
| 						//있다면 업데이트 해준다. | ||||
| 						foreach (var item in plist) | ||||
| 						{ | ||||
| 							if (cPart.isEmpty() == false) | ||||
| 							{ | ||||
| 								item.PartNo = cPart; | ||||
| 							} | ||||
| 							item.EndEdit(); | ||||
| 							cntU += 1; | ||||
| 						} | ||||
| 					} | ||||
| 				} | ||||
| 				else if (cSID.isEmpty() && cPart.isEmpty()) break; // | ||||
| 			} | ||||
| 			Util.MsgI(string.Format("추가:{0},변경:{1}", cntA, cntU)); | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
							
								
								
									
										234
									
								
								Handler/Project_form2/Dialog/fImportSIDInfo.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										234
									
								
								Handler/Project_form2/Dialog/fImportSIDInfo.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,234 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <metadata name="dataSet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>117, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>316, 17</value> | ||||
|   </metadata> | ||||
|   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||||
|   <data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC | ||||
|         pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ | ||||
|         Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ | ||||
|         /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA | ||||
|         zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/ | ||||
|         IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E | ||||
|         rkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC | ||||
|         DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC | ||||
|         rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV | ||||
|         i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG | ||||
|         86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG | ||||
|         QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX | ||||
|         bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 | ||||
|         wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 | ||||
|         v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg | ||||
|         UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA | ||||
|         Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu | ||||
|         lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w | ||||
|         5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f | ||||
|         Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ | ||||
|         08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 | ||||
|         n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI | ||||
|         N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f | ||||
|         oAc0QjgAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// | ||||
|         h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B | ||||
|         twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA | ||||
|         kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG | ||||
|         WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 | ||||
|         8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="component_Reel_SIDConvBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo | ||||
|         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG | ||||
|         YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 | ||||
|         0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw | ||||
|         bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc | ||||
|         VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 | ||||
|         c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 | ||||
|         Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo | ||||
|         mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ | ||||
|         kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D | ||||
|         TgDQASA1MVpwzwAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG | ||||
|         YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 | ||||
|         0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw | ||||
|         bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc | ||||
|         VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 | ||||
|         c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 | ||||
|         Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo | ||||
|         mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ | ||||
|         kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D | ||||
|         TgDQASA1MVpwzwAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>382, 17</value> | ||||
|   </metadata> | ||||
| </root> | ||||
							
								
								
									
										1186
									
								
								Handler/Project_form2/Dialog/fLoaderInfo.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										1186
									
								
								Handler/Project_form2/Dialog/fLoaderInfo.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1737
									
								
								Handler/Project_form2/Dialog/fLoaderInfo.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1737
									
								
								Handler/Project_form2/Dialog/fLoaderInfo.cs
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										126
									
								
								Handler/Project_form2/Dialog/fLoaderInfo.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										126
									
								
								Handler/Project_form2/Dialog/fLoaderInfo.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,126 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <metadata name="cmbarc.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>155, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="tmAutoConfirm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
| </root> | ||||
							
								
								
									
										412
									
								
								Handler/Project_form2/Dialog/fNewReelID.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										412
									
								
								Handler/Project_form2/Dialog/fNewReelID.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,412 @@ | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     partial class fNewReelID | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// Required designer variable. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Clean up any resources being used. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region Windows Form Designer generated code | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Required method for Designer support - do not modify | ||||
|         /// the contents of this method with the code editor. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
| 			this.linkLabel3 = new System.Windows.Forms.LinkLabel(); | ||||
| 			this.linkLabel2 = new System.Windows.Forms.LinkLabel(); | ||||
| 			this.linkLabel1 = new System.Windows.Forms.LinkLabel(); | ||||
| 			this.tbDiv = new System.Windows.Forms.TextBox(); | ||||
| 			this.btOK = new System.Windows.Forms.Button(); | ||||
| 			this.tbRID = new System.Windows.Forms.TextBox(); | ||||
| 			this.tbCustCode = new System.Windows.Forms.TextBox(); | ||||
| 			this.tbYear = new System.Windows.Forms.TextBox(); | ||||
| 			this.linkLabel4 = new System.Windows.Forms.LinkLabel(); | ||||
| 			this.tbSeq = new System.Windows.Forms.TextBox(); | ||||
| 			this.tb1 = new System.Windows.Forms.TextBox(); | ||||
| 			this.tbtype = new System.Windows.Forms.TextBox(); | ||||
| 			this.linkLabel5 = new System.Windows.Forms.LinkLabel(); | ||||
| 			this.linkLabel6 = new System.Windows.Forms.LinkLabel(); | ||||
| 			this.linkLabel7 = new System.Windows.Forms.LinkLabel(); | ||||
| 			this.tbLoca = new System.Windows.Forms.TextBox(); | ||||
| 			this.linkLabel8 = new System.Windows.Forms.LinkLabel(); | ||||
| 			this.tbMon = new System.Windows.Forms.TextBox(); | ||||
| 			this.button8 = new System.Windows.Forms.Button(); | ||||
| 			this.lbLen = new System.Windows.Forms.Label(); | ||||
| 			this.button1 = new System.Windows.Forms.Button(); | ||||
| 			this.radNormal = new System.Windows.Forms.RadioButton(); | ||||
| 			this.radReturn = new System.Windows.Forms.RadioButton(); | ||||
| 			this.radDup = new System.Windows.Forms.RadioButton(); | ||||
| 			this.SuspendLayout(); | ||||
| 			//  | ||||
| 			// linkLabel3 | ||||
| 			//  | ||||
| 			this.linkLabel3.AutoSize = true; | ||||
| 			this.linkLabel3.Location = new System.Drawing.Point(58, 196); | ||||
| 			this.linkLabel3.Margin = new System.Windows.Forms.Padding(8, 0, 8, 0); | ||||
| 			this.linkLabel3.Name = "linkLabel3"; | ||||
| 			this.linkLabel3.Size = new System.Drawing.Size(95, 32); | ||||
| 			this.linkLabel3.TabIndex = 8; | ||||
| 			this.linkLabel3.TabStop = true; | ||||
| 			this.linkLabel3.Text = "분류(1)"; | ||||
| 			this.linkLabel3.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel3_LinkClicked); | ||||
| 			//  | ||||
| 			// linkLabel2 | ||||
| 			//  | ||||
| 			this.linkLabel2.AutoSize = true; | ||||
| 			this.linkLabel2.Location = new System.Drawing.Point(10, 104); | ||||
| 			this.linkLabel2.Margin = new System.Windows.Forms.Padding(8, 0, 8, 0); | ||||
| 			this.linkLabel2.Name = "linkLabel2"; | ||||
| 			this.linkLabel2.Size = new System.Drawing.Size(143, 32); | ||||
| 			this.linkLabel2.TabIndex = 4; | ||||
| 			this.linkLabel2.TabStop = true; | ||||
| 			this.linkLabel2.Text = "고객번호(4)"; | ||||
| 			this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked); | ||||
| 			//  | ||||
| 			// linkLabel1 | ||||
| 			//  | ||||
| 			this.linkLabel1.AutoSize = true; | ||||
| 			this.linkLabel1.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Bold); | ||||
| 			this.linkLabel1.Location = new System.Drawing.Point(58, 242); | ||||
| 			this.linkLabel1.Margin = new System.Windows.Forms.Padding(8, 0, 8, 0); | ||||
| 			this.linkLabel1.Name = "linkLabel1"; | ||||
| 			this.linkLabel1.Size = new System.Drawing.Size(95, 32); | ||||
| 			this.linkLabel1.TabIndex = 10; | ||||
| 			this.linkLabel1.TabStop = true; | ||||
| 			this.linkLabel1.Text = "년도(2)"; | ||||
| 			this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); | ||||
| 			//  | ||||
| 			// tbDiv | ||||
| 			//  | ||||
| 			this.tbDiv.Location = new System.Drawing.Point(160, 193); | ||||
| 			this.tbDiv.Margin = new System.Windows.Forms.Padding(8, 13, 8, 13); | ||||
| 			this.tbDiv.Name = "tbDiv"; | ||||
| 			this.tbDiv.Size = new System.Drawing.Size(404, 39); | ||||
| 			this.tbDiv.TabIndex = 9; | ||||
| 			this.tbDiv.Text = "A/M/L"; | ||||
| 			this.tbDiv.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
| 			this.tbDiv.TextChanged += new System.EventHandler(this.tbCustCode_TextChanged); | ||||
| 			//  | ||||
| 			// btOK | ||||
| 			//  | ||||
| 			this.btOK.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
| 			this.btOK.Location = new System.Drawing.Point(0, 458); | ||||
| 			this.btOK.Margin = new System.Windows.Forms.Padding(8, 13, 8, 13); | ||||
| 			this.btOK.Name = "btOK"; | ||||
| 			this.btOK.Size = new System.Drawing.Size(573, 50); | ||||
| 			this.btOK.TabIndex = 18; | ||||
| 			this.btOK.Text = "확인"; | ||||
| 			this.btOK.UseVisualStyleBackColor = true; | ||||
| 			this.btOK.Click += new System.EventHandler(this.btOK_Click); | ||||
| 			//  | ||||
| 			// tbRID | ||||
| 			//  | ||||
| 			this.tbRID.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); | ||||
| 			this.tbRID.Font = new System.Drawing.Font("맑은 고딕", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
| 			this.tbRID.Location = new System.Drawing.Point(107, 417); | ||||
| 			this.tbRID.Margin = new System.Windows.Forms.Padding(8, 13, 8, 13); | ||||
| 			this.tbRID.Name = "tbRID"; | ||||
| 			this.tbRID.ReadOnly = true; | ||||
| 			this.tbRID.Size = new System.Drawing.Size(364, 32); | ||||
| 			this.tbRID.TabIndex = 17; | ||||
| 			this.tbRID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
| 			//  | ||||
| 			// tbCustCode | ||||
| 			//  | ||||
| 			this.tbCustCode.BackColor = System.Drawing.SystemColors.Window; | ||||
| 			this.tbCustCode.Location = new System.Drawing.Point(160, 101); | ||||
| 			this.tbCustCode.Margin = new System.Windows.Forms.Padding(8, 13, 8, 13); | ||||
| 			this.tbCustCode.Name = "tbCustCode"; | ||||
| 			this.tbCustCode.Size = new System.Drawing.Size(404, 39); | ||||
| 			this.tbCustCode.TabIndex = 5; | ||||
| 			this.tbCustCode.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
| 			this.tbCustCode.TextChanged += new System.EventHandler(this.tbCustCode_TextChanged); | ||||
| 			//  | ||||
| 			// tbYear | ||||
| 			//  | ||||
| 			this.tbYear.BackColor = System.Drawing.SystemColors.Window; | ||||
| 			this.tbYear.Location = new System.Drawing.Point(160, 239); | ||||
| 			this.tbYear.Margin = new System.Windows.Forms.Padding(8, 13, 8, 13); | ||||
| 			this.tbYear.Name = "tbYear"; | ||||
| 			this.tbYear.Size = new System.Drawing.Size(404, 39); | ||||
| 			this.tbYear.TabIndex = 11; | ||||
| 			this.tbYear.Text = "21"; | ||||
| 			this.tbYear.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
| 			this.tbYear.TextChanged += new System.EventHandler(this.tbCustCode_TextChanged); | ||||
| 			//  | ||||
| 			// linkLabel4 | ||||
| 			//  | ||||
| 			this.linkLabel4.AutoSize = true; | ||||
| 			this.linkLabel4.Location = new System.Drawing.Point(10, 334); | ||||
| 			this.linkLabel4.Margin = new System.Windows.Forms.Padding(8, 0, 8, 0); | ||||
| 			this.linkLabel4.Name = "linkLabel4"; | ||||
| 			this.linkLabel4.Size = new System.Drawing.Size(143, 32); | ||||
| 			this.linkLabel4.TabIndex = 14; | ||||
| 			this.linkLabel4.TabStop = true; | ||||
| 			this.linkLabel4.Text = "일련번호(4)"; | ||||
| 			this.linkLabel4.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel4_LinkClicked); | ||||
| 			//  | ||||
| 			// tbSeq | ||||
| 			//  | ||||
| 			this.tbSeq.Location = new System.Drawing.Point(160, 331); | ||||
| 			this.tbSeq.Margin = new System.Windows.Forms.Padding(8, 13, 8, 13); | ||||
| 			this.tbSeq.Name = "tbSeq"; | ||||
| 			this.tbSeq.Size = new System.Drawing.Size(289, 39); | ||||
| 			this.tbSeq.TabIndex = 15; | ||||
| 			this.tbSeq.Text = "R000,0001"; | ||||
| 			this.tbSeq.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
| 			this.tbSeq.TextChanged += new System.EventHandler(this.tbCustCode_TextChanged); | ||||
| 			//  | ||||
| 			// tb1 | ||||
| 			//  | ||||
| 			this.tb1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); | ||||
| 			this.tb1.Location = new System.Drawing.Point(160, 9); | ||||
| 			this.tb1.Margin = new System.Windows.Forms.Padding(8, 13, 8, 13); | ||||
| 			this.tb1.Name = "tb1"; | ||||
| 			this.tb1.Size = new System.Drawing.Size(404, 39); | ||||
| 			this.tb1.TabIndex = 1; | ||||
| 			this.tb1.Text = "R"; | ||||
| 			this.tb1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
| 			this.tb1.TextChanged += new System.EventHandler(this.tbCustCode_TextChanged); | ||||
| 			//  | ||||
| 			// tbtype | ||||
| 			//  | ||||
| 			this.tbtype.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); | ||||
| 			this.tbtype.Location = new System.Drawing.Point(160, 55); | ||||
| 			this.tbtype.Margin = new System.Windows.Forms.Padding(8, 13, 8, 13); | ||||
| 			this.tbtype.Name = "tbtype"; | ||||
| 			this.tbtype.Size = new System.Drawing.Size(404, 39); | ||||
| 			this.tbtype.TabIndex = 3; | ||||
| 			this.tbtype.Text = "I/C"; | ||||
| 			this.tbtype.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
| 			this.tbtype.TextChanged += new System.EventHandler(this.tbCustCode_TextChanged); | ||||
| 			//  | ||||
| 			// linkLabel5 | ||||
| 			//  | ||||
| 			this.linkLabel5.AutoSize = true; | ||||
| 			this.linkLabel5.Location = new System.Drawing.Point(58, 12); | ||||
| 			this.linkLabel5.Margin = new System.Windows.Forms.Padding(8, 0, 8, 0); | ||||
| 			this.linkLabel5.Name = "linkLabel5"; | ||||
| 			this.linkLabel5.Size = new System.Drawing.Size(95, 32); | ||||
| 			this.linkLabel5.TabIndex = 0; | ||||
| 			this.linkLabel5.TabStop = true; | ||||
| 			this.linkLabel5.Text = "예약(1)"; | ||||
| 			this.linkLabel5.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel5_LinkClicked); | ||||
| 			//  | ||||
| 			// linkLabel6 | ||||
| 			//  | ||||
| 			this.linkLabel6.AutoSize = true; | ||||
| 			this.linkLabel6.Location = new System.Drawing.Point(58, 58); | ||||
| 			this.linkLabel6.Margin = new System.Windows.Forms.Padding(8, 0, 8, 0); | ||||
| 			this.linkLabel6.Name = "linkLabel6"; | ||||
| 			this.linkLabel6.Size = new System.Drawing.Size(95, 32); | ||||
| 			this.linkLabel6.TabIndex = 2; | ||||
| 			this.linkLabel6.TabStop = true; | ||||
| 			this.linkLabel6.Text = "종류(1)"; | ||||
| 			this.linkLabel6.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel6_LinkClicked); | ||||
| 			//  | ||||
| 			// linkLabel7 | ||||
| 			//  | ||||
| 			this.linkLabel7.AutoSize = true; | ||||
| 			this.linkLabel7.Location = new System.Drawing.Point(34, 150); | ||||
| 			this.linkLabel7.Margin = new System.Windows.Forms.Padding(8, 0, 8, 0); | ||||
| 			this.linkLabel7.Name = "linkLabel7"; | ||||
| 			this.linkLabel7.Size = new System.Drawing.Size(119, 32); | ||||
| 			this.linkLabel7.TabIndex = 6; | ||||
| 			this.linkLabel7.TabStop = true; | ||||
| 			this.linkLabel7.Text = "발행처(1)"; | ||||
| 			this.linkLabel7.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel7_LinkClicked); | ||||
| 			//  | ||||
| 			// tbLoca | ||||
| 			//  | ||||
| 			this.tbLoca.BackColor = System.Drawing.SystemColors.Window; | ||||
| 			this.tbLoca.Location = new System.Drawing.Point(160, 147); | ||||
| 			this.tbLoca.Margin = new System.Windows.Forms.Padding(8, 13, 8, 13); | ||||
| 			this.tbLoca.Name = "tbLoca"; | ||||
| 			this.tbLoca.Size = new System.Drawing.Size(404, 39); | ||||
| 			this.tbLoca.TabIndex = 7; | ||||
| 			this.tbLoca.Text = "K3=3,K4=4,K5=5"; | ||||
| 			this.tbLoca.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
| 			this.tbLoca.TextChanged += new System.EventHandler(this.tbCustCode_TextChanged); | ||||
| 			//  | ||||
| 			// linkLabel8 | ||||
| 			//  | ||||
| 			this.linkLabel8.AutoSize = true; | ||||
| 			this.linkLabel8.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Bold); | ||||
| 			this.linkLabel8.Location = new System.Drawing.Point(82, 288); | ||||
| 			this.linkLabel8.Margin = new System.Windows.Forms.Padding(8, 0, 8, 0); | ||||
| 			this.linkLabel8.Name = "linkLabel8"; | ||||
| 			this.linkLabel8.Size = new System.Drawing.Size(71, 32); | ||||
| 			this.linkLabel8.TabIndex = 12; | ||||
| 			this.linkLabel8.TabStop = true; | ||||
| 			this.linkLabel8.Text = "월(1)"; | ||||
| 			this.linkLabel8.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel8_LinkClicked); | ||||
| 			//  | ||||
| 			// tbMon | ||||
| 			//  | ||||
| 			this.tbMon.BackColor = System.Drawing.SystemColors.Window; | ||||
| 			this.tbMon.Location = new System.Drawing.Point(160, 285); | ||||
| 			this.tbMon.Margin = new System.Windows.Forms.Padding(8, 13, 8, 13); | ||||
| 			this.tbMon.Name = "tbMon"; | ||||
| 			this.tbMon.Size = new System.Drawing.Size(404, 39); | ||||
| 			this.tbMon.TabIndex = 13; | ||||
| 			this.tbMon.Text = "10=A,11=B,12=C"; | ||||
| 			this.tbMon.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
| 			this.tbMon.TextChanged += new System.EventHandler(this.tbCustCode_TextChanged); | ||||
| 			//  | ||||
| 			// button8 | ||||
| 			//  | ||||
| 			this.button8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); | ||||
| 			this.button8.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
| 			this.button8.Location = new System.Drawing.Point(477, 417); | ||||
| 			this.button8.Name = "button8"; | ||||
| 			this.button8.Size = new System.Drawing.Size(87, 32); | ||||
| 			this.button8.TabIndex = 31; | ||||
| 			this.button8.Text = "중복검사"; | ||||
| 			this.button8.UseVisualStyleBackColor = true; | ||||
| 			this.button8.Click += new System.EventHandler(this.button8_Click); | ||||
| 			//  | ||||
| 			// lbLen | ||||
| 			//  | ||||
| 			this.lbLen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); | ||||
| 			this.lbLen.BackColor = System.Drawing.Color.Tomato; | ||||
| 			this.lbLen.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
| 			this.lbLen.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
| 			this.lbLen.Location = new System.Drawing.Point(13, 417); | ||||
| 			this.lbLen.Name = "lbLen"; | ||||
| 			this.lbLen.Size = new System.Drawing.Size(89, 32); | ||||
| 			this.lbLen.TabIndex = 33; | ||||
| 			this.lbLen.Text = "길이"; | ||||
| 			this.lbLen.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
| 			//  | ||||
| 			// button1 | ||||
| 			//  | ||||
| 			this.button1.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
| 			this.button1.Location = new System.Drawing.Point(460, 331); | ||||
| 			this.button1.Name = "button1"; | ||||
| 			this.button1.Size = new System.Drawing.Size(104, 39); | ||||
| 			this.button1.TabIndex = 34; | ||||
| 			this.button1.Text = "생성"; | ||||
| 			this.button1.UseVisualStyleBackColor = true; | ||||
| 			this.button1.Click += new System.EventHandler(this.button1_Click_1); | ||||
| 			//  | ||||
| 			// radNormal | ||||
| 			//  | ||||
| 			this.radNormal.AutoSize = true; | ||||
| 			this.radNormal.Checked = true; | ||||
| 			this.radNormal.Location = new System.Drawing.Point(160, 376); | ||||
| 			this.radNormal.Name = "radNormal"; | ||||
| 			this.radNormal.Size = new System.Drawing.Size(81, 36); | ||||
| 			this.radNormal.TabIndex = 36; | ||||
| 			this.radNormal.TabStop = true; | ||||
| 			this.radNormal.Text = "일반"; | ||||
| 			this.radNormal.UseVisualStyleBackColor = true; | ||||
| 			this.radNormal.Click += new System.EventHandler(this.radNormal_Click); | ||||
| 			//  | ||||
| 			// radReturn | ||||
| 			//  | ||||
| 			this.radReturn.AutoSize = true; | ||||
| 			this.radReturn.Location = new System.Drawing.Point(247, 376); | ||||
| 			this.radReturn.Name = "radReturn"; | ||||
| 			this.radReturn.Size = new System.Drawing.Size(81, 36); | ||||
| 			this.radReturn.TabIndex = 36; | ||||
| 			this.radReturn.Text = "반환"; | ||||
| 			this.radReturn.UseVisualStyleBackColor = true; | ||||
| 			this.radReturn.Click += new System.EventHandler(this.radNormal_Click); | ||||
| 			//  | ||||
| 			// radDup | ||||
| 			//  | ||||
| 			this.radDup.AutoSize = true; | ||||
| 			this.radDup.Location = new System.Drawing.Point(334, 376); | ||||
| 			this.radDup.Name = "radDup"; | ||||
| 			this.radDup.Size = new System.Drawing.Size(81, 36); | ||||
| 			this.radDup.TabIndex = 36; | ||||
| 			this.radDup.Text = "중복"; | ||||
| 			this.radDup.UseVisualStyleBackColor = true; | ||||
| 			this.radDup.Click += new System.EventHandler(this.radNormal_Click); | ||||
| 			//  | ||||
| 			// fNewReelID | ||||
| 			//  | ||||
| 			this.AutoScaleDimensions = new System.Drawing.SizeF(14F, 32F); | ||||
| 			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
| 			this.ClientSize = new System.Drawing.Size(573, 508); | ||||
| 			this.Controls.Add(this.radDup); | ||||
| 			this.Controls.Add(this.radReturn); | ||||
| 			this.Controls.Add(this.radNormal); | ||||
| 			this.Controls.Add(this.button1); | ||||
| 			this.Controls.Add(this.lbLen); | ||||
| 			this.Controls.Add(this.button8); | ||||
| 			this.Controls.Add(this.linkLabel8); | ||||
| 			this.Controls.Add(this.tbMon); | ||||
| 			this.Controls.Add(this.linkLabel7); | ||||
| 			this.Controls.Add(this.tbLoca); | ||||
| 			this.Controls.Add(this.linkLabel6); | ||||
| 			this.Controls.Add(this.linkLabel5); | ||||
| 			this.Controls.Add(this.tbtype); | ||||
| 			this.Controls.Add(this.tb1); | ||||
| 			this.Controls.Add(this.linkLabel4); | ||||
| 			this.Controls.Add(this.tbSeq); | ||||
| 			this.Controls.Add(this.linkLabel3); | ||||
| 			this.Controls.Add(this.linkLabel2); | ||||
| 			this.Controls.Add(this.linkLabel1); | ||||
| 			this.Controls.Add(this.tbDiv); | ||||
| 			this.Controls.Add(this.btOK); | ||||
| 			this.Controls.Add(this.tbRID); | ||||
| 			this.Controls.Add(this.tbCustCode); | ||||
| 			this.Controls.Add(this.tbYear); | ||||
| 			this.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
| 			this.Margin = new System.Windows.Forms.Padding(6, 8, 6, 8); | ||||
| 			this.MaximizeBox = false; | ||||
| 			this.MinimizeBox = false; | ||||
| 			this.Name = "fNewReelID"; | ||||
| 			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
| 			this.Text = "Make New Reel ID"; | ||||
| 			this.Load += new System.EventHandler(this.fNewReelID_Load); | ||||
| 			this.ResumeLayout(false); | ||||
| 			this.PerformLayout(); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|  | ||||
|         private System.Windows.Forms.LinkLabel linkLabel3; | ||||
|         private System.Windows.Forms.LinkLabel linkLabel2; | ||||
|         private System.Windows.Forms.LinkLabel linkLabel1; | ||||
|         private System.Windows.Forms.Button btOK; | ||||
|         private System.Windows.Forms.LinkLabel linkLabel4; | ||||
|         public System.Windows.Forms.TextBox tbDiv; | ||||
|         public System.Windows.Forms.TextBox tbCustCode; | ||||
|         public System.Windows.Forms.TextBox tbYear; | ||||
|         public System.Windows.Forms.TextBox tbSeq; | ||||
|         private System.Windows.Forms.TextBox tbRID; | ||||
| 		public System.Windows.Forms.TextBox tb1; | ||||
| 		public System.Windows.Forms.TextBox tbtype; | ||||
| 		private System.Windows.Forms.LinkLabel linkLabel5; | ||||
| 		private System.Windows.Forms.LinkLabel linkLabel6; | ||||
| 		private System.Windows.Forms.LinkLabel linkLabel7; | ||||
| 		public System.Windows.Forms.TextBox tbLoca; | ||||
| 		private System.Windows.Forms.LinkLabel linkLabel8; | ||||
| 		public System.Windows.Forms.TextBox tbMon; | ||||
| 		private System.Windows.Forms.Button button8; | ||||
| 		private System.Windows.Forms.Label lbLen; | ||||
| 		private System.Windows.Forms.Button button1; | ||||
| 		private System.Windows.Forms.RadioButton radNormal; | ||||
| 		private System.Windows.Forms.RadioButton radReturn; | ||||
| 		private System.Windows.Forms.RadioButton radDup; | ||||
| 	} | ||||
| } | ||||
							
								
								
									
										260
									
								
								Handler/Project_form2/Dialog/fNewReelID.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										260
									
								
								Handler/Project_form2/Dialog/fNewReelID.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,260 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     public partial class fNewReelID : Form | ||||
|     { | ||||
|         public string NewID { get; set; } | ||||
|         public fNewReelID(string custcode) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             this.NewID = string.Empty; | ||||
|             tbCustCode.Text = custcode; | ||||
|  | ||||
|             if (Pub.Result.JobType2 == "RET") | ||||
|                 radReturn.Checked = true; | ||||
|             else | ||||
|                 radNormal.Checked = false; | ||||
|  | ||||
|  | ||||
|             tbRID.TextChanged += (s1, e1) => | ||||
|             { | ||||
|                 lbLen.Text = $"길이({tbRID.Text.Length})"; | ||||
|                 lbLen.BackColor = tbRID.Text.Length == 15 ? Color.Lime : Color.Tomato; | ||||
|             }; | ||||
|         } | ||||
|         private void fNewReelID_Load(object sender, EventArgs e) | ||||
|         { | ||||
|             tbtype.Text = "C"; | ||||
|             tbLoca.Text = Pub.setting.ReelIdDeviceLoc; | ||||
|             tbDiv.Text = Pub.setting.ReelIdDeviceID; | ||||
|             tbYear.Text = DateTime.Now.Year.ToString().Substring(2); | ||||
|             tbMon.Text = DateTime.Now.Month.ToString("X"); | ||||
|             this.radNormal.Checked = true; | ||||
|             RefreshID(); | ||||
|         } | ||||
|  | ||||
|         private void btOK_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var codelen = 15; | ||||
|             this.NewID = tbRID.Text; | ||||
|             if (this.NewID.Length != codelen) | ||||
|             { | ||||
|                 Util.MsgE($"Reel ID는 {codelen}자리 입니다"); | ||||
|                 return; | ||||
|             } | ||||
|  | ||||
|             //db에서도 검색한다 | ||||
|             var db = new EEEntities(); | ||||
|             if (db.Component_Reel_Result.Where(t => t.RID == NewID).Any()) | ||||
|             { | ||||
|                 Util.MsgE($"해당 ID는 발행 기록이 있는 ID 입니다\n값:{NewID}"); | ||||
|                 return; | ||||
|             } | ||||
|  | ||||
|             //서버에서 중복검사실행 | ||||
|             if (Pub.setting.OnlineMode == false) | ||||
|             { | ||||
|                 Util.MsgE("오프라인 모드라 사용할 수 없습니다"); | ||||
|                 return; | ||||
|             } | ||||
|  | ||||
|             var rlt = Amkor.RestfulService.get_existed_matl_by_id(NewID); | ||||
|             if (rlt.Complete == false) | ||||
|             { | ||||
|                 Util.MsgE("중복검사 실패\n" + rlt.Message); | ||||
|                 return; | ||||
|             } | ||||
|             else if (rlt.Result == true) | ||||
|             { | ||||
|                 Util.MsgE("REEL ID 가 중복되었습니다\n새로고침 하세요"); | ||||
|                 return; | ||||
|             } | ||||
|  | ||||
|             ////데이터를 추가해준다. | ||||
|             //var db = new EEEntities(); | ||||
|             //db.Component_Reel_NewAssign.Add(new Component_Reel_NewAssign() | ||||
|             //{ | ||||
|             //	bPrint = false, | ||||
|             //	CUST = tbCustCode.Text.Trim(), | ||||
|             //	TIME = tbYear.Text.Trim(), | ||||
|             //	DIV = tbDiv.Text.Trim(), | ||||
|             //	SEQ = tbSeq.Text, | ||||
|             //	RID = tbRID.Text.Trim(), | ||||
|             //	wdate = DateTime.Now, | ||||
|             //	wuid = Pub.setting.Asset, | ||||
|             //}); | ||||
|             //db.SaveChanges(); | ||||
|  | ||||
|             DialogResult = DialogResult.OK; | ||||
|         } | ||||
|         void UpdateRID() | ||||
|         { | ||||
|             var data = tb1.Text.Trim(); | ||||
|             data += tbtype.Text.Trim(); | ||||
|             data += tbCustCode.Text.Trim(); | ||||
|             data += tbLoca.Text.Trim(); | ||||
|             data += tbDiv.Text.Trim(); | ||||
|             data += tbYear.Text.Trim(); | ||||
|             data += tbMon.Text.Trim(); | ||||
|             data += tbSeq.Text.Trim(); | ||||
|             this.tbRID.Text = data; | ||||
|         } | ||||
|  | ||||
|         private void tbCustCode_TextChanged(object sender, EventArgs e) | ||||
|         { | ||||
|             UpdateRID(); | ||||
|         } | ||||
|  | ||||
|         private void button1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             RefreshID(); | ||||
|         } | ||||
|         void RefreshID() | ||||
|         { | ||||
|             if (tbCustCode.Text.Length != 4) | ||||
|             { | ||||
|                 tbCustCode.Focus(); | ||||
|                 tbCustCode.SelectAll(); | ||||
|             } | ||||
|  | ||||
|  | ||||
|             //시간정보업데이트 | ||||
|             tbYear.Text = DateTime.Now.ToString("yy"); | ||||
|             tbDiv.Text = Pub.setting.ReelIdDeviceID; //라벨어태치용 | ||||
|  | ||||
|             UpdateSN(); | ||||
|             UpdateRID(); | ||||
|         } | ||||
|  | ||||
|         /// <summary> | ||||
|         /// 일련번호 업데이트 | ||||
|         /// </summary> | ||||
|         void UpdateSN() | ||||
|         { | ||||
|             var datestr = this.tbYear.Text + this.tbMon.Text; | ||||
|             if (datestr.Length != 3) | ||||
|             { | ||||
|                 Util.MsgE("년도/월 값이 입력되지 않았습니다"); | ||||
|                 return; | ||||
|             } | ||||
|  | ||||
|             var newsn = string.Empty; | ||||
|  | ||||
|             if (this.radReturn.Checked) | ||||
|                 newsn = AmkorReelID.GetNextSNbyYM_Return(datestr); | ||||
|             else if (this.radDup.Checked) | ||||
|                 newsn = AmkorReelID.GetNextSNbyYM_Dup(datestr); | ||||
|             else | ||||
|                 newsn = AmkorReelID.GetNextSNbyYM(datestr); | ||||
|  | ||||
|             tbSeq.Text = newsn; | ||||
|         } | ||||
|  | ||||
|         private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) | ||||
|         { | ||||
|             Util.TouchKeyShow(tbCustCode, "고객코드를 입력하세요"); | ||||
|         } | ||||
|  | ||||
|         private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) | ||||
|         { | ||||
|             Util.TouchKeyShow(tbDiv, "장치 분류를 입력(L:Logistic/M:Manufacture,A:AutoLabel Attach)"); | ||||
|         } | ||||
|  | ||||
|         private void linkLabel4_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) | ||||
|         { | ||||
|             Util.TouchKeyShow(tbSeq, "일련번호입력(001~999)"); | ||||
|         } | ||||
|  | ||||
|         private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) | ||||
|         { | ||||
|             Util.TouchKeyShow(tbYear, "년도(2자리)"); | ||||
|         } | ||||
|  | ||||
|         private void linkLabel5_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) | ||||
|         { | ||||
|             Util.TouchKeyShow(tb1, "예약됨(R)"); | ||||
|         } | ||||
|  | ||||
|         private void linkLabel6_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) | ||||
|         { | ||||
|             Util.TouchKeyShow(tbtype, "예약됨(C/I)"); | ||||
|         } | ||||
|  | ||||
|         private void linkLabel7_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) | ||||
|         { | ||||
|             Util.TouchKeyShow(tbLoca, "발행처(3/4/5)"); | ||||
|         } | ||||
|  | ||||
|         private void linkLabel8_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) | ||||
|         { | ||||
|             Util.TouchKeyShow(tbMon, "월(1자리 10월=A,11월=B,12월=C"); | ||||
|         } | ||||
|  | ||||
|         private void button8_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             //중복검사 | ||||
|             var rid = tbRID.Text.Trim(); | ||||
|             if (rid.isEmpty()) | ||||
|             { | ||||
|                 Util.MsgE("Reel Id 값이 없습니다"); | ||||
|                 return; | ||||
|             } | ||||
|  | ||||
|             //db에서도 검색한다 | ||||
|             if (Pub.setting.OnlineMode) | ||||
|             { | ||||
|                 var db = new EEEntities(); | ||||
|                 if (db.Component_Reel_Result.Where(t => t.RID == rid).Any()) | ||||
|                 { | ||||
|                     Util.MsgE($"해당 ID는 발행 기록이 있는 ID 입니다\n값:{rid}"); | ||||
|                     return; | ||||
|                 } | ||||
|  | ||||
|                 var result = Amkor.RestfulService.get_existed_matl_by_id(rid); | ||||
|                 if (result.Complete == false) | ||||
|                 { | ||||
|                     Util.MsgE("중복검사 서버 오류\n" + result.Message); | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|                     if (result.Result == true) | ||||
|                     { | ||||
|                         Util.MsgE($"해당 ID는 중복된 ID 입니다\n값:{rid}"); | ||||
|                         return; | ||||
|                     } | ||||
|                     else | ||||
|                     { | ||||
|                         Util.MsgI($"해당 ID는 중복되지 않았습니다\n{rid}"); | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void chkReturn_CheckedChanged(object sender, EventArgs e) | ||||
|         { | ||||
|             UpdateSN(); | ||||
|             UpdateRID(); | ||||
|         } | ||||
|  | ||||
|         private void button1_Click_1(object sender, EventArgs e) | ||||
|         { | ||||
|             UpdateSN(); | ||||
|         } | ||||
|  | ||||
|         private void radNormal_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             UpdateSN(); | ||||
|             UpdateRID(); | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										120
									
								
								Handler/Project_form2/Dialog/fNewReelID.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										120
									
								
								Handler/Project_form2/Dialog/fNewReelID.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,120 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
| </root> | ||||
							
								
								
									
										121
									
								
								Handler/Project_form2/Dialog/fNewSID.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										121
									
								
								Handler/Project_form2/Dialog/fNewSID.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,121 @@ | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     partial class fNewSID | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// Required designer variable. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Clean up any resources being used. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region Windows Form Designer generated code | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Required method for Designer support - do not modify | ||||
|         /// the contents of this method with the code editor. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
|             this.button1 = new System.Windows.Forms.Button(); | ||||
|             this.tbOldSid = new System.Windows.Forms.TextBox(); | ||||
|             this.label3 = new System.Windows.Forms.Label(); | ||||
|             this.tb1 = new System.Windows.Forms.TextBox(); | ||||
|             this.linkLabel3 = new System.Windows.Forms.LinkLabel(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // button1 | ||||
|             //  | ||||
|             this.button1.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
|             this.button1.Location = new System.Drawing.Point(10, 138); | ||||
|             this.button1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); | ||||
|             this.button1.Name = "button1"; | ||||
|             this.button1.Size = new System.Drawing.Size(694, 68); | ||||
|             this.button1.TabIndex = 4; | ||||
|             this.button1.Text = "확인"; | ||||
|             this.button1.UseVisualStyleBackColor = true; | ||||
|             this.button1.Click += new System.EventHandler(this.button1_Click); | ||||
|             //  | ||||
|             // tbOldSid | ||||
|             //  | ||||
|             this.tbOldSid.Location = new System.Drawing.Point(182, 17); | ||||
|             this.tbOldSid.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); | ||||
|             this.tbOldSid.Name = "tbOldSid"; | ||||
|             this.tbOldSid.ReadOnly = true; | ||||
|             this.tbOldSid.Size = new System.Drawing.Size(518, 43); | ||||
|             this.tbOldSid.TabIndex = 2; | ||||
|             this.tbOldSid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // label3 | ||||
|             //  | ||||
|             this.label3.AutoSize = true; | ||||
|             this.label3.Location = new System.Drawing.Point(55, 17); | ||||
|             this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); | ||||
|             this.label3.Name = "label3"; | ||||
|             this.label3.Size = new System.Drawing.Size(114, 37); | ||||
|             this.label3.TabIndex = 3; | ||||
|             this.label3.Text = "Old SID"; | ||||
|             //  | ||||
|             // tb1 | ||||
|             //  | ||||
|             this.tb1.Location = new System.Drawing.Point(182, 71); | ||||
|             this.tb1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); | ||||
|             this.tb1.Name = "tb1"; | ||||
|             this.tb1.Size = new System.Drawing.Size(518, 43); | ||||
|             this.tb1.TabIndex = 6; | ||||
|             this.tb1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // linkLabel3 | ||||
|             //  | ||||
|             this.linkLabel3.AutoSize = true; | ||||
|             this.linkLabel3.Location = new System.Drawing.Point(52, 71); | ||||
|             this.linkLabel3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); | ||||
|             this.linkLabel3.Name = "linkLabel3"; | ||||
|             this.linkLabel3.Size = new System.Drawing.Size(127, 37); | ||||
|             this.linkLabel3.TabIndex = 8; | ||||
|             this.linkLabel3.TabStop = true; | ||||
|             this.linkLabel3.Text = "New SID"; | ||||
|             this.linkLabel3.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel3_LinkClicked); | ||||
|             //  | ||||
|             // fNewSID | ||||
|             //  | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | ||||
|             this.ClientSize = new System.Drawing.Size(714, 216); | ||||
|             this.Controls.Add(this.linkLabel3); | ||||
|             this.Controls.Add(this.tb1); | ||||
|             this.Controls.Add(this.button1); | ||||
|             this.Controls.Add(this.label3); | ||||
|             this.Controls.Add(this.tbOldSid); | ||||
|             this.Font = new System.Drawing.Font("맑은 고딕", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); | ||||
|             this.MaximizeBox = false; | ||||
|             this.MinimizeBox = false; | ||||
|             this.Name = "fNewSID"; | ||||
|             this.Padding = new System.Windows.Forms.Padding(10); | ||||
|             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
|             this.Text = "Find New SID"; | ||||
|             this.Load += new System.EventHandler(this.fNewSID_Load); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|         private System.Windows.Forms.Button button1; | ||||
|         private System.Windows.Forms.TextBox tbOldSid; | ||||
|         private System.Windows.Forms.Label label3; | ||||
|         private System.Windows.Forms.TextBox tb1; | ||||
|         private System.Windows.Forms.LinkLabel linkLabel3; | ||||
|     } | ||||
| } | ||||
							
								
								
									
										101
									
								
								Handler/Project_form2/Dialog/fNewSID.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										101
									
								
								Handler/Project_form2/Dialog/fNewSID.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,101 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     public partial class fNewSID : Form | ||||
|     { | ||||
|         public int FindSIDCount = -1; | ||||
|         public string NewSID { get; set; } | ||||
|         public fNewSID(string presid) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             this.tbOldSid.Text = presid; | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void fNewSID_Load(object sender, EventArgs e) | ||||
|         { | ||||
|             //해당 sid 로 101,103,106 가능한 sid 목록을 표시한다			 | ||||
|             var sid = tbOldSid.Text.Trim(); | ||||
|             var presid = this.tbOldSid.Text; | ||||
|             var db = new EEEntities(); | ||||
|             var dr = db.Component_Reel_SIDConv.AsNoTracking().Where(t => t.SIDFrom == presid).ToList(); | ||||
|             if (dr.Any()) | ||||
|             { | ||||
|                 if (dr.Count() == 1) | ||||
|                 { | ||||
|                     tb1.Text = dr.First().SIDTo != null ? dr.First().SIDTo.Trim() : string.Empty; | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|                     //데이터가 여러개 있다. | ||||
|                     FindSIDCount = dr.Count(); | ||||
|                     //var befcolname = "101"; | ||||
|                     //var aftcolname = "103"; | ||||
|                     //if (Pub.Result.JobType == "16") { befcolname = "101"; aftcolname = "106"; } | ||||
|                     //else if (Pub.Result.JobType == "13") { befcolname = "101"; aftcolname = "103"; } | ||||
|                     //else if (Pub.Result.JobType == "31") { befcolname = "103"; aftcolname = "101"; } | ||||
|                     //else if (Pub.Result.JobType == "61") { befcolname = "106"; aftcolname = "101"; } | ||||
|                     //else if (Pub.Result.JobType == "18") { befcolname = "101"; aftcolname = "108"; } | ||||
|                     //else if (Pub.Result.JobType == "81") { befcolname = "108"; aftcolname = "101"; } | ||||
|  | ||||
|                     var lst = new List<String>(); | ||||
|                     foreach (var item in dr) | ||||
|                     { | ||||
|                         var msidto = string.Empty; | ||||
|                         if (item.SIDTo != null) msidto = presid + ";" + item.SIDTo.Trim(); | ||||
|                         lst.Add(msidto); | ||||
|                     } | ||||
|                     var f = new Dialog.fSelectSID(lst); | ||||
|                     if (f.ShowDialog() == DialogResult.OK) | ||||
|                     { | ||||
|                         var v = f.Value.Split(';'); //0은 old .1=new | ||||
|                         tb1.Text = v[1].Trim(); | ||||
|                     } | ||||
|                 } | ||||
|  | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 tb1.Text = string.Empty; | ||||
|             } | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void button1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             this.NewSID = tb1.Text.Trim(); | ||||
|  | ||||
|             if (NewSID.isEmpty()) | ||||
|             { | ||||
|                 Util.MsgE("SID값이 입력(선택) 되지 않았습니다"); | ||||
|                 return; | ||||
|             } | ||||
|  | ||||
|             if (NewSID == tbOldSid.Text) | ||||
|             { | ||||
|                 Util.MsgE($"기존 SID와 동일한 SID값이 확인되었습니다\n\n" + | ||||
|                     $"기존:{tbOldSid.Text}\n" + | ||||
|                    $"신규:{NewSID}"); | ||||
|                 return; | ||||
|             } | ||||
|  | ||||
|             DialogResult = DialogResult.OK; | ||||
|         } | ||||
|  | ||||
|         private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) | ||||
|         { | ||||
|             Util.TouchKeyShow(tb1, "Input SID"); | ||||
|         } | ||||
|  | ||||
|  | ||||
|     } | ||||
| } | ||||
							
								
								
									
										120
									
								
								Handler/Project_form2/Dialog/fNewSID.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										120
									
								
								Handler/Project_form2/Dialog/fNewSID.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,120 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
| </root> | ||||
							
								
								
									
										387
									
								
								Handler/Project_form2/Dialog/fPickerMove.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										387
									
								
								Handler/Project_form2/Dialog/fPickerMove.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,387 @@ | ||||
| namespace Project.Dialog | ||||
| { | ||||
| 	partial class fPickerMove | ||||
| 	{ | ||||
| 		/// <summary> | ||||
| 		/// Required designer variable. | ||||
| 		/// </summary> | ||||
| 		private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
| 		/// <summary> | ||||
| 		/// Clean up any resources being used. | ||||
| 		/// </summary> | ||||
| 		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
| 		protected override void Dispose(bool disposing) | ||||
| 		{ | ||||
| 			if (disposing && (components != null)) | ||||
| 			{ | ||||
| 				components.Dispose(); | ||||
| 			} | ||||
| 			base.Dispose(disposing); | ||||
| 		} | ||||
|  | ||||
| 		#region Windows Form Designer generated code | ||||
|  | ||||
| 		/// <summary> | ||||
| 		/// Required method for Designer support - do not modify | ||||
| 		/// the contents of this method with the code editor. | ||||
| 		/// </summary> | ||||
| 		private void InitializeComponent() | ||||
| 		{ | ||||
| 			this.components = new System.ComponentModel.Container(); | ||||
| 			this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); | ||||
| 			this.btlw = new System.Windows.Forms.Button(); | ||||
| 			this.btc = new System.Windows.Forms.Button(); | ||||
| 			this.btl = new System.Windows.Forms.Button(); | ||||
| 			this.btrw = new System.Windows.Forms.Button(); | ||||
| 			this.btr = new System.Windows.Forms.Button(); | ||||
| 			this.button6 = new System.Windows.Forms.Button(); | ||||
| 			this.button7 = new System.Windows.Forms.Button(); | ||||
| 			this.button8 = new System.Windows.Forms.Button(); | ||||
| 			this.button9 = new System.Windows.Forms.Button(); | ||||
| 			this.button10 = new System.Windows.Forms.Button(); | ||||
| 			this.button11 = new System.Windows.Forms.Button(); | ||||
| 			this.button12 = new System.Windows.Forms.Button(); | ||||
| 			this.button13 = new System.Windows.Forms.Button(); | ||||
| 			this.timer1 = new System.Windows.Forms.Timer(this.components); | ||||
| 			this.button1 = new System.Windows.Forms.Button(); | ||||
| 			this.button2 = new System.Windows.Forms.Button(); | ||||
| 			this.button3 = new System.Windows.Forms.Button(); | ||||
| 			this.button4 = new System.Windows.Forms.Button(); | ||||
| 			this.button5 = new System.Windows.Forms.Button(); | ||||
| 			this.tableLayoutPanel1.SuspendLayout(); | ||||
| 			this.SuspendLayout(); | ||||
| 			//  | ||||
| 			// tableLayoutPanel1 | ||||
| 			//  | ||||
| 			this.tableLayoutPanel1.ColumnCount = 5; | ||||
| 			this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); | ||||
| 			this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); | ||||
| 			this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); | ||||
| 			this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); | ||||
| 			this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); | ||||
| 			this.tableLayoutPanel1.Controls.Add(this.btlw, 1, 0); | ||||
| 			this.tableLayoutPanel1.Controls.Add(this.btc, 2, 0); | ||||
| 			this.tableLayoutPanel1.Controls.Add(this.btl, 0, 0); | ||||
| 			this.tableLayoutPanel1.Controls.Add(this.btrw, 3, 0); | ||||
| 			this.tableLayoutPanel1.Controls.Add(this.btr, 4, 0); | ||||
| 			this.tableLayoutPanel1.Controls.Add(this.button6, 0, 1); | ||||
| 			this.tableLayoutPanel1.Controls.Add(this.button7, 3, 1); | ||||
| 			this.tableLayoutPanel1.Controls.Add(this.button8, 2, 1); | ||||
| 			this.tableLayoutPanel1.Controls.Add(this.button9, 0, 2); | ||||
| 			this.tableLayoutPanel1.Controls.Add(this.button10, 4, 2); | ||||
| 			this.tableLayoutPanel1.Controls.Add(this.button11, 1, 2); | ||||
| 			this.tableLayoutPanel1.Controls.Add(this.button12, 2, 2); | ||||
| 			this.tableLayoutPanel1.Controls.Add(this.button13, 3, 2); | ||||
| 			this.tableLayoutPanel1.Controls.Add(this.button1, 0, 3); | ||||
| 			this.tableLayoutPanel1.Controls.Add(this.button2, 1, 3); | ||||
| 			this.tableLayoutPanel1.Controls.Add(this.button3, 2, 3); | ||||
| 			this.tableLayoutPanel1.Controls.Add(this.button4, 3, 3); | ||||
| 			this.tableLayoutPanel1.Controls.Add(this.button5, 4, 3); | ||||
| 			this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); | ||||
| 			this.tableLayoutPanel1.Name = "tableLayoutPanel1"; | ||||
| 			this.tableLayoutPanel1.RowCount = 4; | ||||
| 			this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F)); | ||||
| 			this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F)); | ||||
| 			this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F)); | ||||
| 			this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F)); | ||||
| 			this.tableLayoutPanel1.Size = new System.Drawing.Size(822, 465); | ||||
| 			this.tableLayoutPanel1.TabIndex = 0; | ||||
| 			//  | ||||
| 			// btlw | ||||
| 			//  | ||||
| 			this.btlw.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.btlw.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
| 			this.btlw.Location = new System.Drawing.Point(174, 10); | ||||
| 			this.btlw.Margin = new System.Windows.Forms.Padding(10); | ||||
| 			this.btlw.Name = "btlw"; | ||||
| 			this.btlw.Size = new System.Drawing.Size(144, 96); | ||||
| 			this.btlw.TabIndex = 0; | ||||
| 			this.btlw.Text = "대기"; | ||||
| 			this.btlw.UseVisualStyleBackColor = true; | ||||
| 			this.btlw.Click += new System.EventHandler(this.button1_Click); | ||||
| 			//  | ||||
| 			// btc | ||||
| 			//  | ||||
| 			this.btc.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.btc.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
| 			this.btc.ForeColor = System.Drawing.Color.ForestGreen; | ||||
| 			this.btc.Location = new System.Drawing.Point(338, 10); | ||||
| 			this.btc.Margin = new System.Windows.Forms.Padding(10); | ||||
| 			this.btc.Name = "btc"; | ||||
| 			this.btc.Size = new System.Drawing.Size(144, 96); | ||||
| 			this.btc.TabIndex = 0; | ||||
| 			this.btc.Text = "중앙"; | ||||
| 			this.btc.UseVisualStyleBackColor = true; | ||||
| 			this.btc.Click += new System.EventHandler(this.button2_Click); | ||||
| 			//  | ||||
| 			// btl | ||||
| 			//  | ||||
| 			this.btl.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.btl.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
| 			this.btl.Location = new System.Drawing.Point(10, 10); | ||||
| 			this.btl.Margin = new System.Windows.Forms.Padding(10); | ||||
| 			this.btl.Name = "btl"; | ||||
| 			this.btl.Size = new System.Drawing.Size(144, 96); | ||||
| 			this.btl.TabIndex = 0; | ||||
| 			this.btl.Text = "좌측"; | ||||
| 			this.btl.UseVisualStyleBackColor = true; | ||||
| 			this.btl.Click += new System.EventHandler(this.button3_Click); | ||||
| 			//  | ||||
| 			// btrw | ||||
| 			//  | ||||
| 			this.btrw.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.btrw.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
| 			this.btrw.Location = new System.Drawing.Point(502, 10); | ||||
| 			this.btrw.Margin = new System.Windows.Forms.Padding(10); | ||||
| 			this.btrw.Name = "btrw"; | ||||
| 			this.btrw.Size = new System.Drawing.Size(144, 96); | ||||
| 			this.btrw.TabIndex = 0; | ||||
| 			this.btrw.Text = "대기"; | ||||
| 			this.btrw.UseVisualStyleBackColor = true; | ||||
| 			this.btrw.Click += new System.EventHandler(this.button4_Click); | ||||
| 			//  | ||||
| 			// btr | ||||
| 			//  | ||||
| 			this.btr.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.btr.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
| 			this.btr.Location = new System.Drawing.Point(666, 10); | ||||
| 			this.btr.Margin = new System.Windows.Forms.Padding(10); | ||||
| 			this.btr.Name = "btr"; | ||||
| 			this.btr.Size = new System.Drawing.Size(146, 96); | ||||
| 			this.btr.TabIndex = 0; | ||||
| 			this.btr.Text = "우측"; | ||||
| 			this.btr.UseVisualStyleBackColor = true; | ||||
| 			this.btr.Click += new System.EventHandler(this.button5_Click); | ||||
| 			//  | ||||
| 			// button6 | ||||
| 			//  | ||||
| 			this.tableLayoutPanel1.SetColumnSpan(this.button6, 2); | ||||
| 			this.button6.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.button6.Font = new System.Drawing.Font("Consolas", 35F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
| 			this.button6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); | ||||
| 			this.button6.Location = new System.Drawing.Point(10, 126); | ||||
| 			this.button6.Margin = new System.Windows.Forms.Padding(10); | ||||
| 			this.button6.Name = "button6"; | ||||
| 			this.button6.Size = new System.Drawing.Size(308, 96); | ||||
| 			this.button6.TabIndex = 1; | ||||
| 			this.button6.Text = "<< JOG"; | ||||
| 			this.button6.UseVisualStyleBackColor = true; | ||||
| 			this.button6.Click += new System.EventHandler(this.button6_Click); | ||||
| 			this.button6.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button6_MouseDown); | ||||
| 			this.button6.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp); | ||||
| 			//  | ||||
| 			// button7 | ||||
| 			//  | ||||
| 			this.tableLayoutPanel1.SetColumnSpan(this.button7, 2); | ||||
| 			this.button7.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.button7.Font = new System.Drawing.Font("Consolas", 35F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
| 			this.button7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); | ||||
| 			this.button7.Location = new System.Drawing.Point(502, 126); | ||||
| 			this.button7.Margin = new System.Windows.Forms.Padding(10); | ||||
| 			this.button7.Name = "button7"; | ||||
| 			this.button7.Size = new System.Drawing.Size(310, 96); | ||||
| 			this.button7.TabIndex = 1; | ||||
| 			this.button7.Text = "JOG >>"; | ||||
| 			this.button7.UseVisualStyleBackColor = true; | ||||
| 			this.button7.Click += new System.EventHandler(this.button7_Click); | ||||
| 			this.button7.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button6_MouseDown); | ||||
| 			this.button7.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp); | ||||
| 			//  | ||||
| 			// button8 | ||||
| 			//  | ||||
| 			this.button8.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.button8.Font = new System.Drawing.Font("Consolas", 45F, System.Drawing.FontStyle.Bold); | ||||
| 			this.button8.ForeColor = System.Drawing.Color.Red; | ||||
| 			this.button8.Location = new System.Drawing.Point(338, 126); | ||||
| 			this.button8.Margin = new System.Windows.Forms.Padding(10); | ||||
| 			this.button8.Name = "button8"; | ||||
| 			this.button8.Size = new System.Drawing.Size(144, 96); | ||||
| 			this.button8.TabIndex = 2; | ||||
| 			this.button8.Text = "■"; | ||||
| 			this.button8.UseVisualStyleBackColor = true; | ||||
| 			this.button8.Click += new System.EventHandler(this.button8_Click); | ||||
| 			//  | ||||
| 			// button9 | ||||
| 			//  | ||||
| 			this.button9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); | ||||
| 			this.button9.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.button9.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold); | ||||
| 			this.button9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
| 			this.button9.Location = new System.Drawing.Point(10, 242); | ||||
| 			this.button9.Margin = new System.Windows.Forms.Padding(10); | ||||
| 			this.button9.Name = "button9"; | ||||
| 			this.button9.Size = new System.Drawing.Size(144, 96); | ||||
| 			this.button9.TabIndex = 3; | ||||
| 			this.button9.Text = "비젼검증\r\n취소(L)"; | ||||
| 			this.button9.UseVisualStyleBackColor = false; | ||||
| 			this.button9.Click += new System.EventHandler(this.button9_Click); | ||||
| 			//  | ||||
| 			// button10 | ||||
| 			//  | ||||
| 			this.button10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); | ||||
| 			this.button10.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.button10.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold); | ||||
| 			this.button10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
| 			this.button10.Location = new System.Drawing.Point(666, 242); | ||||
| 			this.button10.Margin = new System.Windows.Forms.Padding(10); | ||||
| 			this.button10.Name = "button10"; | ||||
| 			this.button10.Size = new System.Drawing.Size(146, 96); | ||||
| 			this.button10.TabIndex = 4; | ||||
| 			this.button10.Text = "비젼검증\r\n취소(R)"; | ||||
| 			this.button10.UseVisualStyleBackColor = false; | ||||
| 			this.button10.Click += new System.EventHandler(this.button10_Click); | ||||
| 			//  | ||||
| 			// button11 | ||||
| 			//  | ||||
| 			this.button11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); | ||||
| 			this.button11.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.button11.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold); | ||||
| 			this.button11.Location = new System.Drawing.Point(174, 242); | ||||
| 			this.button11.Margin = new System.Windows.Forms.Padding(10); | ||||
| 			this.button11.Name = "button11"; | ||||
| 			this.button11.Size = new System.Drawing.Size(144, 96); | ||||
| 			this.button11.TabIndex = 5; | ||||
| 			this.button11.Text = "프린트관리\r\n위치(L)"; | ||||
| 			this.button11.UseVisualStyleBackColor = false; | ||||
| 			this.button11.Click += new System.EventHandler(this.button11_Click); | ||||
| 			//  | ||||
| 			// button12 | ||||
| 			//  | ||||
| 			this.button12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); | ||||
| 			this.button12.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.button12.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold); | ||||
| 			this.button12.Location = new System.Drawing.Point(338, 242); | ||||
| 			this.button12.Margin = new System.Windows.Forms.Padding(10); | ||||
| 			this.button12.Name = "button12"; | ||||
| 			this.button12.Size = new System.Drawing.Size(144, 96); | ||||
| 			this.button12.TabIndex = 5; | ||||
| 			this.button12.Text = "관리위치\r\n복귀"; | ||||
| 			this.button12.UseVisualStyleBackColor = false; | ||||
| 			this.button12.Click += new System.EventHandler(this.button12_Click); | ||||
| 			//  | ||||
| 			// button13 | ||||
| 			//  | ||||
| 			this.button13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); | ||||
| 			this.button13.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.button13.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold); | ||||
| 			this.button13.Location = new System.Drawing.Point(502, 242); | ||||
| 			this.button13.Margin = new System.Windows.Forms.Padding(10); | ||||
| 			this.button13.Name = "button13"; | ||||
| 			this.button13.Size = new System.Drawing.Size(144, 96); | ||||
| 			this.button13.TabIndex = 5; | ||||
| 			this.button13.Text = "프린트관리\r\n위치(R)"; | ||||
| 			this.button13.UseVisualStyleBackColor = false; | ||||
| 			this.button13.Click += new System.EventHandler(this.button13_Click); | ||||
| 			//  | ||||
| 			// timer1 | ||||
| 			//  | ||||
| 			this.timer1.Tick += new System.EventHandler(this.timer1_Tick); | ||||
| 			//  | ||||
| 			// button1 | ||||
| 			//  | ||||
| 			this.button1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.button1.Enabled = false; | ||||
| 			this.button1.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold); | ||||
| 			this.button1.Location = new System.Drawing.Point(10, 358); | ||||
| 			this.button1.Margin = new System.Windows.Forms.Padding(10); | ||||
| 			this.button1.Name = "button1"; | ||||
| 			this.button1.Size = new System.Drawing.Size(144, 97); | ||||
| 			this.button1.TabIndex = 6; | ||||
| 			this.button1.Text = "--"; | ||||
| 			this.button1.UseVisualStyleBackColor = true; | ||||
| 			//  | ||||
| 			// button2 | ||||
| 			//  | ||||
| 			this.button2.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.button2.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold); | ||||
| 			this.button2.Location = new System.Drawing.Point(174, 358); | ||||
| 			this.button2.Margin = new System.Windows.Forms.Padding(10); | ||||
| 			this.button2.Name = "button2"; | ||||
| 			this.button2.Size = new System.Drawing.Size(144, 97); | ||||
| 			this.button2.TabIndex = 6; | ||||
| 			this.button2.Text = "프린트\r\n(L)"; | ||||
| 			this.button2.UseVisualStyleBackColor = true; | ||||
| 			this.button2.Click += new System.EventHandler(this.button2_Click_1); | ||||
| 			//  | ||||
| 			// button3 | ||||
| 			//  | ||||
| 			this.button3.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.button3.Enabled = false; | ||||
| 			this.button3.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold); | ||||
| 			this.button3.Location = new System.Drawing.Point(338, 358); | ||||
| 			this.button3.Margin = new System.Windows.Forms.Padding(10); | ||||
| 			this.button3.Name = "button3"; | ||||
| 			this.button3.Size = new System.Drawing.Size(144, 97); | ||||
| 			this.button3.TabIndex = 6; | ||||
| 			this.button3.Text = "--"; | ||||
| 			this.button3.UseVisualStyleBackColor = true; | ||||
| 			//  | ||||
| 			// button4 | ||||
| 			//  | ||||
| 			this.button4.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.button4.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold); | ||||
| 			this.button4.Location = new System.Drawing.Point(502, 358); | ||||
| 			this.button4.Margin = new System.Windows.Forms.Padding(10); | ||||
| 			this.button4.Name = "button4"; | ||||
| 			this.button4.Size = new System.Drawing.Size(144, 97); | ||||
| 			this.button4.TabIndex = 6; | ||||
| 			this.button4.Text = "프린트\r\n(R)"; | ||||
| 			this.button4.UseVisualStyleBackColor = true; | ||||
| 			this.button4.Click += new System.EventHandler(this.button4_Click_1); | ||||
| 			//  | ||||
| 			// button5 | ||||
| 			//  | ||||
| 			this.button5.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.button5.Enabled = false; | ||||
| 			this.button5.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold); | ||||
| 			this.button5.Location = new System.Drawing.Point(666, 358); | ||||
| 			this.button5.Margin = new System.Windows.Forms.Padding(10); | ||||
| 			this.button5.Name = "button5"; | ||||
| 			this.button5.Size = new System.Drawing.Size(146, 97); | ||||
| 			this.button5.TabIndex = 6; | ||||
| 			this.button5.Text = "--"; | ||||
| 			this.button5.UseVisualStyleBackColor = true; | ||||
| 			//  | ||||
| 			// fPickerMove | ||||
| 			//  | ||||
| 			this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
| 			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
| 			this.ClientSize = new System.Drawing.Size(822, 465); | ||||
| 			this.Controls.Add(this.tableLayoutPanel1); | ||||
| 			this.MaximizeBox = false; | ||||
| 			this.MinimizeBox = false; | ||||
| 			this.Name = "fPickerMove"; | ||||
| 			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
| 			this.Text = "피커(X) 이동 및 관리"; | ||||
| 			this.Load += new System.EventHandler(this.fPickerMove_Load); | ||||
| 			this.tableLayoutPanel1.ResumeLayout(false); | ||||
| 			this.ResumeLayout(false); | ||||
|  | ||||
| 		} | ||||
|  | ||||
| 		#endregion | ||||
|  | ||||
| 		private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; | ||||
| 		private System.Windows.Forms.Button btlw; | ||||
| 		private System.Windows.Forms.Button btc; | ||||
| 		private System.Windows.Forms.Button btl; | ||||
| 		private System.Windows.Forms.Button btrw; | ||||
| 		private System.Windows.Forms.Button btr; | ||||
| 		private System.Windows.Forms.Button button6; | ||||
| 		private System.Windows.Forms.Button button7; | ||||
| 		private System.Windows.Forms.Button button8; | ||||
| 		private System.Windows.Forms.Button button9; | ||||
| 		private System.Windows.Forms.Button button10; | ||||
| 		private System.Windows.Forms.Button button11; | ||||
| 		private System.Windows.Forms.Button button12; | ||||
| 		private System.Windows.Forms.Button button13; | ||||
| 		private System.Windows.Forms.Timer timer1; | ||||
| 		private System.Windows.Forms.Button button1; | ||||
| 		private System.Windows.Forms.Button button2; | ||||
| 		private System.Windows.Forms.Button button3; | ||||
| 		private System.Windows.Forms.Button button4; | ||||
| 		private System.Windows.Forms.Button button5; | ||||
| 	} | ||||
| } | ||||
							
								
								
									
										330
									
								
								Handler/Project_form2/Dialog/fPickerMove.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										330
									
								
								Handler/Project_form2/Dialog/fPickerMove.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,330 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
| 	public partial class fPickerMove : Form | ||||
| 	{ | ||||
| 		public fPickerMove() | ||||
| 		{ | ||||
| 			InitializeComponent(); | ||||
| 			this.FormClosing += FPickerMove_FormClosing; | ||||
| 		} | ||||
| 		private void fPickerMove_Load(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			Pub.flag.set(eFlag.MOVE_PICKER, true, "PICKERMOVE"); | ||||
| 			timer1.Start(); | ||||
| 		} | ||||
| 		private void FPickerMove_FormClosing(object sender, FormClosingEventArgs e) | ||||
| 		{ | ||||
| 			if(ManPosL) | ||||
| 			{ | ||||
| 				Util.MsgE("프린터측 모션이 관리위치에 있습니다\n위치를 복귀 한 후 다시 시도하세요", true); | ||||
| 				e.Cancel = true; | ||||
| 				return; | ||||
| 			} | ||||
| 			Pub.flag.set(eFlag.MOVE_PICKER, false, "PICKERMOVE"); | ||||
| 			timer1.Stop(); | ||||
| 		} | ||||
|  | ||||
| 		Boolean CheckSafty() | ||||
| 		{ | ||||
| 			if (Util_DO.isSaftyDoorF() == false) | ||||
| 			{ | ||||
| 				Util.MsgE("전면 도어가 열려 있습니다"); | ||||
| 				return false; | ||||
| 			} | ||||
|  | ||||
| 			if (Pub.mot.hasHomeSetOff) | ||||
| 			{ | ||||
| 				Util.MsgE("모션의 홈 작업이 완료되지 않았습니다"); | ||||
| 				return false; | ||||
| 			} | ||||
| 			return true; | ||||
| 		} | ||||
|  | ||||
| 		private void button3_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			if (CheckSafty() == false) return; | ||||
| 			var p1 = Util_Mot.GetAxPXPos(eAxisPXPos.PICKOFFL); | ||||
| 			Util_Mot.Move(eAxis.X_PICKER, p1.position, 250, p1.acc, false, false, false); | ||||
| 			DialogResult = DialogResult.OK; | ||||
| 		} | ||||
|  | ||||
| 		private void button1_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			if (CheckSafty() == false) return; | ||||
| 			var p1 = Util_Mot.GetAxPXPos(eAxisPXPos.READYL); | ||||
| 			Util_Mot.Move(eAxis.X_PICKER, p1.position, 250, p1.acc, false, false, false); | ||||
| 			DialogResult = DialogResult.OK; | ||||
| 		} | ||||
|  | ||||
| 		private void button2_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			if (CheckSafty() == false) return; | ||||
| 			var p1 = Util_Mot.GetAxPXPos(eAxisPXPos.PICKON); | ||||
| 			Util_Mot.Move(eAxis.X_PICKER, p1.position, 250, p1.acc, false, false, false); | ||||
| 			DialogResult = DialogResult.OK; | ||||
| 		} | ||||
|  | ||||
| 		private void button4_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			if (CheckSafty() == false) return; | ||||
| 			var p1 = Util_Mot.GetAxPXPos(eAxisPXPos.READYR); | ||||
| 			Util_Mot.Move(eAxis.X_PICKER, p1.position, 250, p1.acc, false, false, false); | ||||
| 			DialogResult = DialogResult.OK; | ||||
| 		} | ||||
|  | ||||
| 		private void button5_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			if (CheckSafty() == false) return; | ||||
| 			var p1 = Util_Mot.GetAxPXPos(eAxisPXPos.PICKOFFR); | ||||
| 			Util_Mot.Move(eAxis.X_PICKER, p1.position, 250, p1.acc, false, false, false); | ||||
| 			DialogResult = DialogResult.OK; | ||||
| 		} | ||||
|  | ||||
| 		private void button8_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			Pub.mot.MoveStop("pmove", (int)eAxis.X_PICKER); | ||||
| 		} | ||||
|  | ||||
| 		private void button6_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			//jog left | ||||
| 		} | ||||
|  | ||||
| 		private void button7_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			//jog right | ||||
| 		} | ||||
|  | ||||
| 		private void button6_MouseDown(object sender, MouseEventArgs e) | ||||
| 		{ | ||||
| 			//조그시작 | ||||
| 			var bt = sender as Button; | ||||
| 			if (bt.Text.Contains( "<<")) Pub.mot.JOG((short)eAxis.X_PICKER, arDev.AzinAxt.eMotionDirection.Negative); | ||||
| 			else Pub.mot.JOG((short)eAxis.X_PICKER, arDev.AzinAxt.eMotionDirection.Positive); | ||||
| 		} | ||||
|  | ||||
| 		private void button6_MouseUp(object sender, MouseEventArgs e) | ||||
| 		{ | ||||
| 			//마우스 놓으면 멈춤 | ||||
| 			Pub.mot.MoveStop("pmove", (short)eAxis.X_PICKER); | ||||
| 		} | ||||
|  | ||||
| 		private void button9_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
|  | ||||
| 			//왼쪽검증취소 | ||||
| 		//	if (Pub.flag.get(eFlag.RDY_VISION0) == false) return; | ||||
| 			var dlg = Util.MsgQ("QR코드 검증을 취소할까요?"); | ||||
| 			if (dlg != DialogResult.Yes) return; | ||||
|  | ||||
| 			Pub.flag.set(eFlag.RDY_VISION0, false, "CANCEL"); | ||||
| 			Pub.flag.set(eFlag.PORTL_ITEMON, false, "CANCEL"); | ||||
| 			Pub.ResetRunStepSeq(eRunSequence.VISION0); | ||||
| 			Pub.UpdaterunStepSeqStartTime(eRunSequence.COM_VS0); | ||||
| 			Pub.log.Add(string.Format("QR검증({0}) 취소 JGUID={1}", "L", Pub.Result.ItemData[0].guid)); | ||||
| 			UpdateDatabase(0); | ||||
| 			DialogResult = DialogResult.OK; | ||||
| 		} | ||||
|  | ||||
| 		private void button10_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			//왼쪽검증취소 | ||||
| 			//if (Pub.flag.get(eFlag.RDY_VISION0) == false) return; | ||||
| 			var dlg = Util.MsgQ("QR코드 검증을 취소할까요?"); | ||||
| 			if (dlg != DialogResult.Yes) return; | ||||
|  | ||||
| 			Pub.flag.set(eFlag.RDY_VISION2, false, "CANCEL"); | ||||
| 			Pub.flag.set(eFlag.PORTR_ITEMON, false, "CANCEL"); | ||||
| 			Pub.ResetRunStepSeq(eRunSequence.VISION2); | ||||
| 			Pub.UpdaterunStepSeqStartTime(eRunSequence.COM_VS2); | ||||
| 			Pub.log.Add(string.Format("QR검증({0}) 취소 JGUID={1}", "R", Pub.Result.ItemData[2].guid)); | ||||
|  | ||||
| 			UpdateDatabase(2); | ||||
| 			DialogResult = DialogResult.OK; | ||||
| 		} | ||||
|  | ||||
| 		void UpdateDatabase(int vidx) | ||||
| 		{ | ||||
| 			//취소상태를 DB에도 남긴다. | ||||
| 			using (var db = new EEEntities()) | ||||
| 			{ | ||||
| 				var itemdata = Pub.Result.ItemData[vidx]; | ||||
| 				var dr = db.Component_Reel_Result.AsNoTracking().Where(t => t.JGUID == itemdata.guid).FirstOrDefault(); | ||||
| 				if (dr == null) | ||||
| 				{ | ||||
| 					var ermsg = string.Format("다음 guid 를 찾을수 없어 검증취소 를 변경하지 못함 vidx={2},guid={0},sid={1}", itemdata.guid, itemdata.VisionData.SID, vidx); | ||||
| 					Pub.AddDebugLog(ermsg, true); | ||||
| 					Pub.log.AddE(ermsg); | ||||
| 				} | ||||
| 				else | ||||
| 				{ | ||||
| 					dr.ANGLE = itemdata.VisionData.ApplyAngle; //210331 - 도중에 사용자 angle 이 있다면 그것이 적용되었음 | ||||
| 					dr.PRNVALID = false; | ||||
| 					dr.REMARK = "검증취소"; | ||||
| 					db.SaveChanges(); | ||||
| 				} | ||||
| 			} | ||||
| 		} | ||||
|  | ||||
| 		private void button11_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			//관리위치L | ||||
| 			MoveMangePos(0); | ||||
| 		} | ||||
|  | ||||
| 		private void button13_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			//관리위치 | ||||
| 			MoveMangePos(2); | ||||
| 		} | ||||
|  | ||||
| 		Boolean ManPosL = false; | ||||
|  | ||||
| 		void MoveMangePos(int vidx) | ||||
| 		{ | ||||
| 			if (Pub.sm.Step != StateMachine.eSMStep.IDLE) | ||||
| 			{ | ||||
| 				Util.MsgE("대기상태에서만 사용 가능 합니다"); | ||||
| 				return; | ||||
| 			} | ||||
| 			var Xpos = Util_Mot.GetPKX_PosName(); | ||||
| 			if (Xpos != ePickYPosition.PICKON) | ||||
| 			{ | ||||
| 				Util.MsgE("피커위치가 중앙에서만 사용 가능 합니다"); | ||||
| 				return; | ||||
| 			} | ||||
|  | ||||
| 			Task.Run(new Action(() => | ||||
| 			{ | ||||
| 				//Z축을 Ready 위치로 이동한다. | ||||
| 				if (vidx == 0) | ||||
| 				{ | ||||
| 					var zPos = Util_Mot.GetAxPLZPos(eAxisPLUPDNPos.READY); | ||||
| 					Util_Mot.Move(eAxis.PL_UPDN, zPos.position, zPos.speed, zPos.acc); | ||||
| 					while (Util_Mot.GetPLZ_PosName() != ePrintZPosition.READY) | ||||
| 						System.Threading.Thread.Sleep(10); | ||||
|  | ||||
| 					var mPos = Util_Mot.GetAxPLMPos(eAxisPLMovePos.PRINTL07); | ||||
| 					Util_Mot.Move(eAxis.PL_MOVE, mPos.position, mPos.speed, mPos.acc); | ||||
| 					while (Util_Mot.GetPLM_PosName() != ePrintYPosition.PRINTL07) | ||||
| 						System.Threading.Thread.Sleep(10); | ||||
|  | ||||
| 					var zPos2 = Util_Mot.GetAxPLZPos(eAxisPLUPDNPos.PICKOFF); | ||||
| 					var tPos = (zPos2.position / 2f); | ||||
| 					Util_Mot.Move(eAxis.PL_UPDN, tPos, zPos.speed, zPos.acc); | ||||
| 					ManPosL = true; | ||||
| 				} | ||||
| 				else | ||||
| 				{ | ||||
| 					var zPos = Util_Mot.GetAxPRZPos(eAxisPRUPDNPos.READY); | ||||
| 					Util_Mot.Move(eAxis.PR_UPDN, zPos.position, zPos.speed, zPos.acc); | ||||
| 					while (Util_Mot.GetPRZ_PosName() != ePrintZPosition.READY) | ||||
| 						System.Threading.Thread.Sleep(10); | ||||
|  | ||||
| 					var mPos = Util_Mot.GetAxPRMPos(eAxisPRMovePos.PRINTL07); | ||||
| 					Util_Mot.Move(eAxis.PR_MOVE, mPos.position, mPos.speed, mPos.acc); | ||||
| 					while (Util_Mot.GetPRM_PosName() != ePrintYPosition.PRINTL07) | ||||
| 						System.Threading.Thread.Sleep(10); | ||||
|  | ||||
| 					var zPos2 = Util_Mot.GetAxPRZPos(eAxisPRUPDNPos.PICKOFF); | ||||
| 					var tPos = (zPos2.position / 2f); | ||||
| 					Util_Mot.Move(eAxis.PR_UPDN, tPos, zPos.speed, zPos.acc); | ||||
| 					//ManPosR = true; | ||||
| 				} | ||||
|  | ||||
| 			})); | ||||
| 		} | ||||
|  | ||||
| 		private void button12_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			var Xpos = Util_Mot.GetPKX_PosName(); | ||||
| 			if (Xpos != ePickYPosition.PICKON) | ||||
| 			{ | ||||
| 				Util.MsgE("피커위치가 중앙에서만 사용 가능 합니다"); | ||||
| 				return; | ||||
| 			} | ||||
|  | ||||
| 			//위치복귀 | ||||
| 			PosRecover(0); | ||||
| 			PosRecover(2); | ||||
| 		} | ||||
|  | ||||
| 		void PosRecover(int vidx) | ||||
| 		{ | ||||
| 			Task.Run(new Action(() => | ||||
| 			{ | ||||
| 				//Z축을 Ready 위치로 이동한다. | ||||
| 				if (vidx == 0) | ||||
| 				{ | ||||
| 					var zPos = Util_Mot.GetAxPLZPos(eAxisPLUPDNPos.READY); | ||||
| 					Util_Mot.Move(eAxis.PL_UPDN, zPos.position, zPos.speed, zPos.acc); | ||||
| 					while (Util_Mot.GetPLZ_PosName() != ePrintZPosition.READY) | ||||
| 						System.Threading.Thread.Sleep(10); | ||||
|  | ||||
| 					var mPos = Util_Mot.GetAxPLMPos(eAxisPLMovePos.READY); | ||||
| 					Util_Mot.Move(eAxis.PL_MOVE, mPos.position, mPos.speed, mPos.acc); | ||||
| 					while (Util_Mot.GetPLM_PosName() != ePrintYPosition.READY) | ||||
| 						System.Threading.Thread.Sleep(10); | ||||
|  | ||||
| 					 | ||||
| 					ManPosL = false; | ||||
| 				} | ||||
| 				else | ||||
| 				{ | ||||
| 					var zPos = Util_Mot.GetAxPRZPos(eAxisPRUPDNPos.READY); | ||||
| 					Util_Mot.Move(eAxis.PR_UPDN, zPos.position, zPos.speed, zPos.acc); | ||||
| 					while (Util_Mot.GetPRZ_PosName() != ePrintZPosition.READY) | ||||
| 						System.Threading.Thread.Sleep(10); | ||||
|  | ||||
| 					var mPos = Util_Mot.GetAxPRMPos(eAxisPRMovePos.READY); | ||||
| 					Util_Mot.Move(eAxis.PR_MOVE, mPos.position, mPos.speed, mPos.acc); | ||||
| 					while (Util_Mot.GetPRM_PosName() != ePrintYPosition.PRINTL07) | ||||
| 						System.Threading.Thread.Sleep(10); | ||||
|  | ||||
| 					//ManPosR = false; | ||||
| 				} | ||||
|  | ||||
| 			})); | ||||
| 		} | ||||
|  | ||||
| 		private void timer1_Tick(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			//모션홈이 안잡혀있다면 이동 기능은 OFf한다 | ||||
| 			btl.Enabled = !Pub.mot.hasHomeSetOff; | ||||
| 			btlw.Enabled = !Pub.mot.hasHomeSetOff; | ||||
| 			btc.Enabled = !Pub.mot.hasHomeSetOff; | ||||
| 			btrw.Enabled = !Pub.mot.hasHomeSetOff; | ||||
| 			btr.Enabled = !Pub.mot.hasHomeSetOff; | ||||
|  | ||||
| 			this.button11.Enabled = !Pub.mot.hasHomeSetOff; | ||||
| 			this.button12.Enabled = !Pub.mot.hasHomeSetOff; | ||||
| 			this.button13.Enabled = !Pub.mot.hasHomeSetOff; | ||||
|  | ||||
| 			this.button8.BackColor = Util_DO.GetIOInput(eDIName.PICKER_SAFE) ? Color.Lime : Color.Tomato; | ||||
|  | ||||
|  | ||||
| 		} | ||||
|  | ||||
| 		private void button2_Click_1(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			Pub.PrinterL.TestPrint( Pub.setting.DrawOutbox,"","",Pub.setting.STDLabelFormat7); | ||||
| 			Pub.log.Add("임시프린트L:" + Pub.PrinterL.LastPrintZPL); | ||||
| 		} | ||||
|  | ||||
| 		private void button4_Click_1(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			Pub.PrinterR.TestPrint(Pub.setting.DrawOutbox, "", "", Pub.setting.STDLabelFormat7); | ||||
| 			Pub.log.Add("임시프린트R:" + Pub.PrinterR.LastPrintZPL); | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
							
								
								
									
										126
									
								
								Handler/Project_form2/Dialog/fPickerMove.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										126
									
								
								Handler/Project_form2/Dialog/fPickerMove.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,126 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <metadata name="button10.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
| </root> | ||||
							
								
								
									
										224
									
								
								Handler/Project_form2/Dialog/fSIDQty.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										224
									
								
								Handler/Project_form2/Dialog/fSIDQty.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,224 @@ | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     partial class fSIDQty | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// Required designer variable. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Clean up any resources being used. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region Windows Form Designer generated code | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Required method for Designer support - do not modify | ||||
|         /// the contents of this method with the code editor. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
|             this.components = new System.ComponentModel.Container(); | ||||
|             this.panel1 = new System.Windows.Forms.Panel(); | ||||
|             this.label1 = new System.Windows.Forms.Label(); | ||||
|             this.label2 = new System.Windows.Forms.Label(); | ||||
|             this.panel2 = new System.Windows.Forms.Panel(); | ||||
|             this.label3 = new System.Windows.Forms.Label(); | ||||
|             this.label4 = new System.Windows.Forms.Label(); | ||||
|             this.listView1 = new System.Windows.Forms.ListView(); | ||||
|             this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||
|             this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||
|             this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); | ||||
|             this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||
|             this.label5 = new System.Windows.Forms.Label(); | ||||
|             this.panel1.SuspendLayout(); | ||||
|             this.panel2.SuspendLayout(); | ||||
|             this.contextMenuStrip1.SuspendLayout(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // panel1 | ||||
|             //  | ||||
|             this.panel1.Controls.Add(this.label2); | ||||
|             this.panel1.Controls.Add(this.label1); | ||||
|             this.panel1.Dock = System.Windows.Forms.DockStyle.Top; | ||||
|             this.panel1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); | ||||
|             this.panel1.Name = "panel1"; | ||||
|             this.panel1.Padding = new System.Windows.Forms.Padding(3); | ||||
|             this.panel1.Size = new System.Drawing.Size(327, 40); | ||||
|             this.panel1.TabIndex = 0; | ||||
|             //  | ||||
|             // label1 | ||||
|             //  | ||||
|             this.label1.Dock = System.Windows.Forms.DockStyle.Left; | ||||
|             this.label1.Location = new System.Drawing.Point(3, 3); | ||||
|             this.label1.Name = "label1"; | ||||
|             this.label1.Size = new System.Drawing.Size(75, 34); | ||||
|             this.label1.TabIndex = 0; | ||||
|             this.label1.Text = "DATE"; | ||||
|             this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             this.label1.Click += new System.EventHandler(this.label1_Click); | ||||
|             //  | ||||
|             // label2 | ||||
|             //  | ||||
|             this.label2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200))))); | ||||
|             this.label2.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.label2.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.label2.Location = new System.Drawing.Point(78, 3); | ||||
|             this.label2.Name = "label2"; | ||||
|             this.label2.Size = new System.Drawing.Size(246, 34); | ||||
|             this.label2.TabIndex = 1; | ||||
|             this.label2.Text = "label2"; | ||||
|             this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             this.label2.Click += new System.EventHandler(this.label2_Click); | ||||
|             //  | ||||
|             // panel2 | ||||
|             //  | ||||
|             this.panel2.Controls.Add(this.label3); | ||||
|             this.panel2.Controls.Add(this.label5); | ||||
|             this.panel2.Controls.Add(this.label4); | ||||
|             this.panel2.Dock = System.Windows.Forms.DockStyle.Top; | ||||
|             this.panel2.Location = new System.Drawing.Point(0, 40); | ||||
|             this.panel2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); | ||||
|             this.panel2.Name = "panel2"; | ||||
|             this.panel2.Padding = new System.Windows.Forms.Padding(3); | ||||
|             this.panel2.Size = new System.Drawing.Size(327, 40); | ||||
|             this.panel2.TabIndex = 1; | ||||
|             //  | ||||
|             // label3 | ||||
|             //  | ||||
|             this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200))))); | ||||
|             this.label3.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.label3.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.label3.Location = new System.Drawing.Point(78, 3); | ||||
|             this.label3.Name = "label3"; | ||||
|             this.label3.Size = new System.Drawing.Size(171, 34); | ||||
|             this.label3.TabIndex = 1; | ||||
|             this.label3.Text = "label3"; | ||||
|             this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             //  | ||||
|             // label4 | ||||
|             //  | ||||
|             this.label4.Dock = System.Windows.Forms.DockStyle.Left; | ||||
|             this.label4.Location = new System.Drawing.Point(3, 3); | ||||
|             this.label4.Name = "label4"; | ||||
|             this.label4.Size = new System.Drawing.Size(75, 34); | ||||
|             this.label4.TabIndex = 0; | ||||
|             this.label4.Text = "NO"; | ||||
|             this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             //  | ||||
|             // listView1 | ||||
|             //  | ||||
|             this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { | ||||
|             this.columnHeader1, | ||||
|             this.columnHeader2, | ||||
|             this.columnHeader3}); | ||||
|             this.listView1.ContextMenuStrip = this.contextMenuStrip1; | ||||
|             this.listView1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.listView1.FullRowSelect = true; | ||||
|             this.listView1.GridLines = true; | ||||
|             this.listView1.HideSelection = false; | ||||
|             this.listView1.Location = new System.Drawing.Point(0, 80); | ||||
|             this.listView1.MultiSelect = false; | ||||
|             this.listView1.Name = "listView1"; | ||||
|             this.listView1.Size = new System.Drawing.Size(327, 326); | ||||
|             this.listView1.TabIndex = 2; | ||||
|             this.listView1.UseCompatibleStateImageBehavior = false; | ||||
|             this.listView1.View = System.Windows.Forms.View.Details; | ||||
|             //  | ||||
|             // columnHeader1 | ||||
|             //  | ||||
|             this.columnHeader1.Text = "SID"; | ||||
|             this.columnHeader1.Width = 160; | ||||
|             //  | ||||
|             // columnHeader2 | ||||
|             //  | ||||
|             this.columnHeader2.Text = "KPC"; | ||||
|             this.columnHeader2.Width = 80; | ||||
|             //  | ||||
|             // contextMenuStrip1 | ||||
|             //  | ||||
|             this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.deleteToolStripMenuItem}); | ||||
|             this.contextMenuStrip1.Name = "contextMenuStrip1"; | ||||
|             this.contextMenuStrip1.Size = new System.Drawing.Size(109, 26); | ||||
|             //  | ||||
|             // deleteToolStripMenuItem | ||||
|             //  | ||||
|             this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; | ||||
|             this.deleteToolStripMenuItem.Size = new System.Drawing.Size(180, 22); | ||||
|             this.deleteToolStripMenuItem.Text = "Delete"; | ||||
|             this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // columnHeader3 | ||||
|             //  | ||||
|             this.columnHeader3.Text = "Rev"; | ||||
|             this.columnHeader3.Width = 80; | ||||
|             //  | ||||
|             // label5 | ||||
|             //  | ||||
|             this.label5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.label5.Dock = System.Windows.Forms.DockStyle.Right; | ||||
|             this.label5.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.label5.ForeColor = System.Drawing.Color.White; | ||||
|             this.label5.Location = new System.Drawing.Point(249, 3); | ||||
|             this.label5.Name = "label5"; | ||||
|             this.label5.Size = new System.Drawing.Size(75, 34); | ||||
|             this.label5.TabIndex = 2; | ||||
|             this.label5.Text = "KPC"; | ||||
|             this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             //  | ||||
|             // fSIDQty | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(327, 406); | ||||
|             this.Controls.Add(this.listView1); | ||||
|             this.Controls.Add(this.panel2); | ||||
|             this.Controls.Add(this.panel1); | ||||
|             this.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; | ||||
|             this.KeyPreview = true; | ||||
|             this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); | ||||
|             this.MaximizeBox = false; | ||||
|             this.MinimizeBox = false; | ||||
|             this.Name = "fSIDQty"; | ||||
|             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
|             this.Text = "SID QTY"; | ||||
|             this.TopMost = true; | ||||
|             this.Load += new System.EventHandler(this.fSIDQty_Load); | ||||
|             this.panel1.ResumeLayout(false); | ||||
|             this.panel2.ResumeLayout(false); | ||||
|             this.contextMenuStrip1.ResumeLayout(false); | ||||
|             this.ResumeLayout(false); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|  | ||||
|         private System.Windows.Forms.Panel panel1; | ||||
|         private System.Windows.Forms.Label label1; | ||||
|         private System.Windows.Forms.Label label2; | ||||
|         private System.Windows.Forms.Panel panel2; | ||||
|         private System.Windows.Forms.Label label3; | ||||
|         private System.Windows.Forms.Label label4; | ||||
|         private System.Windows.Forms.ListView listView1; | ||||
|         private System.Windows.Forms.ColumnHeader columnHeader1; | ||||
|         private System.Windows.Forms.ColumnHeader columnHeader2; | ||||
|         private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; | ||||
|         private System.Windows.Forms.ToolStripMenuItem deleteToolStripMenuItem; | ||||
|         private System.Windows.Forms.ColumnHeader columnHeader3; | ||||
|         private System.Windows.Forms.Label label5; | ||||
|     } | ||||
| } | ||||
							
								
								
									
										71
									
								
								Handler/Project_form2/Dialog/fSIDQty.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										71
									
								
								Handler/Project_form2/Dialog/fSIDQty.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,71 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     public partial class fSIDQty : Form | ||||
|     { | ||||
|         public fSIDQty(string JobSeqDate, string JobSeqNo) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             var SIDHistoryFiles = Pub.dbmSidHistory.Getfiles(JobSeqDate, JobSeqNo); | ||||
|             label2.Text = JobSeqDate; | ||||
|             label3.Text = JobSeqNo; | ||||
|             label5.Text = "--"; | ||||
|             this.listView1.Items.Clear(); | ||||
|  | ||||
|             if (SIDHistoryFiles != null) | ||||
|                 foreach (var file in SIDHistoryFiles) | ||||
|                 { | ||||
|                     var DT = Pub.dbmSidHistory.GetDatas(new System.IO.FileInfo[] { file }); | ||||
|                     var dr = DT.FirstOrDefault(); | ||||
|                     label5.Text = dr.rev.ToString(); | ||||
|                     var kpc = DT.Sum(t => t.qty) / 1000; | ||||
|                     var lv = this.listView1.Items.Add(dr.sid); | ||||
|                     lv.SubItems.Add(kpc.ToString()); | ||||
|                     lv.SubItems.Add(dr.rev.ToString()); | ||||
|                     lv.Tag = file.FullName; | ||||
|                     if (dr.rev > 0 &&  kpc > dr.rev) lv.ForeColor = Color.Red; | ||||
|                 } | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void fSIDQty_Load(object sender, EventArgs e) | ||||
|         { | ||||
|             this.KeyDown += FSIDQty_KeyDown; | ||||
|         } | ||||
|  | ||||
|         private void FSIDQty_KeyDown(object sender, KeyEventArgs e) | ||||
|         { | ||||
|             if (e.KeyCode == Keys.Escape) this.Close(); | ||||
|         } | ||||
|  | ||||
|         private void label1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void label2_Click(object sender, EventArgs e) | ||||
|         { | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void deleteToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             if (this.listView1.FocusedItem == null) return; | ||||
|             var file = this.listView1.FocusedItem.Tag.ToString(); | ||||
|             var dlg = Util.MsgQ(string.Format("다음 파일을 삭제 하시겠습니까?\n{0}", file)); | ||||
|             if (dlg != DialogResult.Yes) return; | ||||
|             System.IO.File.Delete(file); | ||||
|             this.listView1.Items.Remove(this.listView1.FocusedItem); | ||||
|  | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										123
									
								
								Handler/Project_form2/Dialog/fSIDQty.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										123
									
								
								Handler/Project_form2/Dialog/fSIDQty.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,123 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
| </root> | ||||
							
								
								
									
										101
									
								
								Handler/Project_form2/Dialog/fSelectCustInfo.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										101
									
								
								Handler/Project_form2/Dialog/fSelectCustInfo.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,101 @@ | ||||
| namespace Project.Dialog | ||||
| { | ||||
| 	partial class fSelectCustInfo | ||||
| 	{ | ||||
| 		/// <summary> | ||||
| 		/// Required designer variable. | ||||
| 		/// </summary> | ||||
| 		private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
| 		/// <summary> | ||||
| 		/// Clean up any resources being used. | ||||
| 		/// </summary> | ||||
| 		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
| 		protected override void Dispose(bool disposing) | ||||
| 		{ | ||||
| 			if (disposing && (components != null)) | ||||
| 			{ | ||||
| 				components.Dispose(); | ||||
| 			} | ||||
| 			base.Dispose(disposing); | ||||
| 		} | ||||
|  | ||||
| 		#region Windows Form Designer generated code | ||||
|  | ||||
| 		/// <summary> | ||||
| 		/// Required method for Designer support - do not modify | ||||
| 		/// the contents of this method with the code editor. | ||||
| 		/// </summary> | ||||
| 		private void InitializeComponent() | ||||
| 		{ | ||||
| 			this.listView1 = new System.Windows.Forms.ListView(); | ||||
| 			this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||
| 			this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||
| 			this.btOK = new System.Windows.Forms.Button(); | ||||
| 			this.SuspendLayout(); | ||||
| 			//  | ||||
| 			// listView1 | ||||
| 			//  | ||||
| 			this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { | ||||
|             this.columnHeader1, | ||||
|             this.columnHeader2}); | ||||
| 			this.listView1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.listView1.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
| 			this.listView1.FullRowSelect = true; | ||||
| 			this.listView1.GridLines = true; | ||||
| 			this.listView1.Location = new System.Drawing.Point(0, 0); | ||||
| 			this.listView1.MultiSelect = false; | ||||
| 			this.listView1.Name = "listView1"; | ||||
| 			this.listView1.Size = new System.Drawing.Size(499, 400); | ||||
| 			this.listView1.TabIndex = 0; | ||||
| 			this.listView1.UseCompatibleStateImageBehavior = false; | ||||
| 			this.listView1.View = System.Windows.Forms.View.Details; | ||||
| 			//  | ||||
| 			// columnHeader1 | ||||
| 			//  | ||||
| 			this.columnHeader1.Text = "Code"; | ||||
| 			this.columnHeader1.Width = 130; | ||||
| 			//  | ||||
| 			// columnHeader2 | ||||
| 			//  | ||||
| 			this.columnHeader2.Text = "Customer Name"; | ||||
| 			this.columnHeader2.Width = 360; | ||||
| 			//  | ||||
| 			// btOK | ||||
| 			//  | ||||
| 			this.btOK.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
| 			this.btOK.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Bold); | ||||
| 			this.btOK.Location = new System.Drawing.Point(0, 400); | ||||
| 			this.btOK.Margin = new System.Windows.Forms.Padding(8, 13, 8, 13); | ||||
| 			this.btOK.Name = "btOK"; | ||||
| 			this.btOK.Size = new System.Drawing.Size(499, 50); | ||||
| 			this.btOK.TabIndex = 19; | ||||
| 			this.btOK.Text = "확인"; | ||||
| 			this.btOK.UseVisualStyleBackColor = true; | ||||
| 			this.btOK.Click += new System.EventHandler(this.btOK_Click); | ||||
| 			//  | ||||
| 			// fSelectCustInfo | ||||
| 			//  | ||||
| 			this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
| 			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
| 			this.ClientSize = new System.Drawing.Size(499, 450); | ||||
| 			this.Controls.Add(this.listView1); | ||||
| 			this.Controls.Add(this.btOK); | ||||
| 			this.MaximizeBox = false; | ||||
| 			this.MinimizeBox = false; | ||||
| 			this.Name = "fSelectCustInfo"; | ||||
| 			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
| 			this.Text = "Select Customer"; | ||||
| 			this.Load += new System.EventHandler(this.fSelectCustInfo_Load); | ||||
| 			this.ResumeLayout(false); | ||||
|  | ||||
| 		} | ||||
|  | ||||
| 		#endregion | ||||
|  | ||||
| 		private System.Windows.Forms.ListView listView1; | ||||
| 		private System.Windows.Forms.ColumnHeader columnHeader1; | ||||
| 		private System.Windows.Forms.ColumnHeader columnHeader2; | ||||
| 		private System.Windows.Forms.Button btOK; | ||||
| 	} | ||||
| } | ||||
							
								
								
									
										46
									
								
								Handler/Project_form2/Dialog/fSelectCustInfo.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								Handler/Project_form2/Dialog/fSelectCustInfo.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,46 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
| 	public partial class fSelectCustInfo : Form | ||||
| 	{ | ||||
| 		public string CustCode, CustName; | ||||
| 		public fSelectCustInfo() | ||||
| 		{ | ||||
| 			InitializeComponent(); | ||||
| 		} | ||||
|  | ||||
| 		private void fSelectCustInfo_Load(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			this.Show(); | ||||
| 			Application.DoEvents(); | ||||
|  | ||||
| 			var db = new EEEntities(); | ||||
| 			var list = db.vCustomerList.OrderBy(t => t.CustName).ToList(); // (t => t.manu).ToList(); | ||||
| 			this.listView1.Items.Clear(); | ||||
| 			foreach(var item in list) | ||||
| 			{ | ||||
| 				var lv = this.listView1.Items.Add(item.CustCode); | ||||
| 				lv.SubItems.Add(item.CustName); | ||||
| 			} | ||||
| 		} | ||||
|  | ||||
| 		private void btOK_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			if (this.listView1.FocusedItem == null) | ||||
| 				return; | ||||
|  | ||||
| 			this.CustCode = this.listView1.FocusedItem.SubItems[0].Text; | ||||
| 			this.CustName = this.listView1.FocusedItem.SubItems[1].Text; | ||||
| 			DialogResult = DialogResult.OK; | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
							
								
								
									
										120
									
								
								Handler/Project_form2/Dialog/fSelectCustInfo.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										120
									
								
								Handler/Project_form2/Dialog/fSelectCustInfo.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,120 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
| </root> | ||||
							
								
								
									
										78
									
								
								Handler/Project_form2/Dialog/fSelectDataList.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										78
									
								
								Handler/Project_form2/Dialog/fSelectDataList.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,78 @@ | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     partial class fSelectDataList | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// Required designer variable. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Clean up any resources being used. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region Windows Form Designer generated code | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Required method for Designer support - do not modify | ||||
|         /// the contents of this method with the code editor. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
|             this.listBox1 = new System.Windows.Forms.ListBox(); | ||||
|             this.button1 = new System.Windows.Forms.Button(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // listBox1 | ||||
|             //  | ||||
|             this.listBox1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.listBox1.FormattingEnabled = true; | ||||
|             this.listBox1.ItemHeight = 40; | ||||
|             this.listBox1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.listBox1.Name = "listBox1"; | ||||
|             this.listBox1.Size = new System.Drawing.Size(398, 392); | ||||
|             this.listBox1.TabIndex = 0; | ||||
|             //  | ||||
|             // button1 | ||||
|             //  | ||||
|             this.button1.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
|             this.button1.Location = new System.Drawing.Point(0, 392); | ||||
|             this.button1.Name = "button1"; | ||||
|             this.button1.Size = new System.Drawing.Size(398, 55); | ||||
|             this.button1.TabIndex = 1; | ||||
|             this.button1.Text = "선택 확인"; | ||||
|             this.button1.UseVisualStyleBackColor = true; | ||||
|             this.button1.Click += new System.EventHandler(this.button1_Click); | ||||
|             //  | ||||
|             // fSelectDataList | ||||
|             //  | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | ||||
|             this.ClientSize = new System.Drawing.Size(398, 447); | ||||
|             this.Controls.Add(this.listBox1); | ||||
|             this.Controls.Add(this.button1); | ||||
|             this.Font = new System.Drawing.Font("맑은 고딕", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.MaximizeBox = false; | ||||
|             this.MinimizeBox = false; | ||||
|             this.Name = "fSelectDataList"; | ||||
|             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
|             this.Text = "목록을 선택하세요"; | ||||
|             this.Load += new System.EventHandler(this.fSelectDataList_Load); | ||||
|             this.ResumeLayout(false); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|  | ||||
|         private System.Windows.Forms.ListBox listBox1; | ||||
|         private System.Windows.Forms.Button button1; | ||||
|     } | ||||
| } | ||||
							
								
								
									
										47
									
								
								Handler/Project_form2/Dialog/fSelectDataList.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								Handler/Project_form2/Dialog/fSelectDataList.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,47 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     public partial class fSelectDataList : Form | ||||
|     { | ||||
|         public string SelectedValue = string.Empty; | ||||
|         public fSelectDataList(string[] list) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             this.listBox1.Items.Clear(); | ||||
|             foreach (var item in list) | ||||
|                 this.listBox1.Items.Add(item); | ||||
|             this.KeyDown += FSelectDataList_KeyDown; | ||||
|         } | ||||
|  | ||||
|         private void FSelectDataList_KeyDown(object sender, KeyEventArgs e) | ||||
|         { | ||||
|             if (e.KeyCode == Keys.Escape) this.Close(); | ||||
|         } | ||||
|  | ||||
|         private void fSelectDataList_Load(object sender, EventArgs e) | ||||
|         { | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void button1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             if (this.listBox1.SelectedIndex < 0) | ||||
|             { | ||||
|                 Util.MsgE("아이템을 선택하세요\n\n취소하려면 ESC키 혹은 닫기 버튼을 누르세요"); | ||||
|                 return; | ||||
|             } | ||||
|             this.SelectedValue = this.listBox1.Items[this.listBox1.SelectedIndex].ToString(); | ||||
|             this.DialogResult = DialogResult.OK; | ||||
|  | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										120
									
								
								Handler/Project_form2/Dialog/fSelectDataList.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										120
									
								
								Handler/Project_form2/Dialog/fSelectDataList.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,120 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
| </root> | ||||
							
								
								
									
										74
									
								
								Handler/Project_form2/Dialog/fSelectDay.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										74
									
								
								Handler/Project_form2/Dialog/fSelectDay.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,74 @@ | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     partial class fSelectDay | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// Required designer variable. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Clean up any resources being used. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region Windows Form Designer generated code | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Required method for Designer support - do not modify | ||||
|         /// the contents of this method with the code editor. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
|             this.monthCalendar1 = new System.Windows.Forms.MonthCalendar(); | ||||
|             this.button1 = new System.Windows.Forms.Button(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // monthCalendar1 | ||||
|             //  | ||||
|             this.monthCalendar1.CalendarDimensions = new System.Drawing.Size(3, 2); | ||||
|             this.monthCalendar1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.monthCalendar1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.monthCalendar1.Name = "monthCalendar1"; | ||||
|             this.monthCalendar1.TabIndex = 0; | ||||
|             //  | ||||
|             // button1 | ||||
|             //  | ||||
|             this.button1.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
|             this.button1.Location = new System.Drawing.Point(0, 312); | ||||
|             this.button1.Name = "button1"; | ||||
|             this.button1.Size = new System.Drawing.Size(669, 61); | ||||
|             this.button1.TabIndex = 1; | ||||
|             this.button1.Text = "선택"; | ||||
|             this.button1.UseVisualStyleBackColor = true; | ||||
|             this.button1.Click += new System.EventHandler(this.button1_Click); | ||||
|             //  | ||||
|             // fSelectDay | ||||
|             //  | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | ||||
|             this.ClientSize = new System.Drawing.Size(669, 373); | ||||
|             this.Controls.Add(this.button1); | ||||
|             this.Controls.Add(this.monthCalendar1); | ||||
|             this.MaximizeBox = false; | ||||
|             this.MinimizeBox = false; | ||||
|             this.Name = "fSelectDay"; | ||||
|             this.Text = "fSelectDay"; | ||||
|             this.Load += new System.EventHandler(this.fSelectDay_Load); | ||||
|             this.ResumeLayout(false); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|  | ||||
|         private System.Windows.Forms.MonthCalendar monthCalendar1; | ||||
|         private System.Windows.Forms.Button button1; | ||||
|     } | ||||
| } | ||||
							
								
								
									
										35
									
								
								Handler/Project_form2/Dialog/fSelectDay.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								Handler/Project_form2/Dialog/fSelectDay.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,35 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     public partial class fSelectDay : Form | ||||
|     { | ||||
|         public DateTime dt { get; set; } | ||||
|         public fSelectDay(DateTime dt_) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             this.dt = dt_; | ||||
|             this.StartPosition = FormStartPosition.CenterScreen; | ||||
|         } | ||||
|  | ||||
|         private void fSelectDay_Load(object sender, EventArgs e) | ||||
|         { | ||||
|             this.monthCalendar1.SelectionStart = this.dt; | ||||
|             this.monthCalendar1.SelectionEnd = this.dt; | ||||
|         } | ||||
|  | ||||
|         private void button1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             this.dt = this.monthCalendar1.SelectionStart; | ||||
|             DialogResult = DialogResult.OK; | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										120
									
								
								Handler/Project_form2/Dialog/fSelectDay.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										120
									
								
								Handler/Project_form2/Dialog/fSelectDay.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,120 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
| </root> | ||||
							
								
								
									
										751
									
								
								Handler/Project_form2/Dialog/fSelectJob.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										751
									
								
								Handler/Project_form2/Dialog/fSelectJob.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,751 @@ | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     partial class fSelectJob | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// Required designer variable. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Clean up any resources being used. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region Windows Form Designer generated code | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Required method for Designer support - do not modify | ||||
|         /// the contents of this method with the code editor. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fSelectJob)); | ||||
|             this.panTitleBar = new System.Windows.Forms.Panel(); | ||||
|             this.lbTitle = new arCtl.arLabel(); | ||||
|             this.panel2 = new System.Windows.Forms.Panel(); | ||||
|             this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); | ||||
|             this.btRe = new arCtl.arLabel(); | ||||
|             this.bt13 = new arCtl.arLabel(); | ||||
|             this.bt31 = new arCtl.arLabel(); | ||||
|             this.bt33 = new arCtl.arLabel(); | ||||
|             this.bt61 = new arCtl.arLabel(); | ||||
|             this.btManual = new arCtl.arLabel(); | ||||
|             this.label1 = new System.Windows.Forms.Label(); | ||||
|             this.groupBox1 = new System.Windows.Forms.GroupBox(); | ||||
|             this.chkQtyM = new System.Windows.Forms.CheckBox(); | ||||
|             this.chkVname = new System.Windows.Forms.CheckBox(); | ||||
|             this.chkAutoConfirm = new System.Windows.Forms.CheckBox(); | ||||
|             this.chkNew = new System.Windows.Forms.CheckBox(); | ||||
|             this.chkUpdatePart = new System.Windows.Forms.CheckBox(); | ||||
|             this.chkQty1 = new System.Windows.Forms.CheckBox(); | ||||
|             this.chkconfirm1 = new System.Windows.Forms.CheckBox(); | ||||
|             this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); | ||||
|             this.btOK = new arCtl.arLabel(); | ||||
|             this.btCancle = new arCtl.arLabel(); | ||||
|             this.cmbCustomer = new System.Windows.Forms.ComboBox(); | ||||
|             this.panel1 = new System.Windows.Forms.Panel(); | ||||
|             this.panel3 = new System.Windows.Forms.Panel(); | ||||
|             this.panTitleBar.SuspendLayout(); | ||||
|             this.panel2.SuspendLayout(); | ||||
|             this.tableLayoutPanel4.SuspendLayout(); | ||||
|             this.groupBox1.SuspendLayout(); | ||||
|             this.tableLayoutPanel3.SuspendLayout(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // panTitleBar | ||||
|             //  | ||||
|             this.panTitleBar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); | ||||
|             this.panTitleBar.Controls.Add(this.lbTitle); | ||||
|             this.panTitleBar.Dock = System.Windows.Forms.DockStyle.Top; | ||||
|             this.panTitleBar.Location = new System.Drawing.Point(10, 10); | ||||
|             this.panTitleBar.Name = "panTitleBar"; | ||||
|             this.panTitleBar.Size = new System.Drawing.Size(878, 32); | ||||
|             this.panTitleBar.TabIndex = 134; | ||||
|             //  | ||||
|             // lbTitle | ||||
|             //  | ||||
|             this.lbTitle.BackColor = System.Drawing.Color.Transparent; | ||||
|             this.lbTitle.BackColor2 = System.Drawing.Color.Transparent; | ||||
|             this.lbTitle.BackgroundImagePadding = new System.Windows.Forms.Padding(0); | ||||
|             this.lbTitle.BorderColor = System.Drawing.Color.Red; | ||||
|             this.lbTitle.BorderColorOver = System.Drawing.Color.Red; | ||||
|             this.lbTitle.BorderSize = new System.Windows.Forms.Padding(0); | ||||
|             this.lbTitle.ColorTheme = arCtl.arLabel.eColorTheme.Custom; | ||||
|             this.lbTitle.Cursor = System.Windows.Forms.Cursors.Arrow; | ||||
|             this.lbTitle.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.lbTitle.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.lbTitle.ForeColor = System.Drawing.Color.LightSkyBlue; | ||||
|             this.lbTitle.GradientEnable = true; | ||||
|             this.lbTitle.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; | ||||
|             this.lbTitle.GradientRepeatBG = false; | ||||
|             this.lbTitle.isButton = false; | ||||
|             this.lbTitle.Location = new System.Drawing.Point(0, 0); | ||||
|             this.lbTitle.MouseDownColor = System.Drawing.Color.Yellow; | ||||
|             this.lbTitle.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); | ||||
|             this.lbTitle.msg = null; | ||||
|             this.lbTitle.Name = "lbTitle"; | ||||
|             this.lbTitle.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0); | ||||
|             this.lbTitle.ProgressBorderColor = System.Drawing.Color.Black; | ||||
|             this.lbTitle.ProgressColor1 = System.Drawing.Color.LightSkyBlue; | ||||
|             this.lbTitle.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; | ||||
|             this.lbTitle.ProgressEnable = false; | ||||
|             this.lbTitle.ProgressFont = new System.Drawing.Font("Consolas", 10F); | ||||
|             this.lbTitle.ProgressForeColor = System.Drawing.Color.Black; | ||||
|             this.lbTitle.ProgressMax = 100F; | ||||
|             this.lbTitle.ProgressMin = 0F; | ||||
|             this.lbTitle.ProgressPadding = new System.Windows.Forms.Padding(0); | ||||
|             this.lbTitle.ProgressValue = 0F; | ||||
|             this.lbTitle.ShadowColor = System.Drawing.Color.WhiteSmoke; | ||||
|             this.lbTitle.Sign = ""; | ||||
|             this.lbTitle.SignAlign = System.Drawing.ContentAlignment.BottomRight; | ||||
|             this.lbTitle.SignColor = System.Drawing.Color.Yellow; | ||||
|             this.lbTitle.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); | ||||
|             this.lbTitle.Size = new System.Drawing.Size(878, 32); | ||||
|             this.lbTitle.TabIndex = 60; | ||||
|             this.lbTitle.Text = "작업 방식을 선택 하세요!"; | ||||
|             this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; | ||||
|             this.lbTitle.TextShadow = false; | ||||
|             this.lbTitle.TextVisible = true; | ||||
|             //  | ||||
|             // panel2 | ||||
|             //  | ||||
|             this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))); | ||||
|             this.panel2.Controls.Add(this.groupBox1); | ||||
|             this.panel2.Controls.Add(this.panel3); | ||||
|             this.panel2.Controls.Add(this.tableLayoutPanel4); | ||||
|             this.panel2.Controls.Add(this.label1); | ||||
|             this.panel2.Controls.Add(this.tableLayoutPanel3); | ||||
|             this.panel2.Controls.Add(this.panel1); | ||||
|             this.panel2.Controls.Add(this.cmbCustomer); | ||||
|             this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.panel2.Location = new System.Drawing.Point(10, 42); | ||||
|             this.panel2.Name = "panel2"; | ||||
|             this.panel2.Padding = new System.Windows.Forms.Padding(9, 5, 9, 7); | ||||
|             this.panel2.Size = new System.Drawing.Size(878, 751); | ||||
|             this.panel2.TabIndex = 136; | ||||
|             //  | ||||
|             // tableLayoutPanel4 | ||||
|             //  | ||||
|             this.tableLayoutPanel4.ColumnCount = 3; | ||||
|             this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); | ||||
|             this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); | ||||
|             this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); | ||||
|             this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); | ||||
|             this.tableLayoutPanel4.Controls.Add(this.btRe, 2, 0); | ||||
|             this.tableLayoutPanel4.Controls.Add(this.bt13, 0, 0); | ||||
|             this.tableLayoutPanel4.Controls.Add(this.bt31, 0, 1); | ||||
|             this.tableLayoutPanel4.Controls.Add(this.bt33, 1, 0); | ||||
|             this.tableLayoutPanel4.Controls.Add(this.bt61, 1, 1); | ||||
|             this.tableLayoutPanel4.Controls.Add(this.btManual, 2, 1); | ||||
|             this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Top; | ||||
|             this.tableLayoutPanel4.Location = new System.Drawing.Point(9, 60); | ||||
|             this.tableLayoutPanel4.Name = "tableLayoutPanel4"; | ||||
|             this.tableLayoutPanel4.RowCount = 2; | ||||
|             this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); | ||||
|             this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); | ||||
|             this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); | ||||
|             this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); | ||||
|             this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); | ||||
|             this.tableLayoutPanel4.Size = new System.Drawing.Size(860, 412); | ||||
|             this.tableLayoutPanel4.TabIndex = 22; | ||||
|             //  | ||||
|             // btRe | ||||
|             //  | ||||
|             this.btRe.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.btRe.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150))))); | ||||
|             this.btRe.BackgroundImagePadding = new System.Windows.Forms.Padding(0); | ||||
|             this.btRe.BorderColor = System.Drawing.Color.Gray; | ||||
|             this.btRe.BorderColorOver = System.Drawing.Color.Gray; | ||||
|             this.btRe.BorderSize = new System.Windows.Forms.Padding(5); | ||||
|             this.btRe.ColorTheme = arCtl.arLabel.eColorTheme.Custom; | ||||
|             this.btRe.Cursor = System.Windows.Forms.Cursors.Hand; | ||||
|             this.btRe.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.btRe.Font = new System.Drawing.Font("맑은 고딕", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.btRe.ForeColor = System.Drawing.Color.White; | ||||
|             this.btRe.GradientEnable = true; | ||||
|             this.btRe.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; | ||||
|             this.btRe.GradientRepeatBG = false; | ||||
|             this.btRe.isButton = true; | ||||
|             this.btRe.Location = new System.Drawing.Point(575, 3); | ||||
|             this.btRe.MouseDownColor = System.Drawing.Color.Yellow; | ||||
|             this.btRe.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); | ||||
|             this.btRe.msg = null; | ||||
|             this.btRe.Name = "btRe"; | ||||
|             this.btRe.ProgressBorderColor = System.Drawing.Color.Black; | ||||
|             this.btRe.ProgressColor1 = System.Drawing.Color.LightSkyBlue; | ||||
|             this.btRe.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; | ||||
|             this.btRe.ProgressEnable = false; | ||||
|             this.btRe.ProgressFont = new System.Drawing.Font("Consolas", 10F); | ||||
|             this.btRe.ProgressForeColor = System.Drawing.Color.Black; | ||||
|             this.btRe.ProgressMax = 100F; | ||||
|             this.btRe.ProgressMin = 0F; | ||||
|             this.btRe.ProgressPadding = new System.Windows.Forms.Padding(0); | ||||
|             this.btRe.ProgressValue = 0F; | ||||
|             this.btRe.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.btRe.Sign = ""; | ||||
|             this.btRe.SignAlign = System.Drawing.ContentAlignment.BottomRight; | ||||
|             this.btRe.SignColor = System.Drawing.Color.Yellow; | ||||
|             this.btRe.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); | ||||
|             this.btRe.Size = new System.Drawing.Size(282, 200); | ||||
|             this.btRe.TabIndex = 1; | ||||
|             this.btRe.Tag = "RE"; | ||||
|             this.btRe.Text = "RE.PRINT"; | ||||
|             this.btRe.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             this.btRe.TextShadow = true; | ||||
|             this.btRe.TextVisible = true; | ||||
|             this.btRe.Click += new System.EventHandler(this.btMix_Click); | ||||
|             //  | ||||
|             // bt13 | ||||
|             //  | ||||
|             this.bt13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.bt13.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150))))); | ||||
|             this.bt13.BackgroundImagePadding = new System.Windows.Forms.Padding(0); | ||||
|             this.bt13.BorderColor = System.Drawing.Color.Gray; | ||||
|             this.bt13.BorderColorOver = System.Drawing.Color.Gray; | ||||
|             this.bt13.BorderSize = new System.Windows.Forms.Padding(5); | ||||
|             this.bt13.ColorTheme = arCtl.arLabel.eColorTheme.Custom; | ||||
|             this.bt13.Cursor = System.Windows.Forms.Cursors.Hand; | ||||
|             this.bt13.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.bt13.Font = new System.Drawing.Font("맑은 고딕", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.bt13.ForeColor = System.Drawing.Color.White; | ||||
|             this.bt13.GradientEnable = true; | ||||
|             this.bt13.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; | ||||
|             this.bt13.GradientRepeatBG = false; | ||||
|             this.bt13.isButton = true; | ||||
|             this.bt13.Location = new System.Drawing.Point(3, 3); | ||||
|             this.bt13.MouseDownColor = System.Drawing.Color.Yellow; | ||||
|             this.bt13.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); | ||||
|             this.bt13.msg = new string[] { | ||||
|         "101 ", | ||||
|         "TO", | ||||
|         "103"}; | ||||
|             this.bt13.Name = "bt13"; | ||||
|             this.bt13.ProgressBorderColor = System.Drawing.Color.Black; | ||||
|             this.bt13.ProgressColor1 = System.Drawing.Color.LightSkyBlue; | ||||
|             this.bt13.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; | ||||
|             this.bt13.ProgressEnable = false; | ||||
|             this.bt13.ProgressFont = new System.Drawing.Font("Consolas", 10F); | ||||
|             this.bt13.ProgressForeColor = System.Drawing.Color.Black; | ||||
|             this.bt13.ProgressMax = 100F; | ||||
|             this.bt13.ProgressMin = 0F; | ||||
|             this.bt13.ProgressPadding = new System.Windows.Forms.Padding(0); | ||||
|             this.bt13.ProgressValue = 0F; | ||||
|             this.bt13.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.bt13.Sign = ""; | ||||
|             this.bt13.SignAlign = System.Drawing.ContentAlignment.BottomRight; | ||||
|             this.bt13.SignColor = System.Drawing.Color.Yellow; | ||||
|             this.bt13.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); | ||||
|             this.bt13.Size = new System.Drawing.Size(280, 200); | ||||
|             this.bt13.TabIndex = 1; | ||||
|             this.bt13.Tag = "13"; | ||||
|             this.bt13.Text = "SID변환"; | ||||
|             this.bt13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             this.bt13.TextShadow = true; | ||||
|             this.bt13.TextVisible = true; | ||||
|             this.bt13.Click += new System.EventHandler(this.btMix_Click); | ||||
|             //  | ||||
|             // bt31 | ||||
|             //  | ||||
|             this.bt31.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.bt31.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150))))); | ||||
|             this.bt31.BackgroundImagePadding = new System.Windows.Forms.Padding(0); | ||||
|             this.bt31.BorderColor = System.Drawing.Color.Gray; | ||||
|             this.bt31.BorderColorOver = System.Drawing.Color.Gray; | ||||
|             this.bt31.BorderSize = new System.Windows.Forms.Padding(5); | ||||
|             this.bt31.ColorTheme = arCtl.arLabel.eColorTheme.Custom; | ||||
|             this.bt31.Cursor = System.Windows.Forms.Cursors.Hand; | ||||
|             this.bt31.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.bt31.Font = new System.Drawing.Font("맑은 고딕", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.bt31.ForeColor = System.Drawing.Color.White; | ||||
|             this.bt31.GradientEnable = true; | ||||
|             this.bt31.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; | ||||
|             this.bt31.GradientRepeatBG = false; | ||||
|             this.bt31.isButton = true; | ||||
|             this.bt31.Location = new System.Drawing.Point(3, 209); | ||||
|             this.bt31.MouseDownColor = System.Drawing.Color.Yellow; | ||||
|             this.bt31.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); | ||||
|             this.bt31.msg = null; | ||||
|             this.bt31.Name = "bt31"; | ||||
|             this.bt31.ProgressBorderColor = System.Drawing.Color.Black; | ||||
|             this.bt31.ProgressColor1 = System.Drawing.Color.LightSkyBlue; | ||||
|             this.bt31.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; | ||||
|             this.bt31.ProgressEnable = false; | ||||
|             this.bt31.ProgressFont = new System.Drawing.Font("Consolas", 10F); | ||||
|             this.bt31.ProgressForeColor = System.Drawing.Color.Black; | ||||
|             this.bt31.ProgressMax = 100F; | ||||
|             this.bt31.ProgressMin = 0F; | ||||
|             this.bt31.ProgressPadding = new System.Windows.Forms.Padding(0); | ||||
|             this.bt31.ProgressValue = 0F; | ||||
|             this.bt31.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.bt31.Sign = ""; | ||||
|             this.bt31.SignAlign = System.Drawing.ContentAlignment.BottomRight; | ||||
|             this.bt31.SignColor = System.Drawing.Color.Yellow; | ||||
|             this.bt31.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); | ||||
|             this.bt31.Size = new System.Drawing.Size(280, 200); | ||||
|             this.bt31.TabIndex = 1; | ||||
|             this.bt31.Tag = "--"; | ||||
|             this.bt31.Text = "--"; | ||||
|             this.bt31.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             this.bt31.TextShadow = true; | ||||
|             this.bt31.TextVisible = true; | ||||
|             this.bt31.Click += new System.EventHandler(this.btMix_Click); | ||||
|             //  | ||||
|             // bt33 | ||||
|             //  | ||||
|             this.bt33.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.bt33.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150))))); | ||||
|             this.bt33.BackgroundImagePadding = new System.Windows.Forms.Padding(0); | ||||
|             this.bt33.BorderColor = System.Drawing.Color.Gray; | ||||
|             this.bt33.BorderColorOver = System.Drawing.Color.Gray; | ||||
|             this.bt33.BorderSize = new System.Windows.Forms.Padding(5); | ||||
|             this.bt33.ColorTheme = arCtl.arLabel.eColorTheme.Custom; | ||||
|             this.bt33.Cursor = System.Windows.Forms.Cursors.Hand; | ||||
|             this.bt33.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.bt33.Font = new System.Drawing.Font("맑은 고딕", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.bt33.ForeColor = System.Drawing.Color.White; | ||||
|             this.bt33.GradientEnable = true; | ||||
|             this.bt33.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; | ||||
|             this.bt33.GradientRepeatBG = false; | ||||
|             this.bt33.isButton = true; | ||||
|             this.bt33.Location = new System.Drawing.Point(289, 3); | ||||
|             this.bt33.MouseDownColor = System.Drawing.Color.Yellow; | ||||
|             this.bt33.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); | ||||
|             this.bt33.msg = new string[] { | ||||
|         "101 ", | ||||
|         "TO", | ||||
|         "103"}; | ||||
|             this.bt33.Name = "bt33"; | ||||
|             this.bt33.ProgressBorderColor = System.Drawing.Color.Black; | ||||
|             this.bt33.ProgressColor1 = System.Drawing.Color.LightSkyBlue; | ||||
|             this.bt33.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; | ||||
|             this.bt33.ProgressEnable = false; | ||||
|             this.bt33.ProgressFont = new System.Drawing.Font("Consolas", 10F); | ||||
|             this.bt33.ProgressForeColor = System.Drawing.Color.Black; | ||||
|             this.bt33.ProgressMax = 100F; | ||||
|             this.bt33.ProgressMin = 0F; | ||||
|             this.bt33.ProgressPadding = new System.Windows.Forms.Padding(0); | ||||
|             this.bt33.ProgressValue = 0F; | ||||
|             this.bt33.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.bt33.Sign = ""; | ||||
|             this.bt33.SignAlign = System.Drawing.ContentAlignment.BottomRight; | ||||
|             this.bt33.SignColor = System.Drawing.Color.Yellow; | ||||
|             this.bt33.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); | ||||
|             this.bt33.Size = new System.Drawing.Size(280, 200); | ||||
|             this.bt33.TabIndex = 1; | ||||
|             this.bt33.Tag = "DRY"; | ||||
|             this.bt33.Text = "DRY-RUN"; | ||||
|             this.bt33.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             this.bt33.TextShadow = true; | ||||
|             this.bt33.TextVisible = true; | ||||
|             this.bt33.Click += new System.EventHandler(this.btMix_Click); | ||||
|             //  | ||||
|             // bt61 | ||||
|             //  | ||||
|             this.bt61.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.bt61.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150))))); | ||||
|             this.bt61.BackgroundImagePadding = new System.Windows.Forms.Padding(0); | ||||
|             this.bt61.BorderColor = System.Drawing.Color.Gray; | ||||
|             this.bt61.BorderColorOver = System.Drawing.Color.Gray; | ||||
|             this.bt61.BorderSize = new System.Windows.Forms.Padding(5); | ||||
|             this.bt61.ColorTheme = arCtl.arLabel.eColorTheme.Custom; | ||||
|             this.bt61.Cursor = System.Windows.Forms.Cursors.Hand; | ||||
|             this.bt61.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.bt61.Font = new System.Drawing.Font("맑은 고딕", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.bt61.ForeColor = System.Drawing.Color.White; | ||||
|             this.bt61.GradientEnable = true; | ||||
|             this.bt61.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; | ||||
|             this.bt61.GradientRepeatBG = false; | ||||
|             this.bt61.isButton = true; | ||||
|             this.bt61.Location = new System.Drawing.Point(289, 209); | ||||
|             this.bt61.MouseDownColor = System.Drawing.Color.Yellow; | ||||
|             this.bt61.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); | ||||
|             this.bt61.msg = new string[] { | ||||
|         "101 ", | ||||
|         "TO", | ||||
|         "103"}; | ||||
|             this.bt61.Name = "bt61"; | ||||
|             this.bt61.ProgressBorderColor = System.Drawing.Color.Black; | ||||
|             this.bt61.ProgressColor1 = System.Drawing.Color.LightSkyBlue; | ||||
|             this.bt61.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; | ||||
|             this.bt61.ProgressEnable = false; | ||||
|             this.bt61.ProgressFont = new System.Drawing.Font("Consolas", 10F); | ||||
|             this.bt61.ProgressForeColor = System.Drawing.Color.Black; | ||||
|             this.bt61.ProgressMax = 100F; | ||||
|             this.bt61.ProgressMin = 0F; | ||||
|             this.bt61.ProgressPadding = new System.Windows.Forms.Padding(0); | ||||
|             this.bt61.ProgressValue = 0F; | ||||
|             this.bt61.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.bt61.Sign = ""; | ||||
|             this.bt61.SignAlign = System.Drawing.ContentAlignment.BottomRight; | ||||
|             this.bt61.SignColor = System.Drawing.Color.Yellow; | ||||
|             this.bt61.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); | ||||
|             this.bt61.Size = new System.Drawing.Size(280, 200); | ||||
|             this.bt61.TabIndex = 1; | ||||
|             this.bt61.Tag = "--"; | ||||
|             this.bt61.Text = "--"; | ||||
|             this.bt61.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             this.bt61.TextShadow = true; | ||||
|             this.bt61.TextVisible = true; | ||||
|             this.bt61.Click += new System.EventHandler(this.btMix_Click); | ||||
|             //  | ||||
|             // btManual | ||||
|             //  | ||||
|             this.btManual.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.btManual.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150))))); | ||||
|             this.btManual.BackgroundImagePadding = new System.Windows.Forms.Padding(0); | ||||
|             this.btManual.BorderColor = System.Drawing.Color.Gray; | ||||
|             this.btManual.BorderColorOver = System.Drawing.Color.Gray; | ||||
|             this.btManual.BorderSize = new System.Windows.Forms.Padding(5); | ||||
|             this.btManual.ColorTheme = arCtl.arLabel.eColorTheme.Custom; | ||||
|             this.btManual.Cursor = System.Windows.Forms.Cursors.Hand; | ||||
|             this.btManual.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.btManual.Font = new System.Drawing.Font("맑은 고딕", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.btManual.ForeColor = System.Drawing.Color.White; | ||||
|             this.btManual.GradientEnable = true; | ||||
|             this.btManual.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; | ||||
|             this.btManual.GradientRepeatBG = false; | ||||
|             this.btManual.isButton = true; | ||||
|             this.btManual.Location = new System.Drawing.Point(575, 209); | ||||
|             this.btManual.MouseDownColor = System.Drawing.Color.Yellow; | ||||
|             this.btManual.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); | ||||
|             this.btManual.msg = null; | ||||
|             this.btManual.Name = "btManual"; | ||||
|             this.btManual.ProgressBorderColor = System.Drawing.Color.Black; | ||||
|             this.btManual.ProgressColor1 = System.Drawing.Color.LightSkyBlue; | ||||
|             this.btManual.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; | ||||
|             this.btManual.ProgressEnable = false; | ||||
|             this.btManual.ProgressFont = new System.Drawing.Font("Consolas", 10F); | ||||
|             this.btManual.ProgressForeColor = System.Drawing.Color.Black; | ||||
|             this.btManual.ProgressMax = 100F; | ||||
|             this.btManual.ProgressMin = 0F; | ||||
|             this.btManual.ProgressPadding = new System.Windows.Forms.Padding(0); | ||||
|             this.btManual.ProgressValue = 0F; | ||||
|             this.btManual.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.btManual.Sign = ""; | ||||
|             this.btManual.SignAlign = System.Drawing.ContentAlignment.BottomRight; | ||||
|             this.btManual.SignColor = System.Drawing.Color.Yellow; | ||||
|             this.btManual.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); | ||||
|             this.btManual.Size = new System.Drawing.Size(282, 200); | ||||
|             this.btManual.TabIndex = 1; | ||||
|             this.btManual.Tag = "M"; | ||||
|             this.btManual.Text = "MANUAL"; | ||||
|             this.btManual.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             this.btManual.TextShadow = true; | ||||
|             this.btManual.TextVisible = true; | ||||
|             this.btManual.Click += new System.EventHandler(this.btMix_Click); | ||||
|             //  | ||||
|             // label1 | ||||
|             //  | ||||
|             this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); | ||||
|             this.label1.AutoSize = true; | ||||
|             this.label1.Font = new System.Drawing.Font("맑은 고딕", 10F); | ||||
|             this.label1.ForeColor = System.Drawing.Color.Orange; | ||||
|             this.label1.Location = new System.Drawing.Point(12, 618); | ||||
|             this.label1.Name = "label1"; | ||||
|             this.label1.Size = new System.Drawing.Size(491, 19); | ||||
|             this.label1.TabIndex = 21; | ||||
|             this.label1.Text = "SID가 확인되지 않거나 1D로 만 이뤄진 라벨은 사용자 확인창이 표시 됩니다"; | ||||
|             //  | ||||
|             // groupBox1 | ||||
|             //  | ||||
|             this.groupBox1.Controls.Add(this.chkQtyM); | ||||
|             this.groupBox1.Controls.Add(this.chkVname); | ||||
|             this.groupBox1.Controls.Add(this.chkAutoConfirm); | ||||
|             this.groupBox1.Controls.Add(this.chkNew); | ||||
|             this.groupBox1.Controls.Add(this.chkUpdatePart); | ||||
|             this.groupBox1.Controls.Add(this.chkQty1); | ||||
|             this.groupBox1.Controls.Add(this.chkconfirm1); | ||||
|             this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; | ||||
|             this.groupBox1.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold); | ||||
|             this.groupBox1.ForeColor = System.Drawing.Color.WhiteSmoke; | ||||
|             this.groupBox1.Location = new System.Drawing.Point(9, 482); | ||||
|             this.groupBox1.Name = "groupBox1"; | ||||
|             this.groupBox1.Size = new System.Drawing.Size(860, 128); | ||||
|             this.groupBox1.TabIndex = 20; | ||||
|             this.groupBox1.TabStop = false; | ||||
|             this.groupBox1.Text = "옵션"; | ||||
|             //  | ||||
|             // chkQtyM | ||||
|             //  | ||||
|             this.chkQtyM.AutoSize = true; | ||||
|             this.chkQtyM.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold); | ||||
|             this.chkQtyM.ForeColor = System.Drawing.Color.White; | ||||
|             this.chkQtyM.Location = new System.Drawing.Point(375, 89); | ||||
|             this.chkQtyM.Name = "chkQtyM"; | ||||
|             this.chkQtyM.Size = new System.Drawing.Size(157, 24); | ||||
|             this.chkQtyM.TabIndex = 27; | ||||
|             this.chkQtyM.Text = "수량입력(+Return)"; | ||||
|             this.chkQtyM.UseVisualStyleBackColor = true; | ||||
|             //  | ||||
|             // chkVname | ||||
|             //  | ||||
|             this.chkVname.AutoSize = true; | ||||
|             this.chkVname.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold); | ||||
|             this.chkVname.ForeColor = System.Drawing.Color.White; | ||||
|             this.chkVname.Location = new System.Drawing.Point(375, 56); | ||||
|             this.chkVname.Name = "chkVname"; | ||||
|             this.chkVname.Size = new System.Drawing.Size(160, 24); | ||||
|             this.chkVname.TabIndex = 26; | ||||
|             this.chkVname.Text = "Vender Name 사용"; | ||||
|             this.chkVname.UseVisualStyleBackColor = true; | ||||
|             //  | ||||
|             // chkAutoConfirm | ||||
|             //  | ||||
|             this.chkAutoConfirm.AutoSize = true; | ||||
|             this.chkAutoConfirm.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold); | ||||
|             this.chkAutoConfirm.ForeColor = System.Drawing.Color.White; | ||||
|             this.chkAutoConfirm.Location = new System.Drawing.Point(17, 89); | ||||
|             this.chkAutoConfirm.Name = "chkAutoConfirm"; | ||||
|             this.chkAutoConfirm.Size = new System.Drawing.Size(93, 24); | ||||
|             this.chkAutoConfirm.TabIndex = 25; | ||||
|             this.chkAutoConfirm.Text = "자동 확정"; | ||||
|             this.chkAutoConfirm.UseVisualStyleBackColor = true; | ||||
|             //  | ||||
|             // chkNew | ||||
|             //  | ||||
|             this.chkNew.AutoSize = true; | ||||
|             this.chkNew.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold); | ||||
|             this.chkNew.ForeColor = System.Drawing.Color.White; | ||||
|             this.chkNew.Location = new System.Drawing.Point(375, 26); | ||||
|             this.chkNew.Name = "chkNew"; | ||||
|             this.chkNew.Size = new System.Drawing.Size(149, 24); | ||||
|             this.chkNew.TabIndex = 24; | ||||
|             this.chkNew.Text = "신규 Reel ID 부여"; | ||||
|             this.chkNew.UseVisualStyleBackColor = true; | ||||
|             //  | ||||
|             // chkUpdatePart | ||||
|             //  | ||||
|             this.chkUpdatePart.AutoSize = true; | ||||
|             this.chkUpdatePart.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold); | ||||
|             this.chkUpdatePart.ForeColor = System.Drawing.Color.White; | ||||
|             this.chkUpdatePart.Location = new System.Drawing.Point(17, 56); | ||||
|             this.chkUpdatePart.Name = "chkUpdatePart"; | ||||
|             this.chkUpdatePart.Size = new System.Drawing.Size(342, 24); | ||||
|             this.chkUpdatePart.TabIndex = 23; | ||||
|             this.chkUpdatePart.Text = "서버에서 PartNo 를 업데이트 합니다(SID기준)"; | ||||
|             this.chkUpdatePart.UseVisualStyleBackColor = true; | ||||
|             //  | ||||
|             // chkQty1 | ||||
|             //  | ||||
|             this.chkQty1.AutoSize = true; | ||||
|             this.chkQty1.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold); | ||||
|             this.chkQty1.ForeColor = System.Drawing.Color.White; | ||||
|             this.chkQty1.Location = new System.Drawing.Point(17, 29); | ||||
|             this.chkQty1.Name = "chkQty1"; | ||||
|             this.chkQty1.Size = new System.Drawing.Size(128, 24); | ||||
|             this.chkQty1.TabIndex = 13; | ||||
|             this.chkQty1.Text = "서버 수량 적용"; | ||||
|             this.chkQty1.UseVisualStyleBackColor = true; | ||||
|             //  | ||||
|             // chkconfirm1 | ||||
|             //  | ||||
|             this.chkconfirm1.AutoSize = true; | ||||
|             this.chkconfirm1.Font = new System.Drawing.Font("맑은 고딕", 11F, System.Drawing.FontStyle.Bold); | ||||
|             this.chkconfirm1.ForeColor = System.Drawing.Color.White; | ||||
|             this.chkconfirm1.Location = new System.Drawing.Point(184, 26); | ||||
|             this.chkconfirm1.Name = "chkconfirm1"; | ||||
|             this.chkconfirm1.Size = new System.Drawing.Size(143, 24); | ||||
|             this.chkconfirm1.TabIndex = 13; | ||||
|             this.chkconfirm1.Text = "최종 사용자 확인"; | ||||
|             this.chkconfirm1.UseVisualStyleBackColor = true; | ||||
|             //  | ||||
|             // tableLayoutPanel3 | ||||
|             //  | ||||
|             this.tableLayoutPanel3.ColumnCount = 2; | ||||
|             this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); | ||||
|             this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); | ||||
|             this.tableLayoutPanel3.Controls.Add(this.btOK, 1, 0); | ||||
|             this.tableLayoutPanel3.Controls.Add(this.btCancle, 0, 0); | ||||
|             this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
|             this.tableLayoutPanel3.Location = new System.Drawing.Point(9, 643); | ||||
|             this.tableLayoutPanel3.Name = "tableLayoutPanel3"; | ||||
|             this.tableLayoutPanel3.RowCount = 1; | ||||
|             this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); | ||||
|             this.tableLayoutPanel3.Size = new System.Drawing.Size(860, 101); | ||||
|             this.tableLayoutPanel3.TabIndex = 12; | ||||
|             //  | ||||
|             // btOK | ||||
|             //  | ||||
|             this.btOK.BackColor = System.Drawing.Color.Green; | ||||
|             this.btOK.BackColor2 = System.Drawing.Color.Lime; | ||||
|             this.btOK.BackgroundImagePadding = new System.Windows.Forms.Padding(0); | ||||
|             this.btOK.BorderColor = System.Drawing.Color.Gray; | ||||
|             this.btOK.BorderColorOver = System.Drawing.Color.Gray; | ||||
|             this.btOK.BorderSize = new System.Windows.Forms.Padding(5); | ||||
|             this.btOK.ColorTheme = arCtl.arLabel.eColorTheme.Custom; | ||||
|             this.btOK.Cursor = System.Windows.Forms.Cursors.Hand; | ||||
|             this.btOK.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.btOK.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.btOK.ForeColor = System.Drawing.Color.White; | ||||
|             this.btOK.GradientEnable = true; | ||||
|             this.btOK.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; | ||||
|             this.btOK.GradientRepeatBG = false; | ||||
|             this.btOK.isButton = true; | ||||
|             this.btOK.Location = new System.Drawing.Point(433, 3); | ||||
|             this.btOK.MouseDownColor = System.Drawing.Color.Yellow; | ||||
|             this.btOK.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); | ||||
|             this.btOK.msg = null; | ||||
|             this.btOK.Name = "btOK"; | ||||
|             this.btOK.ProgressBorderColor = System.Drawing.Color.Black; | ||||
|             this.btOK.ProgressColor1 = System.Drawing.Color.LightSkyBlue; | ||||
|             this.btOK.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; | ||||
|             this.btOK.ProgressEnable = false; | ||||
|             this.btOK.ProgressFont = new System.Drawing.Font("Consolas", 10F); | ||||
|             this.btOK.ProgressForeColor = System.Drawing.Color.Black; | ||||
|             this.btOK.ProgressMax = 100F; | ||||
|             this.btOK.ProgressMin = 0F; | ||||
|             this.btOK.ProgressPadding = new System.Windows.Forms.Padding(0); | ||||
|             this.btOK.ProgressValue = 0F; | ||||
|             this.btOK.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.btOK.Sign = ""; | ||||
|             this.btOK.SignAlign = System.Drawing.ContentAlignment.BottomRight; | ||||
|             this.btOK.SignColor = System.Drawing.Color.Yellow; | ||||
|             this.btOK.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); | ||||
|             this.btOK.Size = new System.Drawing.Size(424, 95); | ||||
|             this.btOK.TabIndex = 1; | ||||
|             this.btOK.Text = "시작"; | ||||
|             this.btOK.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             this.btOK.TextShadow = true; | ||||
|             this.btOK.TextVisible = true; | ||||
|             this.btOK.Click += new System.EventHandler(this.btOK_Click); | ||||
|             //  | ||||
|             // btCancle | ||||
|             //  | ||||
|             this.btCancle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); | ||||
|             this.btCancle.BackColor2 = System.Drawing.Color.Gray; | ||||
|             this.btCancle.BackgroundImagePadding = new System.Windows.Forms.Padding(0); | ||||
|             this.btCancle.BorderColor = System.Drawing.Color.Gray; | ||||
|             this.btCancle.BorderColorOver = System.Drawing.Color.Gray; | ||||
|             this.btCancle.BorderSize = new System.Windows.Forms.Padding(5); | ||||
|             this.btCancle.ColorTheme = arCtl.arLabel.eColorTheme.Custom; | ||||
|             this.btCancle.Cursor = System.Windows.Forms.Cursors.Hand; | ||||
|             this.btCancle.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.btCancle.Font = new System.Drawing.Font("맑은 고딕", 30F, System.Drawing.FontStyle.Bold); | ||||
|             this.btCancle.ForeColor = System.Drawing.Color.White; | ||||
|             this.btCancle.GradientEnable = true; | ||||
|             this.btCancle.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; | ||||
|             this.btCancle.GradientRepeatBG = false; | ||||
|             this.btCancle.isButton = true; | ||||
|             this.btCancle.Location = new System.Drawing.Point(3, 3); | ||||
|             this.btCancle.MouseDownColor = System.Drawing.Color.Yellow; | ||||
|             this.btCancle.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); | ||||
|             this.btCancle.msg = null; | ||||
|             this.btCancle.Name = "btCancle"; | ||||
|             this.btCancle.ProgressBorderColor = System.Drawing.Color.Black; | ||||
|             this.btCancle.ProgressColor1 = System.Drawing.Color.LightSkyBlue; | ||||
|             this.btCancle.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; | ||||
|             this.btCancle.ProgressEnable = false; | ||||
|             this.btCancle.ProgressFont = new System.Drawing.Font("Consolas", 10F); | ||||
|             this.btCancle.ProgressForeColor = System.Drawing.Color.Black; | ||||
|             this.btCancle.ProgressMax = 100F; | ||||
|             this.btCancle.ProgressMin = 0F; | ||||
|             this.btCancle.ProgressPadding = new System.Windows.Forms.Padding(0); | ||||
|             this.btCancle.ProgressValue = 0F; | ||||
|             this.btCancle.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); | ||||
|             this.btCancle.Sign = ""; | ||||
|             this.btCancle.SignAlign = System.Drawing.ContentAlignment.BottomRight; | ||||
|             this.btCancle.SignColor = System.Drawing.Color.Yellow; | ||||
|             this.btCancle.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); | ||||
|             this.btCancle.Size = new System.Drawing.Size(424, 95); | ||||
|             this.btCancle.TabIndex = 0; | ||||
|             this.btCancle.Text = "취소"; | ||||
|             this.btCancle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             this.btCancle.TextShadow = true; | ||||
|             this.btCancle.TextVisible = true; | ||||
|             this.btCancle.Click += new System.EventHandler(this.btCancle_Click); | ||||
|             //  | ||||
|             // cmbCustomer | ||||
|             //  | ||||
|             this.cmbCustomer.Dock = System.Windows.Forms.DockStyle.Top; | ||||
|             this.cmbCustomer.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||
|             this.cmbCustomer.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.cmbCustomer.FormattingEnabled = true; | ||||
|             this.cmbCustomer.Location = new System.Drawing.Point(9, 5); | ||||
|             this.cmbCustomer.Name = "cmbCustomer"; | ||||
|             this.cmbCustomer.Size = new System.Drawing.Size(860, 45); | ||||
|             this.cmbCustomer.TabIndex = 23; | ||||
|             //  | ||||
|             // panel1 | ||||
|             //  | ||||
|             this.panel1.Dock = System.Windows.Forms.DockStyle.Top; | ||||
|             this.panel1.Location = new System.Drawing.Point(9, 50); | ||||
|             this.panel1.Name = "panel1"; | ||||
|             this.panel1.Size = new System.Drawing.Size(860, 10); | ||||
|             this.panel1.TabIndex = 24; | ||||
|             //  | ||||
|             // panel3 | ||||
|             //  | ||||
|             this.panel3.Dock = System.Windows.Forms.DockStyle.Top; | ||||
|             this.panel3.Location = new System.Drawing.Point(9, 472); | ||||
|             this.panel3.Name = "panel3"; | ||||
|             this.panel3.Size = new System.Drawing.Size(860, 10); | ||||
|             this.panel3.TabIndex = 25; | ||||
|             //  | ||||
|             // fSelectJob | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 17F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.BackColor = System.Drawing.Color.White; | ||||
|             this.ClientSize = new System.Drawing.Size(898, 803); | ||||
|             this.Controls.Add(this.panel2); | ||||
|             this.Controls.Add(this.panTitleBar); | ||||
|             this.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; | ||||
|             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); | ||||
|             this.Margin = new System.Windows.Forms.Padding(4); | ||||
|             this.MaximizeBox = false; | ||||
|             this.MinimizeBox = false; | ||||
|             this.Name = "fSelectJob"; | ||||
|             this.Padding = new System.Windows.Forms.Padding(10); | ||||
|             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
|             this.Text = "수동조작"; | ||||
|             this.TopMost = true; | ||||
|             this.Load += new System.EventHandler(this.@__LoaD); | ||||
|             this.panTitleBar.ResumeLayout(false); | ||||
|             this.panel2.ResumeLayout(false); | ||||
|             this.panel2.PerformLayout(); | ||||
|             this.tableLayoutPanel4.ResumeLayout(false); | ||||
|             this.groupBox1.ResumeLayout(false); | ||||
|             this.groupBox1.PerformLayout(); | ||||
|             this.tableLayoutPanel3.ResumeLayout(false); | ||||
|             this.ResumeLayout(false); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|         public System.Windows.Forms.Panel panTitleBar; | ||||
|         private arCtl.arLabel lbTitle; | ||||
|         private System.Windows.Forms.Panel panel2; | ||||
|         private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3; | ||||
|         private arCtl.arLabel btOK; | ||||
|         private arCtl.arLabel btCancle; | ||||
|         private System.Windows.Forms.CheckBox chkconfirm1; | ||||
|         private System.Windows.Forms.CheckBox chkQty1; | ||||
|         private System.Windows.Forms.GroupBox groupBox1; | ||||
|         private System.Windows.Forms.Label label1; | ||||
|         private System.Windows.Forms.TableLayoutPanel tableLayoutPanel4; | ||||
|         private arCtl.arLabel bt13; | ||||
|         private arCtl.arLabel bt31; | ||||
|         private arCtl.arLabel btRe; | ||||
| 		private arCtl.arLabel bt33; | ||||
| 		private arCtl.arLabel bt61; | ||||
| 		private arCtl.arLabel btManual; | ||||
| 		private System.Windows.Forms.CheckBox chkUpdatePart; | ||||
| 		private System.Windows.Forms.CheckBox chkNew; | ||||
|         private System.Windows.Forms.CheckBox chkAutoConfirm; | ||||
| 		private System.Windows.Forms.CheckBox chkVname; | ||||
|         private System.Windows.Forms.CheckBox chkQtyM; | ||||
|         private System.Windows.Forms.Panel panel3; | ||||
|         private System.Windows.Forms.Panel panel1; | ||||
|         private System.Windows.Forms.ComboBox cmbCustomer; | ||||
|     } | ||||
| } | ||||
							
								
								
									
										390
									
								
								Handler/Project_form2/Dialog/fSelectJob.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										390
									
								
								Handler/Project_form2/Dialog/fSelectJob.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,390 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     public partial class fSelectJob : Form | ||||
|     { | ||||
|         public fSelectJob() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             this.KeyPreview = true; | ||||
|             this.FormClosing += __Closing; | ||||
|             this.lbTitle.MouseMove += LbTitle_MouseMove; | ||||
|             this.lbTitle.MouseUp += LbTitle_MouseUp; | ||||
|             this.lbTitle.MouseDown += LbTitle_MouseDown; | ||||
|             this.KeyDown += (s1, e1) => | ||||
|             { | ||||
|                 if (e1.KeyCode == Keys.Escape) this.Close(); | ||||
|             }; | ||||
|  | ||||
|             if (System.Diagnostics.Debugger.IsAttached == false) | ||||
|             { | ||||
|                 //// = new Dialog.fBlurPanel(); | ||||
|                 //fb.Show(); | ||||
|             } | ||||
|  | ||||
|             Pub.flag.set(eFlag.SCR_JOBSELECT, true, "selectjbo"); | ||||
|             Pub.dio.IOValueChanged += Dio_IOValueChanged; | ||||
|  | ||||
|  | ||||
|             //this.tableLayoutPanel1.Enabled = false; | ||||
|             // this.tableLayoutPanel2.Enabled = false; | ||||
|         } | ||||
|  | ||||
|         private void __LoaD(object sender, EventArgs e) | ||||
|         { | ||||
|             //210121  -101SID | ||||
|             this.chkQty1.Checked = Pub.uSetting.Option_QtyUpdate1; | ||||
|             //  this.chkForce1.Checked = Pub.uSetting.Option_printforce1; | ||||
|             this.chkUpdatePart.Checked = Pub.uSetting.Option_PartUpdate; | ||||
|             this.chkconfirm1.Checked = Pub.uSetting.Option_Confirm1; | ||||
|             this.chkAutoConfirm.Checked = Pub.uSetting.Option_AutoConfirm; | ||||
|             this.chkVname.Checked = Pub.uSetting.Option_vname; | ||||
|             //this.chkfixprint1.Checked = Pub.uSetting.Option_FixPrint1; | ||||
|             //PrintPos1 = Pub.uSetting.Option_PrintPos1; | ||||
|             //DisplayPrintPos(PrintPos1); | ||||
|  | ||||
|  | ||||
|             //작업형태를 다시 시작해준다. - 210329 | ||||
|             Func_SelectJobType(Pub.Result.JobType2); | ||||
|  | ||||
|             //커스터머 목록을 선택 | ||||
|             cmbCustomer.Items.Clear(); | ||||
|             cmbCustomer.Items.Add("[0000] 선택안함"); | ||||
|             if (Pub.setting.OnlineMode) | ||||
|             { | ||||
|                 var tacustinfo = new DataSet1TableAdapters.Component_Reel_CustInfoTableAdapter(); | ||||
|                 var dtcustinfo = tacustinfo.GetData(); | ||||
|                 foreach (var dr in dtcustinfo.Where(t => string.IsNullOrEmpty(t.name) == false)) | ||||
|                 { | ||||
|                     cmbCustomer.Items.Add($"[{dr.code}] {dr.name}"); | ||||
|                 } | ||||
|             } | ||||
|             cmbCustomer.SelectedIndex = 0; | ||||
|  | ||||
|  | ||||
|             //210122  -103SID | ||||
|             //this.chkQty3.Checked = Pub.uSetting.Option_QtyUpdate3; | ||||
|             //this.chkForce3.Checked = Pub.uSetting.Option_printforce3; | ||||
|             //this.chkconfirm3.Checked = Pub.uSetting.Option_Confirm3; | ||||
|             //this.chkfixprint3.Checked = Pub.uSetting.Option_FixPrint3; | ||||
|             //PrintPos3 = Pub.uSetting.Option_PrintPos3; | ||||
|             //DisplayPrintPos(PrintPos3, 3); | ||||
|  | ||||
|         } | ||||
|  | ||||
|  | ||||
|         private void Dio_IOValueChanged(object sender, arDev.AzinAxt.DIO.IOValueEventArgs e) | ||||
|         { | ||||
|             if (Pub.setting.Enable_ButtonStart) | ||||
|             { | ||||
|                 var pin = (eDIName)e.ArrIDX; | ||||
|                 if (Util_DO.GetIOInput(pin) == true) | ||||
|                 { | ||||
|                     if (pin == eDIName.BUT_STARTF) this.Confirm(); | ||||
|                     else if (pin == eDIName.BUT_STOPF || pin == eDIName.BUT_RESETF) this.Cancel(); | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|  | ||||
|  | ||||
|         void Confirm() | ||||
|         { | ||||
|             if (this.InvokeRequired) | ||||
|                 this.BeginInvoke(new MethodInvoker(Confirm), null); | ||||
|             else | ||||
|             { | ||||
|                 this.Validate(); | ||||
|  | ||||
|                 if (this.ModeData.isEmpty() || this.ModeData == "--") | ||||
|                 { | ||||
|                     Util.MsgE("작업 방식이 선택되지 않았습니다"); | ||||
|                     return; | ||||
|                 } | ||||
|                 if (chkAutoConfirm.Checked && this.chkconfirm1.Checked) | ||||
|                 { | ||||
|                     Util.MsgE("자동확정과 / 사용자 확인 옵션은 동시에 사용할 수 없습니다"); | ||||
|                     return; | ||||
|                 } | ||||
|                 if (this.ModeData == "--") | ||||
|                 { | ||||
|                     Util.MsgE("사용할 수 없는 작업방법 입니다"); | ||||
|                     return; | ||||
|                 } | ||||
|  | ||||
|  | ||||
|                 //커스터머정보 확인 | ||||
|                 Pub.Result.CustomerRule.Clear(); | ||||
|                 var code = cmbCustomer.Text.Substring(1, 4); | ||||
|                 var name = cmbCustomer.Text.Substring(6).Trim(); | ||||
|                 if (Pub.setting.OnlineMode) | ||||
|                 { | ||||
|                     var taRule = new DataSet1TableAdapters.Component_Reel_CustRuleTableAdapter(); | ||||
|                     var dtRule = taRule.GetData(code); | ||||
|                     foreach (var dr in dtRule) | ||||
|                     { | ||||
|                         if (dr.pre.isEmpty() == false || dr.pos.isEmpty() == false) | ||||
|                         { | ||||
|                             Pub.Result.CustomerRule.Add(new CCustRule | ||||
|                             { | ||||
|                                 Code = dr.code, | ||||
|                                 Name = name, | ||||
|                                 Expression = dr.exp, | ||||
|                                 Len = dr.len, | ||||
|                                 Post = dr.pos, | ||||
|                                 Pre = dr.pre, | ||||
|                             }); ; | ||||
|                         } | ||||
|                     } | ||||
|                 } | ||||
|                 //if (chkfixprint1.Checked && this.PrintPos1.isEmpty()) | ||||
|                 //{ | ||||
|                 //	Util.MsgE("프린트 위치 고정옵션이 켜져 있으나 위치가 지정되지 않았습니다"); | ||||
|                 //	return; | ||||
|                 //} | ||||
|  | ||||
|                 //if (chkfixprint3.Checked && this.PrintPos3.isEmpty()) | ||||
|                 //{ | ||||
|                 //    Util.MsgE("103 SID 의 프린트 위치를 지정하세요"); | ||||
|                 //    return; | ||||
|                 //} | ||||
|  | ||||
|                 //작업형태 지정 | ||||
|                 Pub.Result.JobType2 = this.ModeData; | ||||
|                 Pub.Result.JobFirst = true; //처음시작 220117 | ||||
|  | ||||
|                 //사용자 정보에 저장한다. 210219 - a모드별로 저장한다. | ||||
|                 Pub.uSetting.Xml.set_Data("M" + ModeData, "qtysync", chkQty1.Checked ? "1" : "0"); | ||||
|                 Pub.uSetting.Xml.set_Data("M" + ModeData, "qtyman", chkQtyM.Checked ? "1" : "0"); | ||||
|                 Pub.uSetting.Xml.set_Data("M" + ModeData, "confirm", chkconfirm1.Checked ? "1" : "0"); | ||||
|                 Pub.uSetting.Xml.set_Data("M" + ModeData, "partsync", chkUpdatePart.Checked ? "1" : "0"); | ||||
|                 Pub.uSetting.Xml.set_Data("M" + ModeData, "newid", chkNew.Checked ? "1" : "0"); | ||||
|                 Pub.uSetting.Xml.set_Data("M" + ModeData, "vname", chkVname.Checked ? "1" : "0"); | ||||
|                 Pub.uSetting.Xml.set_Data("M" + ModeData, "autoconf", this.chkAutoConfirm.Checked ? "1" : "0"); | ||||
|  | ||||
|                 Pub.uSetting.Save(); | ||||
|  | ||||
|                 //옵션사항 설정 210121 | ||||
|                 //if (ModeData == "DRY") Pub.setting.DryRun = true; | ||||
|                 Pub.Result.Option_vname = chkVname.Checked; | ||||
|                 Pub.Result.Option_Confirm1 = chkconfirm1.Checked; | ||||
|                 Pub.Result.Option_QtyUpdate1 = chkQty1.Checked; | ||||
|                 Pub.Result.Option_QtyUpdateM = chkQtyM.Checked; | ||||
|                 Pub.Result.Option_partUpdate = chkUpdatePart.Checked; | ||||
|                 Pub.Result.Option_NewReelID = chkNew.Checked; | ||||
|                 Pub.Result.Option_AutoConf = chkAutoConfirm.Checked; | ||||
|                 this.DialogResult = DialogResult.OK; | ||||
|             } | ||||
|  | ||||
|         } | ||||
|         void Cancel() | ||||
|         { | ||||
|             if (this.InvokeRequired) | ||||
|                 this.BeginInvoke(new MethodInvoker(Cancel), null); | ||||
|             else | ||||
|                 this.Close(); | ||||
|         } | ||||
|  | ||||
|         void __Closing(object sender, FormClosingEventArgs e) | ||||
|         { | ||||
|             // if (fb != null) fb.Dispose(); | ||||
|             Pub.dio.IOValueChanged -= Dio_IOValueChanged; | ||||
|             Pub.flag.set(eFlag.SCR_JOBSELECT, false, "selectjbo"); | ||||
|         } | ||||
|  | ||||
|         public string GetCntStr(uint cnt) | ||||
|         { | ||||
|             if (cnt > 1000000) | ||||
|             { | ||||
|                 return (cnt * 1.0 / 1000000.0).ToString("N1") + "M"; | ||||
|  | ||||
|             } | ||||
|             else if (cnt > 1000) | ||||
|             { | ||||
|                 return (cnt * 1.0 / 1000).ToString("N1") + "K"; | ||||
|             } | ||||
|             else return cnt.ToString(); | ||||
|         } | ||||
|  | ||||
|         #region "Mouse Form Move" | ||||
|  | ||||
|         private Boolean fMove = false; | ||||
|         private Point MDownPos; | ||||
|         private void LbTitle_MouseMove(object sender, MouseEventArgs e) | ||||
|         { | ||||
|             if (fMove) | ||||
|             { | ||||
|                 Point offset = new Point(e.X - MDownPos.X, e.Y - MDownPos.Y); | ||||
|                 this.Left += offset.X; | ||||
|                 this.Top += offset.Y; | ||||
|                 offset = new Point(0, 0); | ||||
|             } | ||||
|         } | ||||
|         private void LbTitle_MouseUp(object sender, MouseEventArgs e) | ||||
|         { | ||||
|             fMove = false; | ||||
|         } | ||||
|         private void LbTitle_MouseDown(object sender, MouseEventArgs e) | ||||
|         { | ||||
|             MDownPos = new Point(e.X, e.Y); | ||||
|             fMove = true; | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|  | ||||
|         private void tbClose_Click_1(object sender, EventArgs e) | ||||
|         { | ||||
|             this.Close(); | ||||
|         } | ||||
|  | ||||
|         private void btOK_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             Confirm(); | ||||
|         } | ||||
|  | ||||
|         private void btCancle_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             Cancel(); | ||||
|         } | ||||
|  | ||||
|  | ||||
|  | ||||
|         private void arLabel1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|  | ||||
|  | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void arLabel5_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var lbl = sender as arCtl.arLabel; | ||||
|             var lblValue = int.Parse(lbl.Tag.ToString()); | ||||
|  | ||||
|         } | ||||
|  | ||||
|  | ||||
|         private void arLabel18_Click(object sender, EventArgs e) | ||||
|         { | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void checkBox4_CheckedChanged(object sender, EventArgs e) | ||||
|         { | ||||
|             //선택에 따라서 라디오 박스 업데이트 | ||||
|             //tableLayoutPanel1.Enabled = chkfixprint1.Checked; | ||||
|             var chk = sender as CheckBox; | ||||
|             //label26.Text = this.chkfixprint1.Checked ? "부착위치(지정)" : "부착위치(자동)"; | ||||
|  | ||||
|         } | ||||
|  | ||||
|  | ||||
|  | ||||
|         //string PrintPos1 = string.Empty; | ||||
|         //string PrintPos3 = string.Empty; | ||||
|         private void pb7_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             //부착위치 | ||||
|             var lb = sender as Label; | ||||
|             //PrintPos1 = lb.Tag.ToString(); | ||||
|             //DisplayPrintPos(PrintPos1); | ||||
|             //this.radO1.Checked = false; //직접선택했으니 해제 한다 | ||||
|             //label26.Text = this.chkfixprint1.Checked ? "부착위치(지정)" : "부착위치(자동)"; | ||||
|         } | ||||
|         private void label6_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             //부착위치 | ||||
|             var lb = sender as Label; | ||||
|             //PrintPos3 = lb.Tag.ToString(); | ||||
|             //DisplayPrintPos(PrintPos3, 3); | ||||
|             //this.radO3.Checked = false; //직접선택했으니 해제 한다 | ||||
|  | ||||
|             //label10.Text = this.chkfixprint3.Checked ? "부착위치(지정)" : "부착위치(자동)"; | ||||
|         } | ||||
|         //void DisplayPrintPos(string v) | ||||
|         //{ | ||||
|         //	Label[] lbs = null; | ||||
|         //	lbs = new Label[] { pb7, pb8, pb9, pb4, pb5, pb6, pb1, pb2, pb3 }; | ||||
|         //	//else lbs = new Label[] { pc7, pc8, pc9, pc4, pc5, pc6, pc1, pc2, pc3 }; | ||||
|  | ||||
|         //	foreach (Label item in lbs) | ||||
|         //		if (item.Tag.ToString() == v) item.BackColor = Color.Blue; | ||||
|         //		else item.BackColor = Color.FromArgb(64, 64, 64); | ||||
|         //} | ||||
|  | ||||
|         private void btMix_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var lb = sender as arCtl.arLabel; | ||||
|             Func_SelectJobType(lb.Tag.ToString()); | ||||
|         } | ||||
|  | ||||
|         arCtl.arLabel[] btsMOD; | ||||
|         string ModeData = string.Empty; | ||||
|         void Func_SelectJobType(string mode) | ||||
|         { | ||||
|             ModeData = mode; | ||||
|  | ||||
|             if (btsMOD == null) | ||||
|                 btsMOD = new arCtl.arLabel[] { bt33, bt61, bt13, bt31, btRe, btManual }; | ||||
|  | ||||
|             foreach (var lb in btsMOD) | ||||
|             { | ||||
|                 if (lb.Tag.ToString() == mode) | ||||
|                 { | ||||
|                     lb.BackColor = Color.Green; | ||||
|                     lb.BackColor2 = Color.Lime; | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|                     lb.BackColor = Color.FromArgb(0, 0, 0); | ||||
|                     lb.BackColor2 = Color.FromArgb(150, 150, 150); | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|             //각 모드별 옵션값 확인 | ||||
|             if (mode == "M")    //manual | ||||
|             { | ||||
|                 this.chkQty1.Checked = false; | ||||
|                 this.chkconfirm1.Checked = true; | ||||
|                 this.chkNew.Checked = false; | ||||
|                 this.chkUpdatePart.Checked = false; | ||||
|                 this.chkAutoConfirm.Checked = false; | ||||
|                 this.chkQtyM.Checked = false; | ||||
|                 groupBox1.Enabled = true; | ||||
|             } | ||||
|             else if (mode == "DRY") | ||||
|             { | ||||
|                 this.chkQty1.Checked = false; | ||||
|                 this.chkconfirm1.Checked = false; | ||||
|                 this.chkNew.Checked = false; | ||||
|                 this.chkUpdatePart.Checked = false; | ||||
|                 this.chkAutoConfirm.Checked = false; | ||||
|                 this.chkQtyM.Checked = false; | ||||
|                 groupBox1.Enabled = false; | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 this.chkQty1.Checked = Pub.uSetting.Xml.get_Data("M" + ModeData, "qtysync") == "1"; | ||||
|                 this.chkUpdatePart.Checked = Pub.uSetting.Xml.get_Data("M" + ModeData, "partsync") == "1"; | ||||
|                 this.chkQtyM.Checked = Pub.uSetting.Xml.get_Data("M" + ModeData, "qtyman") == "1"; | ||||
|                 this.chkconfirm1.Checked = Pub.uSetting.Xml.get_Data("M" + ModeData, "confirm") == "1"; | ||||
|                 //this.PrintPos1 = Pub.uSetting.Xml.get_Data("M" + ModeData, "printpos"); | ||||
|                 this.chkNew.Checked = Pub.uSetting.Xml.get_Data("M" + ModeData, "newid") == "1"; | ||||
|                 this.chkAutoConfirm.Checked = Pub.uSetting.Xml.get_Data("M" + ModeData, "autoconf") == "1"; | ||||
|                 this.chkVname.Checked = Pub.uSetting.Xml.get_Data("M" + ModeData, "vname") == "1"; | ||||
|                 this.groupBox1.Enabled = true; | ||||
|             } | ||||
|  | ||||
|             //DisplayPrintPos(this.PrintPos1); | ||||
|             //메뉴얼은 확인창을 꼭 사용한다 | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										377
									
								
								Handler/Project_form2/Dialog/fSelectJob.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										377
									
								
								Handler/Project_form2/Dialog/fSelectJob.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,377 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||||
|   <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         AAABAAMAMDAAAAEAIACoJQAANgAAACAgAAABACAAqBAAAN4lAAAQEAAAAQAgAGgEAACGNgAAKAAAADAA | ||||
|         AABgAAAAAQAgAAAAAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgaZsA5C1 | ||||
|         fwOTuIIDkbaAA5K3gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3 | ||||
|         gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3gQOSt4EDkreBA5K3 | ||||
|         gQOSt4EDkreBA5G2gAOTuIIDkLV/A4GmbAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAfaJmBAAAAAB6n2IdfaJmkoescoeIrnSDh61zhIitc4SIrXOEiK1zhIitc4SIrXOEiK1zhIit | ||||
|         c4SIrXOEiK1zhIitc4SIrXOEiK1zhIitc4SIrXOEiK1zhIitc4SIrXOEiK1zhIitc4SIrXOEiK1zhIit | ||||
|         c4SIrXOEiK1zhIitc4SIrXOEiK1zhIitc4SIrXOEiK1zhIetc4SIrnSDh6xyh32iZpJ6n2IdAAAAAH2i | ||||
|         ZgQAAAAAAAAAAAAAAAAAAAAAiKx0BwAAAACApWk1ia52/6DElP+kyJn9osaW/qLGl/+ixpf/osaX/6LG | ||||
|         l/+ixpf/osaX/6LGl/+ixpf/osaX/6LGl/+ixpf/osaX/6LGl/+ixpf/osaX/6LGl/+ixpf/osaX/6LG | ||||
|         l/+ixpf/osaX/6LGl/+ixpf/osaX/6LGl/+ixpf/osaX/6LGl/+ixpf/osaX/6LGlv6kyJn9oMSU/4mu | ||||
|         dv+ApWk1AAAAAIisdAcAAAAAAAAAAAAAAAAAAAAAl7uIBgAAAACIrXQrmr6M47/ivf3E58P8weS/+sLk | ||||
|         wPvC5MD7wuTA+8LkwPvC5MD7wuTA+8LkwPvC5MD7wuTA+8LkwPvC5MD7wuTA+8LkwPvB5MD7wuTA+8Lk | ||||
|         wPvC5MD7wuTA+8LkwPvC5MD7wuTA+8LkwPvC5MD7wuTA+8LkwPvC5MD7wuTA+8LkwPvC5MD7wuTA+8Hk | ||||
|         v/rE58P8v+K9/Zq+jOOIrXQrAAAAAJe7iAYAAAAAAAAAAAAAAAAAAAAAlLiEBgAAAACHq3Itl7uH67nc | ||||
|         tf++4bz+u964/bzfuf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzf | ||||
|         uf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzf | ||||
|         uf6837n+vN+5/rveuP2+4bz+udy1/5e7h+uHq3ItAAAAAJS4hAYAAAAAAAAAAAAAAAAAAAAAlLiEBgAA | ||||
|         AACHq3Isl7uI67rdtv+/4r3/vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzf | ||||
|         uf694Lr+vN+5/r3guv694Lr+vN+5/rzfuf694Lr+vN+5/rzfuf6837n+vN+5/rzfuf6837n+vN+5/rzf | ||||
|         uf6837n+vN+5/rzfuf6837n+vN+5/rzfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJS4hAYAAAAAAAAAAAAA | ||||
|         AAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/73guv+94Lr/veC6/73g | ||||
|         uv+837n/veC6/73guv+73rf/weO//7ndtf+z163/weTA/7zfuf+837n/veC6/7zfuf+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5 | ||||
|         hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/7zfuf+94Lr/vN+5/7veuP/C5MH/stet/6bHm/+oxpz/qc6h/7/ivf++4bz/u964/73g | ||||
|         uv+837n/veC6/73guv+94Lr/veC6/73guv+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7 | ||||
|         iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3g | ||||
|         uv+94Lr/veC6/73guv+94Lr/vN+5/73guv+837n/vd+5/8Djvv+02bD/p8ic/8LTt//R3cn/q8ef/67R | ||||
|         p/+94bv/v+K9/7veuP+94Lr/vN+5/73guv+94Lr/veC6/73guv+94Lr/veC6/73guv+94Lr/veC6/7zf | ||||
|         uf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rd | ||||
|         tv+/4r3/vN+5/r3guv+94Lr/veC6/73guv+837n/veC6/7zfuf+94Lr/vuG8/7fasv+mx5v/xte8//b4 | ||||
|         9P/9/f3/3ObW/6zHoP+u0qf/veG7/77hvP+837n/veC6/73guv+94Lr/veC6/73guv+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAA | ||||
|         AACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/73guv+94Lr/vN+5/73guv++4bz/uNu0/6XH | ||||
|         mv/I2b7/9Pfy/////////////f39/9zm1v+tyKD/rtGm/7/ivf+94Lr/vN+5/7zfuf+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAA | ||||
|         AAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/7zfuf+94Lr/u964/8Hj | ||||
|         v/+22bH/o8SX/83exv/2+fX///////39/P/+/f3///////7+/f/h69z/rsmh/6nNn//C5cH/vN+4/7zf | ||||
|         uf+94Lr/vN+5/73guv+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5 | ||||
|         hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/73g | ||||
|         uv+837j/wuTA/7LXrf+nx5z/zNvE//b49P//////+/v6/8bWvP+uxaH/7vLr//7+/v/+////4Oja/7LK | ||||
|         pv+ozJ//wuXB/73guv+837n/veC6/7zfuf+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7 | ||||
|         iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3g | ||||
|         uv+94Lr/vN+5/7zfuf++4Lv/t9uz/6rLoP/C1Lj//Pz7///////4+ff/zNvF/6fInP+kyJr/uM6t/+zw | ||||
|         6P/+/v7///7//+Do2v+yy6f/qc2h/7/ivf++4bz/u964/73guv+837n/veC6/73guv+94Lr/veC6/7zf | ||||
|         uf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rd | ||||
|         tv+/4r3/vN+5/r3guv+94Lr/vN+5/7zfuf++4Lv/t9uz/6rKn//C07j//v7+//z8+//N28T/qMec/7ba | ||||
|         sv/B47//p8qd/7nOrv/q8Of///////7+/v/g6dv/rcih/63Rpf+94bv/v+K9/7veuP+94Lr/vN+5/73g | ||||
|         uv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAA | ||||
|         AACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/73guv+73rj/wuXB/7HVq/+pyJ7/z97I/9Pg | ||||
|         zf+ryZ//stas/8LkwP+94Lr/vuG8/6PGmP+90rT/6/Dn///////8/fv/3+rb/6/Ko/+u0ab/vOC5/7/h | ||||
|         vP+837n/veC6/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAA | ||||
|         AAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/7zfuf+94Lr/u964/7/j | ||||
|         vf+53LX/o8SY/6PFmP+53LX/wOO+/7veuP+837n/veC6/8Djvv+lyZv/uc+v/+rv5////////f79/+bs | ||||
|         4f+tx6H/rNCl/8Djvv+837n/vN+5/73guv+94Lr/veC6/7zfuf6/4r3/ut22/5e7iOuHq3IsAAAAAJW5 | ||||
|         hQYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3Isl7uI67rdtv+/4r3/vN+5/r3guv+94Lr/veC6/73g | ||||
|         uv+94Lr/vN+5/73guv+84Lr/ut22/7rdtv+84Lr/veC6/7zfuf+837n/veC6/73guv+/4rz/p8ue/7bO | ||||
|         q//r8ej///////7+/v/l7OH/ssun/6jNoP/B47//vN+5/7zfuf+94Lr/veC6/7zfuf6/4r3/ut22/5e7 | ||||
|         iOuHq3IsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAlLiEBgAAAACHq3Itl7uI67rdtv+/4r3/vN+5/r3g | ||||
|         uv+94Lr/veC6/73guv+837n/veC6/7zfuf+94Lr/vuG8/77hvP+94Lr/vN+5/73guv+94Lr/vN+5/7zf | ||||
|         uf+/4bz/vOC5/6jLnv+zy6j/7/Ps///////09vL/tcup/6PImf/C5MD/vN+5/7zfuf+94Lr/veC6/7zf | ||||
|         uf6/4r3/ut22/5e7iOuHq3ItAAAAAJS4hAYAAAAAAAAAAAAAAAAAAAAAlbmFBgAAAACHq3MsmLuI57rd | ||||
|         tv+/4r3/vN+5/r3guv+94Lr/veC6/73guv+94Lr/vN+5/73guv+837n/vN+5/7zfuf+837n/veC6/7zf | ||||
|         uf+837n/veC6/73guv+73rj/weO//7ndtf+qzKH/uc6t/9bhzv/A07b/sM+n/7fbs/++4Lv/vN+5/7zf | ||||
|         uf+94Lr/veC6/7zfuf6/4r3/ut22/5i7iOeHq3MsAAAAAJW5hQYAAAAAAAAAAAAAAAAAAAAAk7eDBgAA | ||||
|         AACGqnEwlbmG9rrdtv+/4r3+vN+5/r3guv+94Lr/veC6/73guv+94Lr/veC6/73guv+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/7zfuf+94Lr/u963/8Djvv+94Lr/qMqe/6vHnv+nyJv/ttqy/8Hk | ||||
|         v/+83rj/veC6/73guv+94Lr/veC6/7zfuf6/4r3+ut22/5W5hvaGqnEwAAAAAJO3gwYAAAAAAAAAAAAA | ||||
|         AAAAAAAAkraCBwAAAACFqnI1lLiF/7nctf+/4r39vN+4/r3guv+94Lr/veC6/73guv+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/73guv+837n/veC6/7zfuf+837n/vN+5/7zfuf+837n/veC6/7veuP++4Lv/wOK+/7HV | ||||
|         q/+94Lr/v+K9/7veuP+94Lr/vN+5/73guv+94Lr/veC6/7zfuP6/4r39udy1/5S4hf+FqnI1AAAAAJK2 | ||||
|         ggcAAAAAAAAAAAAAAAAAAAAAlLmFBwAAAACIrXU0lruI/7ndtv+/4r39vN+5/r3guv+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/73guv+84Lr/vN+5/73guv+94Lr/veC6/73guv+94Lr/veC6/73g | ||||
|         uv+837n/vN+5/73gu/+837n/vN+5/73guv+837n/veC6/73guv+94Lr/veC6/7zfuf6/4r39ud22/5a7 | ||||
|         iP+IrXU0AAAAAJS5hQcAAAAAAAAAAAAAAAAAAAAAlLmFBwAAAACHrXU0lruI/7ndtv+/4r39vN+5/r3g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/73guv+94Ln/veC6/73guv+837n/vN+5/7zfuf+94Lv/vuG8/77h | ||||
|         vP+94Lv/vN+5/7zfuf+837n/veC6/73guv+94Lr/vN+5/73guv+94Lr/veC6/73guv+94Lr/veC6/7zf | ||||
|         uf6/4r39ud22/5a7iP+HrXU0AAAAAJS5hQcAAAAAAAAAAAAAAAAAAAAAk7iEBwAAAACHrXU0lruH/7nd | ||||
|         tv+/4r39vN+5/r3guv+94Lr/veC6/73guv+94Lr/veC6/7zfuf+94Lr/vN+5/7zfuf+837n/weS//7zf | ||||
|         uf+sz6P/oMWW/6DFlv+sz6T/vN+5/8Hkv/+837n/vN+5/7zfuf+94Lr/veC6/7zfuf+94Lr/veC6/73g | ||||
|         uv+94Lr/veC6/7zfuf6/4r39ud22/5a7h/+HrXU0AAAAAJO4hAcAAAAAAAAAAAAAAAAAAAAAlLmFBwAA | ||||
|         AACHrXU0lruH/7ndtv+/4r39vN+5/r3guv+94Lr/veC6/73guv+94Lr/veC6/73guv+837n/veC6/77h | ||||
|         u/+63bf/qMyg/5vBkP+awpD/mMGP/5fBj/+awpH/m8GQ/6jMn/+63rf/vuG7/73guv+837n/veC6/73g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r39ud22/5a7h/+HrXU0AAAAAJS5hQcAAAAAAAAAAAAA | ||||
|         AAAAAAAAlLmFBwAAAACHrXU0lruH/7ndtv+/4r39vN+5/r3guv+94Lr/veC6/73guv+94Lr/vN+5/7zf | ||||
|         uf+837n/veC5/7rdtv+kyJr/krmF/5G7h/+ZxJL/n8qa/57Kmv+ZxJL/kbqG/5K5hf+kyZr/ut23/7zg | ||||
|         uf+84Ln/vN+5/7zfuf+94Lr/veC6/73guv+94Lr/veC6/7zfuf6/4r39ud22/5a7h/+HrXU0AAAAAJS5 | ||||
|         hQcAAAAAAAAAAAAAAAAAAAAAk7iEBwAAAACHrXU0lruH/7nctf+/4r39u9+4/rzfuf+837n/vN+5/7zf | ||||
|         uf+837n/vN+5/7zfuP++4bv/vN+5/6XJm/+QuIL/mMOR/6POoP+eyZn/nciY/57ImP+eyZn/o86g/5jD | ||||
|         kf+QuIP/psmd/7zfuf++4bv/vN+4/7zfuf+837n/vN+5/7zfuf+837n/vN+5/7vfuP6/4r39udy1/5a7 | ||||
|         h/+HrXU0AAAAAJO4hAcAAAAAAAAAAAAAAAAAAAAAlLmFBwAAAACIrXU0lruI/7rdtv/A4779vN+5/r3g | ||||
|         uv+94Lr/veC6/73guv+94Lr/veC6/73guv/A4r7/uNu0/4+1gP+Yw5H/oMyd/53Hl/+dyJj/nciY/53I | ||||
|         mP+dyJj/nceX/6DMnf+Yw5H/j7WA/7nbtf/A4r7/vOC5/73guv+94Lr/veC6/73guv+94Lr/veC6/7zf | ||||
|         uf7A4779ut22/5a7iP+IrXU0AAAAAJS5hQcAAAAAAAAAAAAAAAAAAAAAlLmGBwAAAACIrnY0l7yJ/7ve | ||||
|         uP/B5MD9veG7/r7hvP++4bz/vuG8/77hvP++4bz/vuG7/8Djvv+837n/qc6h/5S9iv+axZT/n8qb/53I | ||||
|         mP+eyZn/nsmZ/57Jmf+eyZn/nciY/5/Km/+axZT/lLyJ/6rOof+837n/wOO+/77hu/++4bz/vuG8/77h | ||||
|         vP++4bz/vuG8/77hu/7B5MD9u964/5e8if+IrnY0AAAAAJS5hgcAAAAAAAAAAAAAAAAAAAAAh6tyBwAA | ||||
|         AACApGk1iKx0/53BkP+hxZX9n8OT/6DElP+gxJT/oMSU/6DElP+gxJT/n8OT/6LGl/+avo3/i7F7/5nE | ||||
|         kv+eyZn/nciY/53ImP+dyJj/nsmZ/57Jmf+dyJj/nciY/53ImP+eyZn/mcOS/4uxev+avo3/osaX/5/D | ||||
|         k/+gxJT/oMSU/6DElP+gxJT/oMSU/5/Dk/+gxJX9ncGQ/4isdP+ApGk1AAAAAIercwcAAAAAAAAAAAAA | ||||
|         AAAAAAAAia12BgAAAAB9oWYtjK957qrOov+iyZr+mMCO/pjBj/6YwY//mMGP/5jBj/+YwY//mMGP/5nC | ||||
|         kP+Wv4z/kruI/5zHl/+eyZn/nciY/53ImP+eyZn/nsmZ/57Jmf+eyZn/nciY/53ImP+eyZr/nMiX/5K7 | ||||
|         h/+Wv4z/mcKQ/5jBj/+YwY//mMGP/5jBj/+YwY//mMGP/pjBjv6jypr+qs6i/4yvee59oWUtAAAAAImt | ||||
|         dQYAAAAAAAAAAAAAAAAAAAAAjbJ8BQAAAAB1mlwhkraCwr/ivf613LT/os2e/Z7Kmv+gy5z/n8ub/5/L | ||||
|         m/+fy5v/n8ub/5/Lm/+gy5z/ocye/57Jmf+dyJj/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+dyJj/nsmZ/6HMnv+gy5z/n8ub/5/Lm/+fy5v/n8ub/5/Lm/+gy5z/nsqa/6LNnv223LT/v+K9/pK2 | ||||
|         gcJ1mlwhAAAAAI6yfAUAAAAAAAAAAAAAAAAAAAAAgadsAwAAAABTfC8Phqxzfq7Sp/W427T/p8+i/JrG | ||||
|         lf6eyZn/nciY/53ImP+dyJj/nciY/53ImP+dyJj/nciY/53ImP+eyZn/nciY/57JmP+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmY/53ImP+eyZn/nciY/53Il/+dyJj/nciY/53ImP+dyJj/nciY/53ImP+eyZn/msaV/qfP | ||||
|         ovy427P/rtGm9YetdH1UfDIPAAAAAIKobQMAAAAAAAAAAAAAAAAAAAAAAAAAANT33wEAAAAAfKFlIpe7 | ||||
|         itm32bH/r9ar/ZvGlf6eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/m8aV/q/Wq/232bH/lruH2XimZiEAAAAA1efOAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIyw | ||||
|         ewMAAAAAdZpeComtd7S016/9tty0/6HLnP2dyJj+nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+dyJj+ocuc/bfdtP+01679ia11tXWaWwoAAAAAjLB5AwAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAIOpcAIAAAAAWYE6BX6kaXyv0afuut23/6nRpfubx5b/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+bx5b/qdGk+7rdtv+u0abugKRqeluAOwUAAAAAhalxAgAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHebWySbv47GtNau/7LYsPubx5b+nsmZ/p7I | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nciZ/57Jmf6bx5b+stiv+7PWrf+bv43FeppfIwAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACMs3wBAAAAAAAAAACDq3GgrNGl/7vg | ||||
|         uf6gypv9nsmZ/53ImP+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nciY/57Jmf+gypv9u+C5/q3Q | ||||
|         pf+FqXCfAAAAAAAAAACOsnwBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACIq3IBAAAAAAAA | ||||
|         AAB7oWR0qM2f6Lzguf+q0aX8nciX/53ImP+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nciY/53I | ||||
|         l/+q0qX8u+C5/6nNoOd8oGZzAAAAAAAAAACIqnMBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAABojlAoncGRuLPWrf+02rH6nMeX/pzIl/6dyJj+nciY/p3ImP6dyJj+nciY/p3I | ||||
|         mP6dyJj+nciY/p3ImP6dyJj+nciY/p3ImP6dyJj+nciY/p3ImP6dyJj+nciY/p3ImP6dyJj+nciY/p3I | ||||
|         mP6dyJj+nMiX/pzHl/602rH6s9at/53BkbhpjEsnAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAJm6iAIAAAAAh6x0f6bJm/+74Lr8oMqc/pvHlv6bx5b+nMeW/pzH | ||||
|         lv6cx5b+nMeW/pzHlv6cx5b+nMeW/pzHlv6cx5b+nMeW/pzHlv6cx5b+nMeW/pzHlv6cx5b+nMeW/pzH | ||||
|         lv6cx5b+nMeW/pzHlv6bx5b+m8eW/qDLnP674Lr8psmb/4esdH8AAAAAmbqIAgAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIisdQIAAAAAd5xfZaHElebF6MX8u9+5+brf | ||||
|         uPq637j6ut+4+rrfuPq637j6ut+4+rrfuPq637j6ut+4+rrfuPq637j6ut+4+rrfuPq637j6ut+4+rrf | ||||
|         uPq637j6ut+4+rrfuPq637j6ut+4+rrfuPq637j6ut+4+rvgufnF6MX8ocSV5necXmQAAAAAiKx0AgAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH+obAEAAAAAapRRJpG3 | ||||
|         gamixpb/qMuf/KnMn/6py5//qcuf/6nLn/+py5//qcuf/6nLn/+py5//qcuf/6nLn/+py5//qcuf/6nL | ||||
|         n/+py5//qcuf/6nLn/+py5//qcuf/6nLn/+py5//qcuf/6nLn/+py5//qcyf/qjLn/yixpb/kbaBqGuS | ||||
|         UCUAAAAAgKdsAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AACet4sCAAAAAH2lZ0KGq3KVjrN+ho6yfYiNsn2IjrJ9iI6yfYiOsn2IjrJ9iI6yfYiOsn2IjrJ9iI6y | ||||
|         fYiOsn2IjrJ9iI6yfYiOsn2IjrJ9iI6yfYiOsn2IjrJ9iI6yfYiOsn2IjrJ9iI6yfYiNsn2IjrJ9iI6z | ||||
|         foaGq3KVfqRoQgAAAACWuoQCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIatcgGQtX8DmLyKA5i8igOXu4kDmLyKA5i8 | ||||
|         igOYvIoDmLyKA5i8igOYvIoDmLyKA5i8igOYvIoDmLyKA5i8igOYvIoDmLyKA5i8igOYvIoDmLyKA5i8 | ||||
|         igOYvIoDmLyKA5i8igOXu4kDmLyKA5i8igOQtX8DhqxzAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAP///////wAA////////AAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgA | ||||
|         AAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAf | ||||
|         AAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgA | ||||
|         AAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAf | ||||
|         AAD4AAAAAB8AAPgAAAAAHwAA+AAAAAAfAAD4AAAAAB8AAPgAAAAAHwAA/AAAAAA/AAD8AAAAAD8AAPwA | ||||
|         AAAAPwAA/gAAAAB/AAD+AAAAAH8AAP4AAAAAfwAA/wAAAAD/AAD/AAAAAP8AAP+AAAAB/wAA/4AAAAH/ | ||||
|         AAD/gAAAAf8AAP/AAAAD/wAA////////AAD///////8AACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB/pGgBAAAAAHugZE6DqG1jhKpvW4Spbl2EqW5dhKluXYSp | ||||
|         bl2EqW5dhKluXYSpbl2EqW5dhKluXYSpbl2EqW5dhKluXYSpbl2EqW5dhKluXYSpbl2EqW5dhKluXYSp | ||||
|         bl2EqW5dhKpvW4OobWN7oGROAAAAAH+kaAEAAAAAAAAAAJq+jQQAAAAAjbF7vqjLnv+s0KP7qs6h/qvO | ||||
|         ov+rzqL/q86i/6vOov+rzqL/q86i/6vOov+qzqL/qs6i/6vOov+rzqL/q86i/6vOov+rzqL/q86i/6vO | ||||
|         ov+rzqL/q86i/6rOof6s0KP7qMue/42xe74AAAAAmr6NBAAAAAAAAAAArM+jBAAAAACZvYqtveC6/8Ll | ||||
|         wfjA4777weO//MDjv/vA47/7weO/+8Djv/vB47/7wOO++8Hjv/vA4777weO/+8Hjv/vB47/7wOO/+8Dj | ||||
|         v/vA47/7wOO/+8Djv/vB47/8wOO++8Llwfi94Lr/mb2KrQAAAACsz6MEAAAAAAAAAACny54EAAAAAJa6 | ||||
|         hrK427P/veC6+7ret/673rj+u964/rveuP673rf+u964/rrdt/6937r+u9+4/r3guv673rj+u963/rve | ||||
|         t/673rj+u964/rveuP673rj+u964/rveuP663rf+veC6+7jbs/+WuoayAAAAAKfLngQAAAAAAAAAAKjM | ||||
|         nwQAAAAAlrqHsbnctf++4bz7vN+5/r3guv+94Lr+veC6/7zfuf+73rj/vuG8/7ndtv+oyp7/rdCl/77i | ||||
|         vP+837r/vN+5/7zfuv+94Lr/veC6/73guv+94Lr+veC6/7zfuf6+4bz7udy1/5a6h7EAAAAAqMyfBAAA | ||||
|         AAAAAAAAqMyfBAAAAACWuoexudy0/77hu/u837n+veC6/7zfuf6837n+u964/r/hvP643bX+qsqg/tXf | ||||
|         zf7C1Lj+q8+j/r/ivf6837n+vN+5/r3guv6837n+vN+5/rzfuf694Lr/vN+5/r7hu/u53LT/lrqHsQAA | ||||
|         AACozJ8EAAAAAAAAAACozJ8EAAAAAJa6h7G53LT/vuG8+7zfuf694Lr/vN+5/rveuP+/4bz/uNy1/6vL | ||||
|         of/b5dX///////n6+f/C1bn/q8+j/7/ivf+837n/vN+5/73guv+94Lr/vN+5/r3guv+837n+vuG8+7nc | ||||
|         tP+WuoexAAAAAKjMnwQAAAAAAAAAAKjMnwQAAAAAlrqHsbnctP++4bz7vN+5/r3guv+837j+vuG8/7jc | ||||
|         tf+qyaD/3+nb///////n7eP/9ff0//3+/f/F17v/q86h/7/jvf+837n/vN+5/7zfuf+94Lr+veC6/7zf | ||||
|         uf6+4bz7udy0/5a6h7EAAAAAqMyfBAAAAAAAAAAAqMyfBAAAAACWuoexudy0/77hu/u837n+vN+5/73f | ||||
|         uv663rf/q8uh/+Ho2///////4ure/6TEmf+50K//9/j1//39/f/G1r3/q86j/7/ivf+837r/vN+4/7zf | ||||
|         uf694Lr/vN+5/r7hvPu53LT/lrqHsQAAAACozJ8EAAAAAAAAAACozJ8EAAAAAJa6h7G53LT/vuG7+7zf | ||||
|         uf6837n/vd+6/rret/+qyaD/5uzh/+ju5P+ryaD/u9+5/7DUqv+5z6//+Pn3//39/P/D1rr/q8+j/77i | ||||
|         vP+837n/vN+5/r3guv+837n+vuG8+7nctP+WuoexAAAAAKjMnwQAAAAAAAAAAKjMnwQAAAAAlrqHsbnc | ||||
|         tP++4bz7vN+5/r3guv+837j+vuG7/7jdtf+tzKT/rsyl/7ndtf++4Lv/v+K9/6/TqP+70bH/9ffz//3+ | ||||
|         /f/H177/rM+k/7/ivP+83rj+veC6/7zfuf6+4bz7udy0/5a6h7EAAAAAqMyfBAAAAAAAAAAAqMyfBAAA | ||||
|         AACWuoexudy0/77hu/u837n+veC6/7zfuf673rj/vuG7/7ndtv+53bb/vuG7/7veuP+837n/wOO+/67T | ||||
|         qP+40K7/9vn1///////A0rb/q9Ck/8Djvv673rj/vN+5/r7hu/u53LT/lrqHsQAAAACozJ8EAAAAAAAA | ||||
|         AACpzJ8EAAAAAJe6h6+53LX/vuG8+7zfuf694Lr/vN+5/rzfuf+837j/veC6/73gu/+837j/vN+5/7zf | ||||
|         uf+83rj/wOO+/63Spv+90rP/3+fY/7jRr/+z167/vuG8/rvfuP+837n+vuG8+7nctf+XuoevAAAAAKnM | ||||
|         nwQAAAAAAAAAAKfKngQAAAAAlLiFu7jbtP++4bv6vN+5/r3guv+94Lr+vN+5/7zguv+837n/vN+5/73f | ||||
|         uv+837n/vN+4/7veuP+73rj/wOO+/7LUq/+oyJz/tdiw/7/ivf+73rj+veC6/7zfuf6+4bv6uNu0/5S4 | ||||
|         hbsAAAAAp8qeBAAAAAAAAAAApsudBAAAAAGUuYbBuNu0/77hu/q837n/veC6/rzfuf694Lr/veC5/73g | ||||
|         uv+84Lr/u964/7zfuf++4bz/vuG8/7zfuf+73rj/vuG8/7vfuf++4bv/u964/7zfuf694Lr+vN+5/77h | ||||
|         u/q427T/lLmGwQAAAAGmy50EAAAAAAAAAACny50EAAAAAJW7h8G43LT/vuG8+rzfuf+94Lr+vN+5/rzf | ||||
|         uf+837n/vN+5/7veuP+/4rz/vuC7/7XYsP+12LD/veC7/7/ivf+73rj/vd+6/7zfuf+837n/veC6/r3g | ||||
|         uv6837n/vuG8+rjctP+Vu4fBAAAAAKfLnQQAAAAAAAAAAKfLnQQAAAAAlbqGwbjctP++4bz6vN+5/73g | ||||
|         uv694Lr+veC6/7zfuf+837n/vuG7/7LWrf+ix5j/mcGP/5nBkP+ix5j/stas/77hu/+837n/vN+5/7zf | ||||
|         uf+94Lr+veC6/rzfuf++4bz6uNy0/5W6hsEAAAAAp8udBAAAAAAAAAAAp8ucBAAAAACVuobBt9uz/73g | ||||
|         u/q73rj/vN+4/rzfuP673rj/u963/73guv+u0qf/k7uH/5XAjv+dyJj/nciY/5XAjf+Tu4f/r9Ko/73g | ||||
|         uv+73rf/u964/7zfuP6837j+u964/73gu/q327P/lbqGwQAAAACny5wEAAAAAAAAAACozKAEAAAAAJa7 | ||||
|         iMG73rf/wOO/+r7hu/++4bz/vuG8/r7hu//A477/vN64/5O6h/+axpX/oMuc/53Hl/+dx5f/oMuc/5rG | ||||
|         lf+Uuof/vN65/8Djvv++4bv/vuG8/r7hvP++4bv/wOO/+rvet/+Wu4jBAAAAAKjMnwQAAAAAAAAAAKDE | ||||
|         lAQAAAABkbWBwa/SqP+22bH6tNeu/7TXr/6016//tNeu/7bZsf+jx5n/lb+N/57Jmv+cx5f/nciY/53I | ||||
|         mP+cx5f/nsma/5W/jP+jx5n/ttmx/7TXrv+016//tNev/rTXrv+22bH6r9Ko/5G2gcEAAAABn8SVBAAA | ||||
|         AAAAAAAAl7uIBAAAAACKrXe5ocaX/5rBkPqYv43+mMCO/5jAjf6YwI7/mMCO/5C4hP+bxpb/nciY/53I | ||||
|         mP+dyJj/nciY/53ImP+dyJj/m8eW/5C4g/+YwI7/mMCO/5jAjf6YwI7/mL+N/prCkPqhxpf/iq13uQAA | ||||
|         AACXu4kEAAAAAAAAAACny58DAAAAAJC0f4i43LX/qNGl+5zIl/6eypr/ncmZ/p3Jmf+eyZn/n8qc/53I | ||||
|         mP+dyJj/nsmY/57Jmf+eyZn/nsmY/53ImP+dyJj/n8qb/57Jmf+dyZn/ncmZ/p7Kmv+cyJf+qNGl+7nc | ||||
|         tf+QtH6HAAAAAKjMngMAAAAAAAAAAJa7iQEAAAAAdZxeLKfKneix163/m8aV/Z7Imf+dyJj+nciY/53I | ||||
|         mP+dyJj/nciY/53ImP+dyJj/nsmZ/57Jmf+dyJj/nciY/53ImP+dyJj/nciY/53ImP+dyJj+nsiZ/5vG | ||||
|         lf2x163/psmb6HSeXiwAAAAAlryIAQAAAAAAAAAAAAAAAAAAAAAAAAADmLuKvbjctf+hy5z7nMiX/p7J | ||||
|         mf+eyZn+nsmZ/57Jmf+eyZn/nsmZ/57Jmf+dyJj/nciY/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/p7J | ||||
|         mf+cyJf+ocuc+7jctf+Yu4m9AAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAu924AgAAAACNsntlsdOq/arS | ||||
|         p/yaxpX9nsmZ/p3ImP6dyJj+nciY/p3ImP6dyJj+nciY/p3ImP6dyJj+nciY/p3ImP6dyJj+nciY/p3I | ||||
|         mP6dyJj+nsmZ/prGlf2q0qb8sNOp/I6yfGQAAAAAt9yzAgAAAAAAAAAAAAAAAAAAAACBqG0CAAAAAGWP | ||||
|         Syiix5jntduz/5zHl/yeyJn/nsmZ/p7Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57Jmf+eyZn/nsmZ/57J | ||||
|         mf+eyZn/nsmZ/57Jmf6eyJn/nMeX/LXbs/+jxpjnZ4xKKAAAAACDp20CAAAAAAAAAAAAAAAAAAAAAHSZ | ||||
|         WwEAAAAABC4AB5q/jZ+12bD/oMqb+5jEk/6bxpX+msaV/prGlf6axpX+msaV/prGlf6axpX+msaV/prG | ||||
|         lf6axpX+msaV/prGlf6axpX+m8aV/pjEk/6gy5v7tdmw/5u/jp4CJgAHAAAAAHSYWwEAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAIqudwIAAAAAfqNoWK7Rpv+027T6pM6g+6fRo/un0KP7p9Cj+6fQo/un0KP7p9Cj+6fQ | ||||
|         o/un0KP7p9Cj+6fQo/un0KP7p9Cj+6fQo/un0KP7pM6g+7TctPqu0ab/fqNoWAAAAACKrncCAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAeaBjAQAAAABnj0wmncGQz6/SqP+v0qf9r9Gn/6/Rp/+v0af/r9Gn/6/R | ||||
|         p/+v0af/r9Gn/6/Rp/+v0af/r9Gn/6/Rp/+v0af/r9Gn/6/Rp/+v0qf9r9Ko/53BkM9njUolAAAAAHqf | ||||
|         YgEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB8o2Y+iK12Zoywe12Lr3pfjK96X4yv | ||||
|         el+Mr3pfjK96X4yvel+Mr3pfjK96X4yvel+Mr3pfjK96X4yvel+Mr3pfi696X4ywe12IrXZmfaNmPgAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA///////////gAAAH4AAAB+AAAAfgAAAH4AAAB+AA | ||||
|         AAfgAAAH4AAAB+AAAAfgAAAH4AAAB+AAAAfgAAAH4AAAB+AAAAfgAAAH4AAAB+AAAAfgAAAH4AAAB+AA | ||||
|         AAfwAAAP8AAAD/gAAB/4AAAf+AAAH/wAAD/8AAA///////////8oAAAAEAAAACAAAAABACAAAAAAAAAE | ||||
|         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAH2iZxiGq3E8iK1zNoesczeHrHM3h6xyN4arcTeHrHM3h6xzN4es | ||||
|         czeHrHM3iK1zNoarcTx9omcYAAAAAAAAAACUuIRer9Oo/7TXrvaz1q35s9at+bTXrvm12LD5s9at+bPW | ||||
|         rfmz1q35s9at+bTXrvav06j/lLiEXgAAAAAAAAAAm7+NXbrdtv+/4r77vuG7/r/ivf+737j/stas/73h | ||||
|         u/+/4b3/vuG8/77hvP6/4r77ut22/5u/jV0AAAAAAAAAAJm9i12427P/veC6+73guv623LP+wNq5/ubs | ||||
|         4f631rH+ud63/r3guv6837n+veC7+7jbs/+ZvYtdAAAAAAAAAACZvYtduNu0/77hvPu43bX+wdq7/u3x | ||||
|         6f7a5tX+6/Dn/rjWsf653rb+veC6/r3gu/u427T/mb2LXQAAAAAAAAAAmb2LXbjbtP++4bz7uN21/sLa | ||||
|         vP7F3L//rdSn/87gyf/t8er/vNm3/rret/6+4bv7uNu0/5m9i10AAAAAAAAAAJm9i12427T/veC7+73g | ||||
|         uv653bX+uN21/7/ivf+y2K3/z+HJ/9PgzP6z2K/+v+K9+7jbs/+ZvYtdAAAAAAAAAACXvIpjt9uz/77h | ||||
|         u/u837n/veC6/r7gu/++4bv/wOO+/7fbs/+117D+veC6/77hu/u327P/l7yKYwAAAAAAAAAAmL2KZbfa | ||||
|         s/+94Lv7u9+4/73guv663bb/qs+k/6rPo/+73rj/vuG7/rveuP+94Lv7t9qz/5i9imUAAAAAAAAAAJi9 | ||||
|         i2W53LX/wOK++7/hvP+937n+nsWV/5nEk/+ZxJL/nsWV/73fuf6/4bz/wOK++7nctf+YvYtlAAAAAAAA | ||||
|         AACTtoJlp8yf/6fNoPupzqH/oceY/pnEk/+fypr/n8qa/5nEk/+hx5j+qM6h/6fNoPuozJ//k7aCZQAA | ||||
|         AAAAAAAAkbN/NKjOovubx5b/msaV/pvHlv6eyJn+nciY/p3ImP6eyZn+m8eW/prGlf6bx5b/qM6i+5G0 | ||||
|         fjQAAAAAAAAAAAAAAACpzaHBpM2g/53ImPyeyZn+nsmZ/p7Jmf6eyZn+nsmZ/p7Jmf6dyJj8pM2f/6nN | ||||
|         oMEAAAAAAAAAAKvPowMAAAAAn8OTcKnRpf+bx5b8ncmY/p3ImP+dyJj/nciY/53ImP+dyJj+m8eW/KnR | ||||
|         pf+gwpNvAAAAAKvPowOMsXsBAAAAAIKlayKozaDrqc+j/ajOofmozqH6qM6h+qjOofqozqH6qM6h+anP | ||||
|         o/2ozaDqgqVrIgAAAACNsXsBAAAAAAAAAAAAAAAAiq93LZq7ijuauok4mrqJOZq6iTmauok5mrqJOZq6 | ||||
|         iTiau4o7iq53LQAAAAAAAAAAAAAAAP//AADAAwAAwAMAAMADAADAAwAAwAMAAMADAADAAwAAwAMAAMAD | ||||
|         AADAAwAAwAMAAMADAADgBwAA4AcAAP//AAA= | ||||
| </value> | ||||
|   </data> | ||||
| </root> | ||||
							
								
								
									
										137
									
								
								Handler/Project_form2/Dialog/fSelectResult.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										137
									
								
								Handler/Project_form2/Dialog/fSelectResult.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,137 @@ | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     partial class fSelectResult | ||||
| 	{ | ||||
|         /// <summary> | ||||
|         /// Required designer variable. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Clean up any resources being used. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region Windows Form Designer generated code | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Required method for Designer support - do not modify | ||||
|         /// the contents of this method with the code editor. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
| 			this.button1 = new System.Windows.Forms.Button(); | ||||
| 			this.lv1 = new System.Windows.Forms.ListView(); | ||||
| 			this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||
| 			this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||
| 			this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||
| 			this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||
| 			this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||
| 			this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||
| 			this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||
| 			this.SuspendLayout(); | ||||
| 			//  | ||||
| 			// button1 | ||||
| 			//  | ||||
| 			this.button1.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
| 			this.button1.Location = new System.Drawing.Point(0, 493); | ||||
| 			this.button1.Name = "button1"; | ||||
| 			this.button1.Size = new System.Drawing.Size(932, 55); | ||||
| 			this.button1.TabIndex = 1; | ||||
| 			this.button1.Text = "선택 확인"; | ||||
| 			this.button1.UseVisualStyleBackColor = true; | ||||
| 			this.button1.Click += new System.EventHandler(this.button1_Click); | ||||
| 			//  | ||||
| 			// lv1 | ||||
| 			//  | ||||
| 			this.lv1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { | ||||
|             this.columnHeader1, | ||||
|             this.columnHeader2, | ||||
|             this.columnHeader3, | ||||
|             this.columnHeader5, | ||||
|             this.columnHeader6, | ||||
|             this.columnHeader7, | ||||
|             this.columnHeader4}); | ||||
| 			this.lv1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.lv1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
| 			this.lv1.FullRowSelect = true; | ||||
| 			this.lv1.GridLines = true; | ||||
| 			this.lv1.Location = new System.Drawing.Point(0, 0); | ||||
| 			this.lv1.Name = "lv1"; | ||||
| 			this.lv1.Size = new System.Drawing.Size(932, 493); | ||||
| 			this.lv1.TabIndex = 2; | ||||
| 			this.lv1.UseCompatibleStateImageBehavior = false; | ||||
| 			this.lv1.View = System.Windows.Forms.View.Details; | ||||
| 			//  | ||||
| 			// columnHeader1 | ||||
| 			//  | ||||
| 			this.columnHeader1.Text = "TIME"; | ||||
| 			this.columnHeader1.Width = 120; | ||||
| 			//  | ||||
| 			// columnHeader2 | ||||
| 			//  | ||||
| 			this.columnHeader2.Text = "SID"; | ||||
| 			this.columnHeader2.Width = 120; | ||||
| 			//  | ||||
| 			// columnHeader3 | ||||
| 			//  | ||||
| 			this.columnHeader3.Text = "RID"; | ||||
| 			this.columnHeader3.Width = 130; | ||||
| 			//  | ||||
| 			// columnHeader4 | ||||
| 			//  | ||||
| 			this.columnHeader4.Text = "QTY"; | ||||
| 			this.columnHeader4.Width = 80; | ||||
| 			//  | ||||
| 			// columnHeader5 | ||||
| 			//  | ||||
| 			this.columnHeader5.Text = "CUST"; | ||||
| 			this.columnHeader5.Width = 100; | ||||
| 			//  | ||||
| 			// columnHeader6 | ||||
| 			//  | ||||
| 			this.columnHeader6.Text = "V.LOT"; | ||||
| 			this.columnHeader6.Width = 140; | ||||
| 			//  | ||||
| 			// columnHeader7 | ||||
| 			//  | ||||
| 			this.columnHeader7.Text = "V.NAME"; | ||||
| 			this.columnHeader7.Width = 130; | ||||
| 			//  | ||||
| 			// fSelectResult | ||||
| 			//  | ||||
| 			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | ||||
| 			this.ClientSize = new System.Drawing.Size(932, 548); | ||||
| 			this.Controls.Add(this.lv1); | ||||
| 			this.Controls.Add(this.button1); | ||||
| 			this.Font = new System.Drawing.Font("맑은 고딕", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
| 			this.MaximizeBox = false; | ||||
| 			this.MinimizeBox = false; | ||||
| 			this.Name = "fSelectResult"; | ||||
| 			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
| 			this.Text = "값을 선택하세요 (실제 비어 있는 데이터만 선택값에서 추출 됩니다)"; | ||||
| 			this.Load += new System.EventHandler(this.fSelectDataList_Load); | ||||
| 			this.ResumeLayout(false); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|         private System.Windows.Forms.Button button1; | ||||
| 		private System.Windows.Forms.ListView lv1; | ||||
| 		private System.Windows.Forms.ColumnHeader columnHeader1; | ||||
| 		private System.Windows.Forms.ColumnHeader columnHeader2; | ||||
| 		private System.Windows.Forms.ColumnHeader columnHeader3; | ||||
| 		private System.Windows.Forms.ColumnHeader columnHeader4; | ||||
| 		private System.Windows.Forms.ColumnHeader columnHeader5; | ||||
| 		private System.Windows.Forms.ColumnHeader columnHeader6; | ||||
| 		private System.Windows.Forms.ColumnHeader columnHeader7; | ||||
| 	} | ||||
| } | ||||
							
								
								
									
										60
									
								
								Handler/Project_form2/Dialog/fSelectResult.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										60
									
								
								Handler/Project_form2/Dialog/fSelectResult.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,60 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
| 	public partial class fSelectResult : Form | ||||
| 	{ | ||||
| 		public Component_Reel_Result SelectedValue = null; | ||||
| 		public fSelectResult(List<Component_Reel_Result> list) | ||||
| 		{ | ||||
| 			InitializeComponent(); | ||||
| 			this.lv1.Items.Clear(); | ||||
| 			foreach (var item in list) | ||||
| 			{ | ||||
| 				var dt = (DateTime)item.wdate; | ||||
| 				var lv = this.lv1.Items.Add(dt.ToString("dd HH:mm:ss")); | ||||
| 				var std = new StdLabelPrint.CAmkorSTDBarcode(item.QR); | ||||
| 				lv.SubItems.Add(item.SID); | ||||
| 				lv.SubItems.Add(item.RID); | ||||
| 				var custcode = item.RID.Substring(2, 4); | ||||
| 				lv.SubItems.Add(custcode); | ||||
| 				lv.SubItems.Add(std.VLOT); | ||||
| 				lv.SubItems.Add(item.VNAME); | ||||
| 				lv.SubItems.Add(item.QTY.ToString()); | ||||
| 				lv.Tag = item; | ||||
| 			} | ||||
|  | ||||
| 			this.KeyDown += FSelectDataList_KeyDown; | ||||
| 		} | ||||
|  | ||||
| 		private void FSelectDataList_KeyDown(object sender, KeyEventArgs e) | ||||
| 		{ | ||||
| 			if (e.KeyCode == Keys.Escape) this.Close(); | ||||
| 		} | ||||
|  | ||||
| 		private void fSelectDataList_Load(object sender, EventArgs e) | ||||
| 		{ | ||||
|  | ||||
| 		} | ||||
|  | ||||
| 		private void button1_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			if (this.lv1.FocusedItem == null) | ||||
| 			{ | ||||
| 				Util.MsgE("아이템을 선택하세요\n\n취소하려면 ESC키 혹은 닫기 버튼을 누르세요"); | ||||
| 				return; | ||||
| 			} | ||||
| 			this.SelectedValue = this.lv1.FocusedItem.Tag as Component_Reel_Result; | ||||
| 			this.DialogResult = DialogResult.OK; | ||||
|  | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
							
								
								
									
										120
									
								
								Handler/Project_form2/Dialog/fSelectResult.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										120
									
								
								Handler/Project_form2/Dialog/fSelectResult.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,120 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
| </root> | ||||
							
								
								
									
										123
									
								
								Handler/Project_form2/Dialog/fSelectSID.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										123
									
								
								Handler/Project_form2/Dialog/fSelectSID.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,123 @@ | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     partial class fSelectSID | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// Required designer variable. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Clean up any resources being used. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region Windows Form Designer generated code | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Required method for Designer support - do not modify | ||||
|         /// the contents of this method with the code editor. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
|             this.label1 = new System.Windows.Forms.Label(); | ||||
|             this.listView1 = new System.Windows.Forms.ListView(); | ||||
|             this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||
|             this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||
|             this.button1 = new System.Windows.Forms.Button(); | ||||
|             this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // label1 | ||||
|             //  | ||||
|             this.label1.AutoSize = true; | ||||
|             this.label1.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.label1.Location = new System.Drawing.Point(15, 21); | ||||
|             this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); | ||||
|             this.label1.Name = "label1"; | ||||
|             this.label1.Size = new System.Drawing.Size(633, 60); | ||||
|             this.label1.TabIndex = 0; | ||||
|             this.label1.Text = "복수개의 SID 변환 정보가 확인 되었습니다.\r\n아래 SID 목록에서 사용할 데이터를 선택하고 \"확인\" 을 누르세요."; | ||||
|             //  | ||||
|             // listView1 | ||||
|             //  | ||||
|             this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { | ||||
|             this.columnHeader2, | ||||
|             this.columnHeader1, | ||||
|             this.columnHeader3}); | ||||
|             this.listView1.FullRowSelect = true; | ||||
|             this.listView1.GridLines = true; | ||||
|             this.listView1.HideSelection = false; | ||||
|             this.listView1.Location = new System.Drawing.Point(16, 107); | ||||
|             this.listView1.Name = "listView1"; | ||||
|             this.listView1.Size = new System.Drawing.Size(652, 205); | ||||
|             this.listView1.TabIndex = 1; | ||||
|             this.listView1.UseCompatibleStateImageBehavior = false; | ||||
|             this.listView1.View = System.Windows.Forms.View.Details; | ||||
|             //  | ||||
|             // columnHeader1 | ||||
|             //  | ||||
|             this.columnHeader1.Text = "New SID"; | ||||
|             this.columnHeader1.Width = 200; | ||||
|             //  | ||||
|             // columnHeader3 | ||||
|             //  | ||||
|             this.columnHeader3.Text = "Cust#"; | ||||
|             this.columnHeader3.Width = 300; | ||||
|             //  | ||||
|             // button1 | ||||
|             //  | ||||
|             this.button1.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button1.Location = new System.Drawing.Point(16, 327); | ||||
|             this.button1.Name = "button1"; | ||||
|             this.button1.Size = new System.Drawing.Size(652, 66); | ||||
|             this.button1.TabIndex = 2; | ||||
|             this.button1.Text = "확인"; | ||||
|             this.button1.UseVisualStyleBackColor = true; | ||||
|             this.button1.Click += new System.EventHandler(this.button1_Click); | ||||
|             //  | ||||
|             // columnHeader2 | ||||
|             //  | ||||
|             this.columnHeader2.Text = "Old SID"; | ||||
|             this.columnHeader2.Width = 200; | ||||
|             //  | ||||
|             // fSelectSID | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 21F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(685, 413); | ||||
|             this.Controls.Add(this.button1); | ||||
|             this.Controls.Add(this.listView1); | ||||
|             this.Controls.Add(this.label1); | ||||
|             this.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); | ||||
|             this.MaximizeBox = false; | ||||
|             this.MinimizeBox = false; | ||||
|             this.Name = "fSelectSID"; | ||||
|             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
|             this.Text = "fSelectSID"; | ||||
|             this.Load += new System.EventHandler(this.fSelectSID_Load); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|  | ||||
|         private System.Windows.Forms.Label label1; | ||||
|         private System.Windows.Forms.ListView listView1; | ||||
|         private System.Windows.Forms.ColumnHeader columnHeader1; | ||||
|         private System.Windows.Forms.Button button1; | ||||
|         private System.Windows.Forms.ColumnHeader columnHeader3; | ||||
|         private System.Windows.Forms.ColumnHeader columnHeader2; | ||||
|     } | ||||
| } | ||||
							
								
								
									
										96
									
								
								Handler/Project_form2/Dialog/fSelectSID.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										96
									
								
								Handler/Project_form2/Dialog/fSelectSID.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,96 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     public partial class fSelectSID : Form | ||||
|     { | ||||
|  | ||||
|         public string Value = string.Empty; | ||||
|         public fSelectSID(List<string> list) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             //this.listView1.Columns[1].Text = aftercolumnname; | ||||
|  | ||||
|             this.listView1.Columns[0].Text = "Old SID"; | ||||
|             this.listView1.Columns[1].Text = "New SID"; | ||||
|             //this.listView1.Columns[2].Text = "106"; | ||||
|             //this.listView1.Columns[3].Text = "--"; | ||||
|  | ||||
|             this.listView1.Items.Clear(); | ||||
|             foreach (var item in list) | ||||
|             { | ||||
|                 var buf = item.Split(';'); | ||||
|  | ||||
|                 var lv = this.listView1.Items.Add(buf[0].Trim());    //101 | ||||
|                 if (buf.Length > 1) lv.SubItems.Add(buf[1].Trim());    //103; | ||||
|                 else lv.SubItems.Add(string.Empty); | ||||
|                 //if (buf.Length > 2) lv.SubItems.Add(buf[2].Trim());    //103; | ||||
|                 //else lv.SubItems.Add(string.Empty); | ||||
|                 //if (buf.Length > 3) lv.SubItems.Add(buf[3].Trim());    //103; | ||||
|                 //lv.SubItems.Add(string.Empty); | ||||
|             } | ||||
|             this.listView1.FocusedItem = null; | ||||
|         } | ||||
|  | ||||
|         private void button1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             Value = string.Empty; | ||||
|             if (this.listView1.SelectedItems != null && this.listView1.SelectedItems.Count == 1) | ||||
|             { | ||||
|                 var lv = this.listView1.SelectedItems[0]; | ||||
|                 Value = string.Format("{0};{1}", lv.SubItems[0].Text, lv.SubItems[1].Text); | ||||
|             } | ||||
|             else if (this.listView1.FocusedItem != null) | ||||
|             { | ||||
|                 var lv = this.listView1.FocusedItem; | ||||
|                 Value = string.Format("{0};{1}", lv.SubItems[0].Text, lv.SubItems[1].Text); | ||||
|             } | ||||
|  | ||||
|             if (Value.isEmpty() == false) | ||||
|                 DialogResult = DialogResult.OK; | ||||
|         } | ||||
|  | ||||
|         private void fSelectSID_Load(object sender, EventArgs e) | ||||
|         { | ||||
|             // 모든데이터를 확인하고 마지막 customer 정보를 확인하.ㄴㄷ | ||||
|  | ||||
|             foreach (ListViewItem lv in this.listView1.Items) | ||||
|             { | ||||
|                 var sidNew = lv.SubItems[1].Text; | ||||
|                 if (sidNew.isEmpty()) lv.SubItems.Add("--"); | ||||
|                 else | ||||
|                 { | ||||
|                     using (var db = new EEEntities()) | ||||
|                     { | ||||
|                         var list = db.Component_Reel_SIDInfo.Where(t => t.SID == sidNew && string.IsNullOrEmpty(t.CustCode) == false).ToList(); | ||||
|                         if (list.Any() == true) | ||||
|                         { | ||||
|                             var buffer = new System.Text.StringBuilder(); | ||||
|                             foreach (var custinfo in list) | ||||
|                             { | ||||
|                                 if (buffer.Length > 0) buffer.Append(","); | ||||
|                                 buffer.Append(string.Format("[{0}] {1}", custinfo.CustCode,custinfo.CustName)); | ||||
|                             } | ||||
|                             lv.SubItems.Add(buffer.ToString()); //cust info | ||||
|                         } | ||||
|                         else | ||||
|                         { | ||||
|                             ///자료가 없다 | ||||
|                             lv.SubItems.Add("정보 없음"); | ||||
|                         } | ||||
|                     } | ||||
|                 } | ||||
|  | ||||
|             } | ||||
|  | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										120
									
								
								Handler/Project_form2/Dialog/fSelectSID.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										120
									
								
								Handler/Project_form2/Dialog/fSelectSID.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,120 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
| </root> | ||||
							
								
								
									
										47
									
								
								Handler/Project_form2/Don't change it/Class/CFlag.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								Handler/Project_form2/Don't change it/Class/CFlag.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,47 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
|  | ||||
| namespace Project | ||||
| { | ||||
|     public class Flag : CInterLock | ||||
|     { | ||||
|         public Boolean IsInit; //H/W설정이 안된경우에만 FALSE로 한다 | ||||
|         public int PortCount; | ||||
|         public string[] Name; | ||||
|  | ||||
|         public Flag() | ||||
|         { | ||||
|             this.Tag = "MAIN"; | ||||
|             PortCount = 64; | ||||
|             IsInit = true; | ||||
|             errorMessage = string.Empty; | ||||
|             _value = 0; | ||||
|             Name = new string[PortCount]; | ||||
|             for (int i = 0; i < Name.Length; i++) | ||||
|             { | ||||
|                 Name[i] = string.Empty; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         public bool get(eFlag flag) | ||||
|         { | ||||
|             return get((int)flag); | ||||
|         } | ||||
|         public void set(eFlag flag, bool value, string reason) | ||||
|         { | ||||
|             var idx = (int)flag; | ||||
|             set(idx, value, reason); | ||||
|         } | ||||
|  | ||||
|         public void Toggle(eFlag flag) | ||||
|         { | ||||
|             Toggle((int)flag); | ||||
|         } | ||||
|  | ||||
|  | ||||
|     } | ||||
|     | ||||
|  | ||||
| } | ||||
							
								
								
									
										99
									
								
								Handler/Project_form2/Don't change it/Class/CInterLock.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										99
									
								
								Handler/Project_form2/Don't change it/Class/CInterLock.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,99 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
|  | ||||
| namespace Project | ||||
| { | ||||
|     public class CInterLock | ||||
|     { | ||||
|         UInt64 offsetValue = 0x01; | ||||
|         public object Tag { get; set; } | ||||
|         public string errorMessage; | ||||
|         protected UInt64 _value; | ||||
|  | ||||
|         public UInt64 Value { get { return _value; } set { _value = value; } } | ||||
|  | ||||
|         public event EventHandler<ValueEventArgs> ValueChanged; | ||||
|         public class ValueEventArgs : EventArgs | ||||
|         { | ||||
|             private int _arridx; | ||||
|             private Boolean _oldvalue; | ||||
|             private Boolean _newvalue; | ||||
|             private string _reason; | ||||
|  | ||||
|             public int ArrIDX { get { return _arridx; } } | ||||
|             public Boolean OldValue { get { return _oldvalue; } } | ||||
|             public Boolean NewValue { get { return _newvalue; } } | ||||
|             public string Reason { get { return _reason; } } | ||||
|             public Boolean NewOn { get; set; } | ||||
|             public Boolean NewOff { get; set; } | ||||
|  | ||||
|             public ValueEventArgs(int arridx, Boolean oldvalue, Boolean newvalue, string reason_, Boolean newon_, Boolean newof_) | ||||
|             { | ||||
|                 _arridx = arridx; | ||||
|                 _oldvalue = oldvalue; | ||||
|                 _newvalue = newvalue; | ||||
|                 _reason = reason_; | ||||
|                 this.NewOn = newon_; | ||||
|                 this.NewOff = newon_; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         public CInterLock(object tag = null) | ||||
|         { | ||||
|             errorMessage = string.Empty; | ||||
|             _value = 0; | ||||
|             this.Tag = tag; | ||||
|         } | ||||
|  | ||||
|         public Boolean get(int idx) | ||||
|         { | ||||
| 			if (idx >= 64) | ||||
| 				throw new Exception("flag는 최대 64개를 지원 합니다"); | ||||
|  | ||||
|             var offset = (UInt64)(offsetValue << idx); | ||||
|             return (_value & offset) != 0; | ||||
|         } | ||||
|         public void set(int idx, Boolean value, string reason) | ||||
|         { | ||||
| 			if (idx >= 64) | ||||
| 				throw new Exception("flag는 최대 64개를 지원 합니다"); | ||||
|  | ||||
| 			var oldvalue = get(idx); | ||||
|             var raw_old = _value; | ||||
|             if (value) | ||||
|             { | ||||
|                 var offset = (UInt64)(offsetValue << idx); | ||||
|                 _value = _value | offset; | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 var shiftvalue = (UInt64)(offsetValue << idx); | ||||
|                 UInt64 offset = ~shiftvalue; | ||||
|                 _value = _value & offset; | ||||
|             } | ||||
|  | ||||
|             if (oldvalue != value) | ||||
|             { | ||||
|                 Boolean NewOn = (raw_old == 0 && _value > 0); | ||||
|                 Boolean NewOf = (raw_old != 0 && _value == 0); | ||||
|                 if (ValueChanged != null) | ||||
|                     ValueChanged(this, new ValueEventArgs(idx, oldvalue, value, reason, NewOn, NewOf)); | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 //Pub.log.Add(" >> SKIP"); | ||||
|                 //if (string.IsNullOrEmpty(reason) == false) | ||||
|                 //Pub.log.Add("#### FLAG변경(값이 같아서 처리 안함) : idx=" + idx.ToString() + ",값:" + value.ToString() + ",사유:" + reason); | ||||
|             } | ||||
|         } | ||||
|         public void Toggle(int idx, string reason = "") | ||||
|         { | ||||
|             var curValue = get(idx); | ||||
|             set(idx, !curValue, reason); | ||||
|         } | ||||
|  | ||||
|     } | ||||
| } | ||||
							
								
								
									
										229
									
								
								Handler/Project_form2/Don't change it/Dialog/SystemParameter.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										229
									
								
								Handler/Project_form2/Don't change it/Dialog/SystemParameter.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,229 @@ | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     partial class SystemParameter | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// Required designer variable. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Clean up any resources being used. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region Windows Form Designer generated code | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Required method for Designer support - do not modify | ||||
|         /// the contents of this method with the code editor. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
|             this.button1 = new System.Windows.Forms.Button(); | ||||
|             this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); | ||||
|             this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); | ||||
|             this.button9 = new System.Windows.Forms.Button(); | ||||
|             this.button8 = new System.Windows.Forms.Button(); | ||||
|             this.button7 = new System.Windows.Forms.Button(); | ||||
|             this.button6 = new System.Windows.Forms.Button(); | ||||
|             this.button5 = new System.Windows.Forms.Button(); | ||||
|             this.button2 = new System.Windows.Forms.Button(); | ||||
|             this.button3 = new System.Windows.Forms.Button(); | ||||
|             this.button4 = new System.Windows.Forms.Button(); | ||||
|             this.tableLayoutPanel1.SuspendLayout(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // button1 | ||||
|             //  | ||||
|             this.button1.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
|             this.button1.Location = new System.Drawing.Point(0, 637); | ||||
|             this.button1.Name = "button1"; | ||||
|             this.button1.Size = new System.Drawing.Size(537, 51); | ||||
|             this.button1.TabIndex = 0; | ||||
|             this.button1.Text = "Save"; | ||||
|             this.button1.UseVisualStyleBackColor = true; | ||||
|             this.button1.Click += new System.EventHandler(this.button1_Click); | ||||
|             //  | ||||
|             // propertyGrid1 | ||||
|             //  | ||||
|             this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.propertyGrid1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.propertyGrid1.Name = "propertyGrid1"; | ||||
|             this.propertyGrid1.Size = new System.Drawing.Size(537, 578); | ||||
|             this.propertyGrid1.TabIndex = 1; | ||||
|             //  | ||||
|             // tableLayoutPanel1 | ||||
|             //  | ||||
|             this.tableLayoutPanel1.ColumnCount = 8; | ||||
|             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 12.5F)); | ||||
|             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 12.5F)); | ||||
|             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 12.5F)); | ||||
|             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 12.5F)); | ||||
|             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 12.5F)); | ||||
|             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 12.5F)); | ||||
|             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 12.5F)); | ||||
|             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 12.5F)); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button9, 7, 0); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button8, 6, 0); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button7, 5, 0); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button6, 4, 0); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button5, 3, 0); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button2, 0, 0); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button3, 1, 0); | ||||
|             this.tableLayoutPanel1.Controls.Add(this.button4, 2, 0); | ||||
|             this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
|             this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 578); | ||||
|             this.tableLayoutPanel1.Name = "tableLayoutPanel1"; | ||||
|             this.tableLayoutPanel1.RowCount = 1; | ||||
|             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); | ||||
|             this.tableLayoutPanel1.Size = new System.Drawing.Size(537, 59); | ||||
|             this.tableLayoutPanel1.TabIndex = 3; | ||||
|             //  | ||||
|             // button9 | ||||
|             //  | ||||
|             this.button9.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button9.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button9.Location = new System.Drawing.Point(472, 3); | ||||
|             this.button9.Name = "button9"; | ||||
|             this.button9.Size = new System.Drawing.Size(62, 53); | ||||
|             this.button9.TabIndex = 5; | ||||
|             this.button9.Tag = "7"; | ||||
|             this.button9.Text = "Motor 7"; | ||||
|             this.button9.UseVisualStyleBackColor = true; | ||||
|             this.button9.Click += new System.EventHandler(this.button2_Click_1); | ||||
|             //  | ||||
|             // button8 | ||||
|             //  | ||||
|             this.button8.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button8.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button8.Location = new System.Drawing.Point(405, 3); | ||||
|             this.button8.Name = "button8"; | ||||
|             this.button8.Size = new System.Drawing.Size(61, 53); | ||||
|             this.button8.TabIndex = 4; | ||||
|             this.button8.Tag = "6"; | ||||
|             this.button8.Text = "Motor 6"; | ||||
|             this.button8.UseVisualStyleBackColor = true; | ||||
|             this.button8.Click += new System.EventHandler(this.button2_Click_1); | ||||
|             //  | ||||
|             // button7 | ||||
|             //  | ||||
|             this.button7.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button7.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button7.Location = new System.Drawing.Point(338, 3); | ||||
|             this.button7.Name = "button7"; | ||||
|             this.button7.Size = new System.Drawing.Size(61, 53); | ||||
|             this.button7.TabIndex = 3; | ||||
|             this.button7.Tag = "5"; | ||||
|             this.button7.Text = "Motor 5"; | ||||
|             this.button7.UseVisualStyleBackColor = true; | ||||
|             this.button7.Click += new System.EventHandler(this.button2_Click_1); | ||||
|             //  | ||||
|             // button6 | ||||
|             //  | ||||
|             this.button6.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button6.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button6.Location = new System.Drawing.Point(271, 3); | ||||
|             this.button6.Name = "button6"; | ||||
|             this.button6.Size = new System.Drawing.Size(61, 53); | ||||
|             this.button6.TabIndex = 2; | ||||
|             this.button6.Tag = "4"; | ||||
|             this.button6.Text = "Motor 4"; | ||||
|             this.button6.UseVisualStyleBackColor = true; | ||||
|             this.button6.Click += new System.EventHandler(this.button2_Click_1); | ||||
|             //  | ||||
|             // button5 | ||||
|             //  | ||||
|             this.button5.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button5.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button5.Location = new System.Drawing.Point(204, 3); | ||||
|             this.button5.Name = "button5"; | ||||
|             this.button5.Size = new System.Drawing.Size(61, 53); | ||||
|             this.button5.TabIndex = 1; | ||||
|             this.button5.Tag = "3"; | ||||
|             this.button5.Text = "Motor 3"; | ||||
|             this.button5.UseVisualStyleBackColor = true; | ||||
|             this.button5.Click += new System.EventHandler(this.button2_Click_1); | ||||
|             //  | ||||
|             // button2 | ||||
|             //  | ||||
|             this.button2.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button2.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button2.Location = new System.Drawing.Point(3, 3); | ||||
|             this.button2.Name = "button2"; | ||||
|             this.button2.Size = new System.Drawing.Size(61, 53); | ||||
|             this.button2.TabIndex = 0; | ||||
|             this.button2.Tag = "0"; | ||||
|             this.button2.Text = "Motor 0"; | ||||
|             this.button2.UseVisualStyleBackColor = true; | ||||
|             this.button2.Click += new System.EventHandler(this.button2_Click_1); | ||||
|             //  | ||||
|             // button3 | ||||
|             //  | ||||
|             this.button3.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button3.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button3.Location = new System.Drawing.Point(70, 3); | ||||
|             this.button3.Name = "button3"; | ||||
|             this.button3.Size = new System.Drawing.Size(61, 53); | ||||
|             this.button3.TabIndex = 0; | ||||
|             this.button3.Tag = "1"; | ||||
|             this.button3.Text = "Motor 1"; | ||||
|             this.button3.UseVisualStyleBackColor = true; | ||||
|             this.button3.Click += new System.EventHandler(this.button2_Click_1); | ||||
|             //  | ||||
|             // button4 | ||||
|             //  | ||||
|             this.button4.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.button4.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.button4.Location = new System.Drawing.Point(137, 3); | ||||
|             this.button4.Name = "button4"; | ||||
|             this.button4.Size = new System.Drawing.Size(61, 53); | ||||
|             this.button4.TabIndex = 0; | ||||
|             this.button4.Tag = "2"; | ||||
|             this.button4.Text = "Motor 2"; | ||||
|             this.button4.UseVisualStyleBackColor = true; | ||||
|             this.button4.Click += new System.EventHandler(this.button2_Click_1); | ||||
|             //  | ||||
|             // SystemParameter | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(537, 688); | ||||
|             this.Controls.Add(this.propertyGrid1); | ||||
|             this.Controls.Add(this.tableLayoutPanel1); | ||||
|             this.Controls.Add(this.button1); | ||||
|             this.KeyPreview = true; | ||||
|             this.MaximizeBox = false; | ||||
|             this.MinimizeBox = false; | ||||
|             this.Name = "SystemParameter"; | ||||
|             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
|             this.Text = "SystemParameter"; | ||||
|             this.Load += new System.EventHandler(this.SystemParameter_Load); | ||||
|             this.tableLayoutPanel1.ResumeLayout(false); | ||||
|             this.ResumeLayout(false); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|  | ||||
|         private System.Windows.Forms.Button button1; | ||||
|         private System.Windows.Forms.PropertyGrid propertyGrid1; | ||||
|         private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; | ||||
|         private System.Windows.Forms.Button button9; | ||||
|         private System.Windows.Forms.Button button8; | ||||
|         private System.Windows.Forms.Button button7; | ||||
|         private System.Windows.Forms.Button button6; | ||||
|         private System.Windows.Forms.Button button5; | ||||
|         private System.Windows.Forms.Button button2; | ||||
|         private System.Windows.Forms.Button button3; | ||||
|         private System.Windows.Forms.Button button4; | ||||
|     } | ||||
| } | ||||
| @@ -0,0 +1,49 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     public partial class SystemParameter : Form | ||||
|     { | ||||
|         public SystemParameter() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             this.KeyDown += SystemParameter_KeyDown; | ||||
|         } | ||||
|  | ||||
|         void SystemParameter_KeyDown(object sender, KeyEventArgs e) | ||||
|         { | ||||
|             if (e.KeyCode == Keys.Escape) this.Close(); | ||||
|         } | ||||
|  | ||||
|         private void button1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             this.Invalidate(); | ||||
|             Pub.system.Save(); | ||||
|             DialogResult = System.Windows.Forms.DialogResult.OK; | ||||
|         } | ||||
|  | ||||
|         private void SystemParameter_Load(object sender, EventArgs e) | ||||
|         { | ||||
|             this.propertyGrid1.SelectedObject = Pub.system; | ||||
|             this.propertyGrid1.Invalidate(); | ||||
|         } | ||||
|  | ||||
|         private void button2_Click(object sender, EventArgs e) | ||||
|         { | ||||
|         } | ||||
|  | ||||
|         private void button2_Click_1(object sender, EventArgs e) | ||||
|         { | ||||
|             var but = sender as Button; | ||||
|             var idx = int.Parse(but.Tag.ToString()); | ||||
|             Pub.mot.ShowParameter(idx); | ||||
|         } | ||||
|     } | ||||
| } | ||||
| @@ -0,0 +1,120 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
| </root> | ||||
							
								
								
									
										247
									
								
								Handler/Project_form2/Don't change it/Dialog/fErrorException.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										247
									
								
								Handler/Project_form2/Don't change it/Dialog/fErrorException.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,247 @@ | ||||
| namespace Project | ||||
| { | ||||
|     partial class fErrorException | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// Required designer variable. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Clean up any resources being used. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region Windows Form Designer generated code | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Required method for Designer support - do not modify | ||||
|         /// the contents of this method with the code editor. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fErrorException)); | ||||
|             this.pictureBox1 = new System.Windows.Forms.PictureBox(); | ||||
|             this.label1 = new System.Windows.Forms.Label(); | ||||
|             this.label2 = new System.Windows.Forms.Label(); | ||||
|             this.textBox1 = new System.Windows.Forms.TextBox(); | ||||
|             this.panTitleBar = new System.Windows.Forms.Panel(); | ||||
|             this.lbTitle = new arCtl.arLabel(); | ||||
|             this.btTeach = new arCtl.arLabel(); | ||||
|             this.panel1 = new System.Windows.Forms.Panel(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); | ||||
|             this.panTitleBar.SuspendLayout(); | ||||
|             this.panel1.SuspendLayout(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // pictureBox1 | ||||
|             //  | ||||
|             this.pictureBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))); | ||||
|             this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); | ||||
|             this.pictureBox1.Location = new System.Drawing.Point(234, 19); | ||||
|             this.pictureBox1.Name = "pictureBox1"; | ||||
|             this.pictureBox1.Size = new System.Drawing.Size(80, 80); | ||||
|             this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; | ||||
|             this.pictureBox1.TabIndex = 0; | ||||
|             this.pictureBox1.TabStop = false; | ||||
|             //  | ||||
|             // label1 | ||||
|             //  | ||||
|             this.label1.AutoSize = true; | ||||
|             this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))); | ||||
|             this.label1.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.label1.ForeColor = System.Drawing.Color.White; | ||||
|             this.label1.Location = new System.Drawing.Point(28, 106); | ||||
|             this.label1.Name = "label1"; | ||||
|             this.label1.Padding = new System.Windows.Forms.Padding(10); | ||||
|             this.label1.Size = new System.Drawing.Size(488, 50); | ||||
|             this.label1.TabIndex = 3; | ||||
|             this.label1.Text = "미처리 오류로 인해 프로그램이 중단 되었습니다"; | ||||
|             //  | ||||
|             // label2 | ||||
|             //  | ||||
|             this.label2.AutoSize = true; | ||||
|             this.label2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))); | ||||
|             this.label2.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.label2.ForeColor = System.Drawing.Color.DodgerBlue; | ||||
|             this.label2.Location = new System.Drawing.Point(46, 159); | ||||
|             this.label2.Name = "label2"; | ||||
|             this.label2.Size = new System.Drawing.Size(386, 45); | ||||
|             this.label2.TabIndex = 4; | ||||
|             this.label2.Text = "오류보고를 위한 정보가 수집되었습니다.\r\n수집된 정보는 아래에 같습니다.\r\n발생전 상황을 포함하여 \"Chikyun.kim@amkor.co.kr\" " + | ||||
|     "로 보내주십시요."; | ||||
|             //  | ||||
|             // textBox1 | ||||
|             //  | ||||
|             this.textBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); | ||||
|             this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; | ||||
|             this.textBox1.ForeColor = System.Drawing.Color.LightCoral; | ||||
|             this.textBox1.Location = new System.Drawing.Point(10, 218); | ||||
|             this.textBox1.Multiline = true; | ||||
|             this.textBox1.Name = "textBox1"; | ||||
|             this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; | ||||
|             this.textBox1.Size = new System.Drawing.Size(514, 346); | ||||
|             this.textBox1.TabIndex = 5; | ||||
|             this.textBox1.Text = "test"; | ||||
|             //  | ||||
|             // panTitleBar | ||||
|             //  | ||||
|             this.panTitleBar.BackColor = System.Drawing.Color.Maroon; | ||||
|             this.panTitleBar.Controls.Add(this.lbTitle); | ||||
|             this.panTitleBar.Dock = System.Windows.Forms.DockStyle.Top; | ||||
|             this.panTitleBar.Location = new System.Drawing.Point(1, 1); | ||||
|             this.panTitleBar.Name = "panTitleBar"; | ||||
|             this.panTitleBar.Size = new System.Drawing.Size(534, 32); | ||||
|             this.panTitleBar.TabIndex = 133; | ||||
|             //  | ||||
|             // lbTitle | ||||
|             //  | ||||
|             this.lbTitle.BackColor = System.Drawing.Color.Transparent; | ||||
|             this.lbTitle.BackColor2 = System.Drawing.Color.Transparent; | ||||
|             this.lbTitle.BackgroundImagePadding = new System.Windows.Forms.Padding(0); | ||||
|             this.lbTitle.BorderColor = System.Drawing.Color.Red; | ||||
|             this.lbTitle.BorderColorOver = System.Drawing.Color.Red; | ||||
|             this.lbTitle.BorderSize = new System.Windows.Forms.Padding(0); | ||||
|             this.lbTitle.ColorTheme = arCtl.arLabel.eColorTheme.Custom; | ||||
|             this.lbTitle.Cursor = System.Windows.Forms.Cursors.Arrow; | ||||
|             this.lbTitle.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.lbTitle.Font = new System.Drawing.Font("Cambria", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.lbTitle.ForeColor = System.Drawing.Color.LightSkyBlue; | ||||
|             this.lbTitle.GradientEnable = true; | ||||
|             this.lbTitle.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; | ||||
|             this.lbTitle.GradientRepeatBG = false; | ||||
|             this.lbTitle.isButton = false; | ||||
|             this.lbTitle.Location = new System.Drawing.Point(0, 0); | ||||
|             this.lbTitle.MouseDownColor = System.Drawing.Color.Yellow; | ||||
|             this.lbTitle.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); | ||||
|             this.lbTitle.msg = null; | ||||
|             this.lbTitle.Name = "lbTitle"; | ||||
|             this.lbTitle.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0); | ||||
|             this.lbTitle.ProgressBorderColor = System.Drawing.Color.Black; | ||||
|             this.lbTitle.ProgressColor1 = System.Drawing.Color.LightSkyBlue; | ||||
|             this.lbTitle.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; | ||||
|             this.lbTitle.ProgressEnable = false; | ||||
|             this.lbTitle.ProgressFont = new System.Drawing.Font("Consolas", 10F); | ||||
|             this.lbTitle.ProgressForeColor = System.Drawing.Color.Black; | ||||
|             this.lbTitle.ProgressMax = 100F; | ||||
|             this.lbTitle.ProgressMin = 0F; | ||||
|             this.lbTitle.ProgressPadding = new System.Windows.Forms.Padding(0); | ||||
|             this.lbTitle.ProgressValue = 0F; | ||||
|             this.lbTitle.ShadowColor = System.Drawing.Color.WhiteSmoke; | ||||
|             this.lbTitle.Sign = ""; | ||||
|             this.lbTitle.SignAlign = System.Drawing.ContentAlignment.BottomRight; | ||||
|             this.lbTitle.SignColor = System.Drawing.Color.Yellow; | ||||
|             this.lbTitle.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); | ||||
|             this.lbTitle.Size = new System.Drawing.Size(534, 32); | ||||
|             this.lbTitle.TabIndex = 60; | ||||
|             this.lbTitle.Text = "UnhandledException"; | ||||
|             this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; | ||||
|             this.lbTitle.TextShadow = false; | ||||
|             this.lbTitle.TextVisible = true; | ||||
|             //  | ||||
|             // btTeach | ||||
|             //  | ||||
|             this.btTeach.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); | ||||
|             this.btTeach.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); | ||||
|             this.btTeach.BackgroundImagePadding = new System.Windows.Forms.Padding(0); | ||||
|             this.btTeach.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); | ||||
|             this.btTeach.BorderColorOver = System.Drawing.Color.DarkBlue; | ||||
|             this.btTeach.BorderSize = new System.Windows.Forms.Padding(0); | ||||
|             this.btTeach.ColorTheme = arCtl.arLabel.eColorTheme.Custom; | ||||
|             this.btTeach.Cursor = System.Windows.Forms.Cursors.Hand; | ||||
|             this.btTeach.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
|             this.btTeach.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.btTeach.ForeColor = System.Drawing.Color.DeepPink; | ||||
|             this.btTeach.GradientEnable = false; | ||||
|             this.btTeach.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; | ||||
|             this.btTeach.GradientRepeatBG = false; | ||||
|             this.btTeach.isButton = true; | ||||
|             this.btTeach.Location = new System.Drawing.Point(1, 610); | ||||
|             this.btTeach.Margin = new System.Windows.Forms.Padding(0, 0, 5, 0); | ||||
|             this.btTeach.MouseDownColor = System.Drawing.Color.Yellow; | ||||
|             this.btTeach.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); | ||||
|             this.btTeach.msg = null; | ||||
|             this.btTeach.Name = "btTeach"; | ||||
|             this.btTeach.ProgressBorderColor = System.Drawing.Color.Black; | ||||
|             this.btTeach.ProgressColor1 = System.Drawing.Color.LightSkyBlue; | ||||
|             this.btTeach.ProgressColor2 = System.Drawing.Color.DeepSkyBlue; | ||||
|             this.btTeach.ProgressEnable = false; | ||||
|             this.btTeach.ProgressFont = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.btTeach.ProgressForeColor = System.Drawing.Color.Black; | ||||
|             this.btTeach.ProgressMax = 100F; | ||||
|             this.btTeach.ProgressMin = 0F; | ||||
|             this.btTeach.ProgressPadding = new System.Windows.Forms.Padding(0); | ||||
|             this.btTeach.ProgressValue = 0F; | ||||
|             this.btTeach.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); | ||||
|             this.btTeach.Sign = ""; | ||||
|             this.btTeach.SignAlign = System.Drawing.ContentAlignment.BottomRight; | ||||
|             this.btTeach.SignColor = System.Drawing.Color.Yellow; | ||||
|             this.btTeach.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic); | ||||
|             this.btTeach.Size = new System.Drawing.Size(534, 61); | ||||
|             this.btTeach.TabIndex = 134; | ||||
|             this.btTeach.Text = "종 료"; | ||||
|             this.btTeach.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             this.btTeach.TextShadow = true; | ||||
|             this.btTeach.TextVisible = true; | ||||
|             this.btTeach.Click += new System.EventHandler(this.btTeach_Click); | ||||
|             //  | ||||
|             // panel1 | ||||
|             //  | ||||
|             this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))); | ||||
|             this.panel1.Controls.Add(this.pictureBox1); | ||||
|             this.panel1.Controls.Add(this.textBox1); | ||||
|             this.panel1.Controls.Add(this.label1); | ||||
|             this.panel1.Controls.Add(this.label2); | ||||
|             this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.panel1.Location = new System.Drawing.Point(1, 33); | ||||
|             this.panel1.Name = "panel1"; | ||||
|             this.panel1.Size = new System.Drawing.Size(534, 577); | ||||
|             this.panel1.TabIndex = 135; | ||||
|             //  | ||||
|             // fErrorException | ||||
|             //  | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | ||||
|             this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15))))); | ||||
|             this.ClientSize = new System.Drawing.Size(536, 672); | ||||
|             this.Controls.Add(this.panel1); | ||||
|             this.Controls.Add(this.btTeach); | ||||
|             this.Controls.Add(this.panTitleBar); | ||||
|             this.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; | ||||
|             this.KeyPreview = true; | ||||
|             this.MaximizeBox = false; | ||||
|             this.MinimizeBox = false; | ||||
|             this.Name = "fErrorException"; | ||||
|             this.Padding = new System.Windows.Forms.Padding(1); | ||||
|             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
|             this.Text = "Error Report"; | ||||
|             this.TopMost = true; | ||||
|             this.Load += new System.EventHandler(this.fErrorException_Load); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); | ||||
|             this.panTitleBar.ResumeLayout(false); | ||||
|             this.panel1.ResumeLayout(false); | ||||
|             this.panel1.PerformLayout(); | ||||
|             this.ResumeLayout(false); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|  | ||||
|         private System.Windows.Forms.PictureBox pictureBox1; | ||||
|         private System.Windows.Forms.Label label1; | ||||
|         private System.Windows.Forms.Label label2; | ||||
|         private System.Windows.Forms.TextBox textBox1; | ||||
|         public System.Windows.Forms.Panel panTitleBar; | ||||
|         private arCtl.arLabel lbTitle; | ||||
|         private arCtl.arLabel btTeach; | ||||
|         private System.Windows.Forms.Panel panel1; | ||||
|     } | ||||
| } | ||||
| @@ -0,0 +1,74 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace Project | ||||
| { | ||||
|     public partial class fErrorException : Form | ||||
|     { | ||||
|         public fErrorException(string err) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             System.Text.StringBuilder sb = new StringBuilder(); | ||||
|             sb.AppendLine("==============================="); | ||||
|             sb.AppendLine("개발 : ChiKyun.kim@amkor.co.kr"); | ||||
|             sb.AppendLine("소속 : ATK-4 EET 1P"); | ||||
|             sb.AppendLine("==============================="); | ||||
|             sb.AppendLine(); | ||||
|             sb.AppendLine(err); | ||||
|             this.textBox1.Text = sb.ToString(); | ||||
|  | ||||
|             this.lbTitle.MouseMove += LbTitle_MouseMove; | ||||
|             this.lbTitle.MouseUp += LbTitle_MouseUp; | ||||
|             this.lbTitle.MouseDown += LbTitle_MouseDown; | ||||
|             this.lbTitle.DoubleClick += LbTitle_DoubleClick; | ||||
|         } | ||||
|  | ||||
|         private void fErrorException_Load(object sender, EventArgs e) | ||||
|         { | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #region "Mouse Form Move" | ||||
|  | ||||
|         private Boolean fMove = false; | ||||
|         private Point MDownPos; | ||||
|  | ||||
|         private void LbTitle_DoubleClick(object sender, EventArgs e) | ||||
|         { | ||||
|             if (this.WindowState == FormWindowState.Maximized) this.WindowState = FormWindowState.Normal; | ||||
|             else this.WindowState = FormWindowState.Maximized; | ||||
|         } | ||||
|         private void LbTitle_MouseMove(object sender, MouseEventArgs e) | ||||
|         { | ||||
|             if (fMove) | ||||
|             { | ||||
|                 Point offset = new Point(e.X - MDownPos.X, e.Y - MDownPos.Y); | ||||
|                 this.Left += offset.X; | ||||
|                 this.Top += offset.Y; | ||||
|                 offset = new Point(0, 0); | ||||
|             } | ||||
|         } | ||||
|         private void LbTitle_MouseUp(object sender, MouseEventArgs e) | ||||
|         { | ||||
|             fMove = false; | ||||
|         } | ||||
|         private void LbTitle_MouseDown(object sender, MouseEventArgs e) | ||||
|         { | ||||
|             MDownPos = new Point(e.X, e.Y); | ||||
|             fMove = true; | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|  | ||||
|         private void btTeach_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             this.Close(); | ||||
|         } | ||||
|     } | ||||
| } | ||||
| @@ -0,0 +1,144 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||||
|   <data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAb | ||||
|         rwAAG68BXhqRHAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAPnSURBVHhe7dzJ | ||||
|         TttQFAbgdNFKnZ6GFWKDfCNGsWRRddO+ATwBo5g2iNdopU7LqlXVFgUa2LDoE7TbQoEIFpVw72/5EOdw | ||||
|         INO919fx/aVfiuwTD58chcFyJSQkJJu4Urm3H0Uv95Wq7VWrx2jyOopeYF06FiLlcGbmkQZ7v6dULFav | ||||
|         w0w6HpINYGpKfQbUj/Hx+Pf8fHy2thafra8nr7EsQYyiT7Xh4Yfp20KQLF59cjI+XlqKL7e3W4plWBcQ | ||||
|         WXZHRp5qkF3AHE5NxScrKzfwqFiHmRRxF+9NN1POdINHDYhpesGjlh6xHzxqaRE53t/VVRGok5YO0SQe | ||||
|         tTSINvCoLYhKfR84RJt41IFFdIFHxbYHCtElHpUjfhkdfZIeTrGS4OkTcIlHLTxinnjUwiLiQPPGoxYO | ||||
|         0Sc8amEQTePxSDOd1ntEG1cejzTTTb1FbMGbnjaCh/JIM93WO0RbeCiPNNNLs4g1pb7lhmgTD+WRZnpt | ||||
|         7oi28VAeaaaf5oaIHWGHNvFQHmmm3yaI+hycIbrCQ3mkGRN1hugSD+WRZkzVOqJrPJRHmjFZa4h54KE8 | ||||
|         0ozpGkfMCw/lkWZs1BhinngojzRjq30j5o2H8kgzNptF3Ffqa8eIPuChPNKM7XaN6AseyiPNuChHPBob | ||||
|         e5xytQZ3f2q81xg80L/inCwvixt0VR5pxlVhAZMEsVp9Jd4pq1c+xwBuZMwbD+WRZlwWJnSTZy2KnqVs | ||||
|         zegVyR8Hfs3NiRtwXR5pxnVhAyN8lFO2ZvSKc6w839gQ3+y6PNKM68IGRrpnKVszemEjAN5d3K99F2D4 | ||||
|         CLdpu49w+BK5o22/RMKPMbcXFm1/jEEOh4bu68vzLQbrExPx8eKiuEEX5ZFmXBQGsICJ7hsYpVxyfEHk | ||||
|         kWZst2s8ik9XYl7tGY9SZsQsHgy6xqOUEdEYHqVMiMbxKGVAtIZHcYq4sxP/q9fjq9PTpHiNZeKsgVrH | ||||
|         o/ycnX3gAhFgPAmiMNtv/ywsuMGjuEC8ajRStmawTJrtp87xKEDUv/a9s4XoAjA3PIpNRNsfYY6Hc0lP | ||||
|         y22sIdKXyMVF0gTP0JeIN3gUjogDlA7ch3qHRykCYhYPx+oNHsVnRO/xKD4iFgaPggOkpw/ljVg4PIoP | ||||
|         iIXFo+SJWHg8Ch7PpE/iI07kAI90cvCPKuwD+8I+se/CPyLK5ZWYvfKwz8JeeTwuEAcWj2ITceDxKDYQ | ||||
|         S4NHMYlYOjyKCcTS4lESRKU+9IKI2etHgpYRj9ILYsBj6QYx4N2S8BBaA5Eeg9zY3IwbW1vhMcidBoj0 | ||||
|         7SxWr8NMOh4iBXd/Xj8KXqlLNHkdHgUfEnIjlcp/1rPAKpMPkMkAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
| </root> | ||||
							
								
								
									
										1551
									
								
								Handler/Project_form2/Don't change it/Dialog/fIOMonitor.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										1551
									
								
								Handler/Project_form2/Don't change it/Dialog/fIOMonitor.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										620
									
								
								Handler/Project_form2/Don't change it/Dialog/fIOMonitor.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										620
									
								
								Handler/Project_form2/Don't change it/Dialog/fIOMonitor.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,620 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Windows.Forms; | ||||
| using arDev.AzinAxt; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     public partial class fIOMonitor : Form | ||||
|     { | ||||
|  | ||||
|         public fIOMonitor() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             this.FormClosed += fIOMonitor_FormClosed; | ||||
|  | ||||
|             this.Opacity = 1.0; | ||||
|  | ||||
|             this.tblDI.SuspendLayout(); | ||||
|             this.tblDO.SuspendLayout(); | ||||
|             this.tblFG.SuspendLayout(); | ||||
|  | ||||
|             tblDI.setTitle(Pub.dio.DIName); | ||||
|             tblDO.setTitle(Pub.dio.DOName); | ||||
|             tblFG.setTitle(Pub.flag.Name); | ||||
|  | ||||
|             var pinNameI = new string[Pub.dio.DIName.Length]; | ||||
|             var pinNameO = new string[Pub.dio.DOName.Length]; | ||||
|             for (int i = 0; i < pinNameI.Length; i++) | ||||
|                 pinNameI[i] = Enum.GetName(typeof(eDIPin), i); | ||||
|             for (int i = 0; i < pinNameO.Length; i++) | ||||
|                 pinNameO[i] = Enum.GetName(typeof(eDOPin), i); | ||||
|  | ||||
|             tblDI.setNames(pinNameI); | ||||
|             tblDO.setNames(pinNameO); | ||||
|  | ||||
|             tblDI.setItemTextAlign(ContentAlignment.BottomLeft); | ||||
|             tblDO.setItemTextAlign(ContentAlignment.BottomLeft); | ||||
|             tblFG.setItemTextAlign(ContentAlignment.BottomLeft); | ||||
|  | ||||
|             var NamePKY = new string[16]; | ||||
|             var NamePKZ = new string[16]; | ||||
|             var NamePKT = new string[16]; | ||||
|             var NamePLM = new string[16]; | ||||
|             var NamePLZ = new string[16]; | ||||
|             var NamePRM = new string[16]; | ||||
|             var NamePRZ = new string[16]; | ||||
|             var NamePRL = new string[16]; | ||||
|             var NamePRR = new string[16]; | ||||
|             var NameVS0 = new string[16]; | ||||
|             var NameVS1 = new string[16]; | ||||
|             var NameVS2 = new string[16]; | ||||
|  | ||||
|             for (int i = 0; i < NamePKY.Length; i++) | ||||
|                 NamePKY[i] = Enum.GetName(typeof(eILockPKX), i); | ||||
|             for (int i = 0; i < NamePKZ.Length; i++) | ||||
|                 NamePKZ[i] = Enum.GetName(typeof(eILockPKZ), i); | ||||
|             for (int i = 0; i < NamePKT.Length; i++) | ||||
|                 NamePKT[i] = Enum.GetName(typeof(eILockPKT), i); | ||||
|             for (int i = 0; i < NamePLM.Length; i++) | ||||
|                 NamePLM[i] = Enum.GetName(typeof(eILockPRM), i); | ||||
|             for (int i = 0; i < NamePLZ.Length; i++) | ||||
|                 NamePLZ[i] = Enum.GetName(typeof(eILockPRZ), i); | ||||
|             for (int i = 0; i < NamePRM.Length; i++) | ||||
|                 NamePRM[i] = Enum.GetName(typeof(eILockPRM), i); | ||||
|             for (int i = 0; i < NamePRZ.Length; i++) | ||||
|                 NamePRZ[i] = Enum.GetName(typeof(eILockPRZ), i); | ||||
|             for (int i = 0; i < NamePRL.Length; i++) | ||||
|                 NamePRL[i] = Enum.GetName(typeof(eILockPRL), i); | ||||
|             for (int i = 0; i < NamePRR.Length; i++) | ||||
|                 NamePRR[i] = Enum.GetName(typeof(eILockPRR), i); | ||||
|             for (int i = 0; i < NameVS0.Length; i++) | ||||
|                 NameVS0[i] = Enum.GetName(typeof(eILockVS0), i); | ||||
|             for (int i = 0; i < NameVS1.Length; i++) | ||||
|                 NameVS1[i] = Enum.GetName(typeof(eILockVS1), i); | ||||
|             for (int i = 0; i < NameVS2.Length; i++) | ||||
|                 NameVS2[i] = Enum.GetName(typeof(eILockVS2), i); | ||||
|  | ||||
|  | ||||
|             gviPKX.setTitle(NamePKY); | ||||
|             gviPKZ.setTitle(NamePKZ); | ||||
|             gviPKT.setTitle(NamePKT); | ||||
|             gviPLM.setTitle(NamePLM); | ||||
|             gviPLZ.setTitle(NamePLZ); | ||||
|             gviPRM.setTitle(NamePRM); | ||||
|             gviPRZ.setTitle(NamePRZ); | ||||
|             gviPRL.setTitle(NamePRL); | ||||
|             gviPRR.setTitle(NamePRR); | ||||
|             gviVS0.setTitle(NameVS0); | ||||
|             gviVS1.setTitle(NameVS1); | ||||
|             gviVS2.setTitle(NameVS2); | ||||
|  | ||||
|             gviPKX.setItemTextAlign(ContentAlignment.MiddleCenter); | ||||
|             gviPKZ.setItemTextAlign(ContentAlignment.MiddleCenter); | ||||
|             gviPKT.setItemTextAlign(ContentAlignment.MiddleCenter); | ||||
|             gviPLM.setItemTextAlign(ContentAlignment.MiddleCenter); | ||||
|             gviPLZ.setItemTextAlign(ContentAlignment.MiddleCenter); | ||||
|             gviPRM.setItemTextAlign(ContentAlignment.MiddleCenter); | ||||
|             gviPRZ.setItemTextAlign(ContentAlignment.MiddleCenter); | ||||
|             gviPRL.setItemTextAlign(ContentAlignment.MiddleCenter); | ||||
|             gviPRR.setItemTextAlign(ContentAlignment.MiddleCenter); | ||||
|             gviVS0.setItemTextAlign(ContentAlignment.MiddleCenter); | ||||
|             gviVS1.setItemTextAlign(ContentAlignment.MiddleCenter); | ||||
|             gviVS2.setItemTextAlign(ContentAlignment.MiddleCenter); | ||||
|  | ||||
|             gviPKX.ColorList[1].BackColor1 = Color.IndianRed; gviPKX.ColorList[1].BackColor2 = Color.LightCoral; | ||||
|             gviPKZ.ColorList[1].BackColor1 = Color.IndianRed; gviPKZ.ColorList[1].BackColor2 = Color.LightCoral; | ||||
|             gviPKT.ColorList[1].BackColor1 = Color.IndianRed; gviPKT.ColorList[1].BackColor2 = Color.LightCoral; | ||||
|             gviPLM.ColorList[1].BackColor1 = Color.IndianRed; gviPLM.ColorList[1].BackColor2 = Color.LightCoral; | ||||
|             gviPLZ.ColorList[1].BackColor1 = Color.IndianRed; gviPLZ.ColorList[1].BackColor2 = Color.LightCoral; | ||||
|             gviPRM.ColorList[1].BackColor1 = Color.IndianRed; gviPRM.ColorList[1].BackColor2 = Color.LightCoral; | ||||
|             gviPRZ.ColorList[1].BackColor1 = Color.IndianRed; gviPRZ.ColorList[1].BackColor2 = Color.LightCoral; | ||||
|             gviPRL.ColorList[1].BackColor1 = Color.IndianRed; gviPRL.ColorList[1].BackColor2 = Color.LightCoral; | ||||
|             gviPRR.ColorList[1].BackColor1 = Color.IndianRed; gviPRR.ColorList[1].BackColor2 = Color.LightCoral; | ||||
|             gviVS0.ColorList[1].BackColor1 = Color.IndianRed; gviVS0.ColorList[1].BackColor2 = Color.LightCoral; | ||||
|             gviVS1.ColorList[1].BackColor1 = Color.IndianRed; gviVS1.ColorList[1].BackColor2 = Color.LightCoral; | ||||
|             gviVS2.ColorList[1].BackColor1 = Color.IndianRed; gviVS2.ColorList[1].BackColor2 = Color.LightCoral; | ||||
|  | ||||
|             //값확인 | ||||
|             List<Boolean> diValue = new List<bool>(); | ||||
|             for (int i = 0; i < Pub.dio.PIN_I; i++) | ||||
|                 diValue.Add(Pub.dio.getDIValue(i)); | ||||
|             List<Boolean> doValue = new List<bool>(); | ||||
|             for (int i = 0; i < Pub.dio.PIN_O; i++) | ||||
|                 doValue.Add(Pub.dio.getDOValue(i)); | ||||
|             List<Boolean> fgValue = new List<bool>(); | ||||
|             for (int i = 0; i < Pub.flag.PortCount; i++) | ||||
|                 fgValue.Add(Pub.flag.get(i)); | ||||
|  | ||||
|             tblDI.setValue(diValue.ToArray()); | ||||
|             tblDO.setValue(doValue.ToArray()); | ||||
|             tblFG.setValue(fgValue.ToArray()); | ||||
|  | ||||
|  | ||||
|             List<Boolean> PKXValue = new List<bool>(); | ||||
|             List<Boolean> PKZValue = new List<bool>(); | ||||
|             List<Boolean> PKTValue = new List<bool>(); | ||||
|             List<Boolean> PLMValue = new List<bool>(); | ||||
|             List<Boolean> PLZValue = new List<bool>(); | ||||
|             List<Boolean> PRMValue = new List<bool>(); | ||||
|             List<Boolean> PRZValue = new List<bool>(); | ||||
|             List<Boolean> PRLValue = new List<bool>(); | ||||
|             List<Boolean> PRRValue = new List<bool>(); | ||||
|             List<Boolean> VS0Value = new List<bool>(); | ||||
|             List<Boolean> VS1Value = new List<bool>(); | ||||
|             List<Boolean> VS2Value = new List<bool>(); | ||||
|             for (int i = 0; i < 16; i++) | ||||
|             { | ||||
|                 PKXValue.Add(Pub.LockPKX.get(i)); | ||||
|                 PKZValue.Add(Pub.LockPKZ.get(i)); | ||||
|                 PKTValue.Add(Pub.LockPKT.get(i)); | ||||
|                 PLMValue.Add(Pub.LockPLM.get(i)); | ||||
|                 PLZValue.Add(Pub.LockPLZ.get(i)); | ||||
|                 PRMValue.Add(Pub.LockPRM.get(i)); | ||||
|                 PRZValue.Add(Pub.LockPRZ.get(i)); | ||||
|                 PRLValue.Add(Pub.LockPRL.get(i)); | ||||
|                 PRRValue.Add(Pub.LockPRR.get(i)); | ||||
|                 VS0Value.Add(Pub.LockVS0.get(i)); | ||||
|                 VS1Value.Add(Pub.LockVS1.get(i)); | ||||
|                 VS2Value.Add(Pub.LockVS2.get(i)); | ||||
|             } | ||||
|             gviPKX.setValue(PKXValue.ToArray()); | ||||
|             gviPKZ.setValue(PKZValue.ToArray()); | ||||
|             gviPKT.setValue(PKTValue.ToArray()); | ||||
|             gviPLM.setValue(PLMValue.ToArray()); | ||||
|             gviPLZ.setValue(PLZValue.ToArray()); | ||||
|             gviPRM.setValue(PRMValue.ToArray()); | ||||
|             gviPRZ.setValue(PRZValue.ToArray()); | ||||
|             gviPRL.setValue(PRLValue.ToArray()); | ||||
|             gviPRR.setValue(PRRValue.ToArray()); | ||||
|             gviVS0.setValue(VS0Value.ToArray()); | ||||
|             gviVS1.setValue(VS1Value.ToArray()); | ||||
|             gviVS2.setValue(VS2Value.ToArray()); | ||||
|  | ||||
|             Pub.dio.IOValueChanged += dio_IOValueChanged; | ||||
|             Pub.flag.ValueChanged += flag_ValueChanged; | ||||
|  | ||||
|             Pub.LockPKX.ValueChanged += LockXF_ValueChanged; | ||||
|             Pub.LockPKZ.ValueChanged += LockXF_ValueChanged; | ||||
|             Pub.LockPKT.ValueChanged += LockXF_ValueChanged; | ||||
|             Pub.LockPLM.ValueChanged += LockXF_ValueChanged; | ||||
|             Pub.LockPLZ.ValueChanged += LockXF_ValueChanged; | ||||
|             Pub.LockPRM.ValueChanged += LockXF_ValueChanged; | ||||
|             Pub.LockPRZ.ValueChanged += LockXF_ValueChanged; | ||||
|             Pub.LockPRL.ValueChanged += LockXF_ValueChanged; | ||||
|             Pub.LockPRR.ValueChanged += LockXF_ValueChanged; | ||||
|             Pub.LockVS0.ValueChanged += LockXF_ValueChanged; | ||||
|             Pub.LockVS1.ValueChanged += LockXF_ValueChanged; | ||||
|             Pub.LockVS2.ValueChanged += LockXF_ValueChanged; | ||||
|  | ||||
|             if (Pub.sm.Step != StateMachine.eSMStep.RUN) | ||||
|             { | ||||
|                 this.tblDI.ItemClick += tblDI_ItemClick; | ||||
|                 this.tblDO.ItemClick += tblDO_ItemClick; | ||||
|                 this.tblFG.ItemClick += tblFG_ItemClick; | ||||
|  | ||||
|                 this.gviPKX.ItemClick += gvILXF_ItemClick; | ||||
|                 this.gviPKZ.ItemClick += gvILXF_ItemClick; | ||||
|                 this.gviPKT.ItemClick += gvILXF_ItemClick; | ||||
|                 this.gviPLM.ItemClick += gvILXF_ItemClick; | ||||
|                 this.gviPLZ.ItemClick += gvILXF_ItemClick; | ||||
|                 this.gviPRM.ItemClick += gvILXF_ItemClick; | ||||
|                 this.gviPRZ.ItemClick += gvILXF_ItemClick; | ||||
|                 this.gviPRL.ItemClick += gvILXF_ItemClick; | ||||
|                 this.gviPRR.ItemClick += gvILXF_ItemClick; | ||||
|                 this.gviVS0.ItemClick += gvILXF_ItemClick; | ||||
|                 this.gviVS1.ItemClick += gvILXF_ItemClick; | ||||
|                 this.gviVS2.ItemClick += gvILXF_ItemClick; | ||||
|             } | ||||
|  | ||||
|  | ||||
|             this.tblDI.Invalidate(); | ||||
|             this.tblDO.Invalidate(); | ||||
|             this.tblFG.Invalidate(); | ||||
|  | ||||
|             this.gviPKX.Invalidate(); | ||||
|             this.gviPKZ.Invalidate(); | ||||
|             this.gviPKT.Invalidate(); | ||||
|             this.gviPLM.Invalidate(); | ||||
|             this.gviPLZ.Invalidate(); | ||||
|             this.gviPRM.Invalidate(); | ||||
|             this.gviPRZ.Invalidate(); | ||||
|             this.gviPRL.Invalidate(); | ||||
|             this.gviPRR.Invalidate(); | ||||
|             this.gviVS0.Invalidate(); | ||||
|             this.gviVS1.Invalidate(); | ||||
|             this.gviVS2.Invalidate(); | ||||
|  | ||||
|             this.lbTitle.MouseMove += LbTitle_MouseMove; | ||||
|             this.lbTitle.MouseUp += LbTitle_MouseUp; | ||||
|             this.lbTitle.MouseDown += LbTitle_MouseDown; | ||||
|             this.lbTitle.DoubleClick += lbTitle_DoubleClick; | ||||
|  | ||||
|             this.KeyDown += fIOMonitor_KeyDown; | ||||
|         } | ||||
|  | ||||
|  | ||||
|         void fIOMonitor_FormClosed(object sender, FormClosedEventArgs e) | ||||
|         { | ||||
|             Pub.dio.IOValueChanged -= dio_IOValueChanged; | ||||
|             Pub.flag.ValueChanged -= flag_ValueChanged; | ||||
|  | ||||
|  | ||||
|             Pub.LockPKX.ValueChanged -= LockXF_ValueChanged; | ||||
|             Pub.LockPKZ.ValueChanged -= LockXF_ValueChanged; | ||||
|             Pub.LockPKT.ValueChanged -= LockXF_ValueChanged; | ||||
|             Pub.LockPLM.ValueChanged -= LockXF_ValueChanged; | ||||
|             Pub.LockPLZ.ValueChanged -= LockXF_ValueChanged; | ||||
|             Pub.LockPRM.ValueChanged -= LockXF_ValueChanged; | ||||
|             Pub.LockPRZ.ValueChanged -= LockXF_ValueChanged; | ||||
|             Pub.LockPRL.ValueChanged -= LockXF_ValueChanged; | ||||
|             Pub.LockPRR.ValueChanged -= LockXF_ValueChanged; | ||||
|             Pub.LockVS0.ValueChanged -= LockXF_ValueChanged; | ||||
|             Pub.LockVS1.ValueChanged -= LockXF_ValueChanged; | ||||
|             Pub.LockVS2.ValueChanged -= LockXF_ValueChanged; | ||||
|  | ||||
|             if (Pub.isRunning == false) | ||||
|             { | ||||
|                 this.tblDI.ItemClick -= tblDI_ItemClick; | ||||
|                 this.tblDO.ItemClick -= tblDO_ItemClick; | ||||
|                 this.tblFG.ItemClick -= tblFG_ItemClick; | ||||
|  | ||||
|                 this.gviPKX.ItemClick -= gvILXF_ItemClick; | ||||
|                 this.gviPKZ.ItemClick -= gvILXF_ItemClick; | ||||
|                 this.gviPKT.ItemClick -= gvILXF_ItemClick; | ||||
|                 this.gviPLM.ItemClick -= gvILXF_ItemClick; | ||||
|                 this.gviPLZ.ItemClick -= gvILXF_ItemClick; | ||||
|                 this.gviPRM.ItemClick -= gvILXF_ItemClick; | ||||
|                 this.gviPRZ.ItemClick -= gvILXF_ItemClick; | ||||
|                 this.gviPRL.ItemClick -= gvILXF_ItemClick; | ||||
|                 this.gviPRR.ItemClick -= gvILXF_ItemClick; | ||||
|                 this.gviVS0.ItemClick -= gvILXF_ItemClick; | ||||
|                 this.gviVS1.ItemClick -= gvILXF_ItemClick; | ||||
|                 this.gviVS2.ItemClick -= gvILXF_ItemClick; | ||||
|             } | ||||
|  | ||||
|             this.lbTitle.MouseMove -= LbTitle_MouseMove; | ||||
|             this.lbTitle.MouseUp -= LbTitle_MouseUp; | ||||
|             this.lbTitle.MouseDown -= LbTitle_MouseDown; | ||||
|             this.lbTitle.DoubleClick -= lbTitle_DoubleClick; | ||||
|  | ||||
|             this.KeyDown -= fIOMonitor_KeyDown; | ||||
|         } | ||||
|  | ||||
|         void LockXF_ValueChanged(object sender, CInterLock.ValueEventArgs e) | ||||
|         { | ||||
|             var item = sender as CInterLock; | ||||
|             var tagStr = item.Tag.ToString(); | ||||
|  | ||||
|             if (tagStr == "PKX") | ||||
|             { | ||||
|                 if (gviPKX.setValue(e.ArrIDX, e.NewValue)) gviPKX.Invalidate(); | ||||
|             } | ||||
|             else if (tagStr == "PKZ") | ||||
|             { | ||||
|                 if (gviPKZ.setValue(e.ArrIDX, e.NewValue)) gviPKZ.Invalidate(); | ||||
|             } | ||||
|             else if (tagStr == "PKT") | ||||
|             { | ||||
|                 if (gviPKT.setValue(e.ArrIDX, e.NewValue)) gviPKT.Invalidate(); | ||||
|             } | ||||
|             else if (tagStr == "PLM") | ||||
|             { | ||||
|                 if (gviPLM.setValue(e.ArrIDX, e.NewValue)) gviPLM.Invalidate(); | ||||
|             } | ||||
|             else if (tagStr == "PLZ") | ||||
|             { | ||||
|                 if (gviPLZ.setValue(e.ArrIDX, e.NewValue)) gviPLZ.Invalidate(); | ||||
|             } | ||||
|             else if (tagStr == "PRM") | ||||
|             { | ||||
|                 if (gviPRM.setValue(e.ArrIDX, e.NewValue)) gviPRM.Invalidate(); | ||||
|             } | ||||
|             else if (tagStr == "PRZ") | ||||
|             { | ||||
|                 if (gviPRZ.setValue(e.ArrIDX, e.NewValue)) gviPRZ.Invalidate(); | ||||
|             } | ||||
|             else if (tagStr == "PRL") | ||||
|             { | ||||
|                 if (gviPRL.setValue(e.ArrIDX, e.NewValue)) gviPRL.Invalidate(); | ||||
|             } | ||||
|             else if (tagStr == "PRR") | ||||
|             { | ||||
|                 if (gviPRR.setValue(e.ArrIDX, e.NewValue)) gviPRR.Invalidate(); | ||||
|             } | ||||
|             else if (tagStr == "VS0") | ||||
|             { | ||||
|                 if (gviVS0.setValue(e.ArrIDX, e.NewValue)) gviVS0.Invalidate(); | ||||
|             } | ||||
|             else if (tagStr == "VS1") | ||||
|             { | ||||
|                 if (gviVS1.setValue(e.ArrIDX, e.NewValue)) gviVS1.Invalidate(); | ||||
|             } | ||||
|             else if (tagStr == "VS2") | ||||
|             { | ||||
|                 if (gviVS2.setValue(e.ArrIDX, e.NewValue)) gviVS2.Invalidate(); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         void gvILXF_ItemClick(object sender, arFrame.Control.GridView.ItemClickEventArgs e) | ||||
|         { | ||||
|             var gv = sender as arFrame.Control.GridView; | ||||
|             var tagStr = gv.Tag.ToString(); | ||||
|             if (tagStr == "PKX") | ||||
|             { | ||||
|                 var curValue = Pub.LockPKX.get(e.idx); | ||||
|                 Pub.LockPKX.set(e.idx, !curValue, "IOMONITOR"); | ||||
|             } | ||||
|             else if (tagStr == "PKZ") | ||||
|             { | ||||
|                 var curValue = Pub.LockPKZ.get(e.idx); | ||||
|                 Pub.LockPKZ.set(e.idx, !curValue, "IOMONITOR"); | ||||
|             } | ||||
|             else if (tagStr == "PKT") | ||||
|             { | ||||
|                 var curValue = Pub.LockPKT.get(e.idx); | ||||
|                 Pub.LockPKT.set(e.idx, !curValue, "IOMONITOR"); | ||||
|             } | ||||
|             else if (tagStr == "PLM") | ||||
|             { | ||||
|                 var curValue = Pub.LockPKT.get(e.idx); | ||||
|                 Pub.LockPLM.set(e.idx, !curValue, "IOMONITOR"); | ||||
|             } | ||||
|             else if (tagStr == "PLZ") | ||||
|             { | ||||
|                 var curValue = Pub.LockPKT.get(e.idx); | ||||
|                 Pub.LockPLZ.set(e.idx, !curValue, "IOMONITOR"); | ||||
|             } | ||||
|             else if (tagStr == "PRM") | ||||
|             { | ||||
|                 var curValue = Pub.LockPKT.get(e.idx); | ||||
|                 Pub.LockPRM.set(e.idx, !curValue, "IOMONITOR"); | ||||
|             } | ||||
|             else if (tagStr == "PRZ") | ||||
|             { | ||||
|                 var curValue = Pub.LockPKT.get(e.idx); | ||||
|                 Pub.LockPRZ.set(e.idx, !curValue, "IOMONITOR"); | ||||
|             } | ||||
|  | ||||
|  | ||||
|             else if (tagStr == "PRL") | ||||
|             { | ||||
|                 var curValue = Pub.LockPRL.get(e.idx); | ||||
|                 Pub.LockPRL.set(e.idx, !curValue, "IOMONITOR"); | ||||
|             } | ||||
|             else if (tagStr == "PRR") | ||||
|             { | ||||
|                 var curValue = Pub.LockPRR.get(e.idx); | ||||
|                 Pub.LockPRR.set(e.idx, !curValue, "IOMONITOR"); | ||||
|             } | ||||
|             else if (tagStr == "VS0") | ||||
|             { | ||||
|                 var curValue = Pub.LockVS0.get(e.idx); | ||||
|                 Pub.LockVS0.set(e.idx, !curValue, "IOMONITOR"); | ||||
|             } | ||||
|             else if (tagStr == "VS1") | ||||
|             { | ||||
|                 var curValue = Pub.LockVS1.get(e.idx); | ||||
|                 Pub.LockVS1.set(e.idx, !curValue, "IOMONITOR"); | ||||
|             } | ||||
|             else if (tagStr == "VS2") | ||||
|             { | ||||
|                 var curValue = Pub.LockVS2.get(e.idx); | ||||
|                 Pub.LockVS2.set(e.idx, !curValue, "IOMONITOR"); | ||||
|             } | ||||
|  | ||||
|         } | ||||
|  | ||||
|         void lbTitle_DoubleClick(object sender, EventArgs e) | ||||
|         { | ||||
|             if (this.WindowState == FormWindowState.Maximized) this.WindowState = FormWindowState.Normal; | ||||
|             else this.WindowState = FormWindowState.Maximized; | ||||
|         } | ||||
|  | ||||
|         void fIOMonitor_KeyDown(object sender, KeyEventArgs e) | ||||
|         { | ||||
|             if (e.KeyCode == Keys.Escape) this.Close(); | ||||
|             else if (e.KeyCode == Keys.D && e.Control) | ||||
|             { | ||||
|                 this.tblDO.showDebugInfo = !this.tblDO.showDebugInfo; | ||||
|                 this.tblDI.showDebugInfo = this.tblDO.showDebugInfo; | ||||
|                 this.tblFG.showDebugInfo = this.tblDO.showDebugInfo; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private void fIOMonitor_Load(object sender, EventArgs e) | ||||
|         { | ||||
|             this.Text = "I/O Monitor"; | ||||
|             this.Show(); | ||||
|             //'Application.DoEvents(); | ||||
|  | ||||
|             Dialog.QuickControl fctl = new QuickControl(); | ||||
|             fctl.TopLevel = false; | ||||
|             fctl.Visible = true; | ||||
|             this.panel3.Controls.Add(fctl); | ||||
|             fctl.Dock = DockStyle.Top; | ||||
|             fctl.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; | ||||
|  | ||||
|             fctl.FormBorderStyle = FormBorderStyle.None;//.panTitleBar.Visible = false; | ||||
|             //  fctl.panTopMenuDiv.Visible = false; | ||||
|             fctl.panBG.BackColor = this.BackColor; | ||||
|             fctl.panBG.BorderStyle = BorderStyle.None; | ||||
|             fctl.Show(); | ||||
|             fctl.Dock = DockStyle.Fill; | ||||
|  | ||||
|             this.tmDisplay.Start(); | ||||
|         } | ||||
|  | ||||
|         #region "Mouse Form Move" | ||||
|  | ||||
|         private Boolean fMove = false; | ||||
|         private Point MDownPos; | ||||
|         private void LbTitle_MouseMove(object sender, MouseEventArgs e) | ||||
|         { | ||||
|             if (fMove) | ||||
|             { | ||||
|                 Point offset = new Point(e.X - MDownPos.X, e.Y - MDownPos.Y); | ||||
|                 this.Left += offset.X; | ||||
|                 this.Top += offset.Y; | ||||
|                 offset = new Point(0, 0); | ||||
|             } | ||||
|         } | ||||
|         private void LbTitle_MouseUp(object sender, MouseEventArgs e) | ||||
|         { | ||||
|             fMove = false; | ||||
|         } | ||||
|         private void LbTitle_MouseDown(object sender, MouseEventArgs e) | ||||
|         { | ||||
|             MDownPos = new Point(e.X, e.Y); | ||||
|             fMove = true; | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|  | ||||
|         void tblFG_ItemClick(object sender, arFrame.Control.GridView.ItemClickEventArgs e) | ||||
|         { | ||||
|             var curValue = Pub.flag.get(e.idx); | ||||
|             Pub.flag.set(e.idx, !curValue, "IOMONITOR"); | ||||
|         } | ||||
|  | ||||
|         void tblDO_ItemClick(object sender, arFrame.Control.GridView.ItemClickEventArgs e) | ||||
|         { | ||||
|             var newValue = !Pub.dio.getDOValue(e.idx); | ||||
|             if (Pub.dio.IsInit == false) | ||||
|             { | ||||
|                 //임시시그널 | ||||
|                 var dlg = Util.MsgQ("가상 시그널을 생성하시겠습니까?"); | ||||
|                 if (dlg == System.Windows.Forms.DialogResult.Yes) | ||||
|                 { | ||||
|                     Pub.dio.RaiseEvent(eIOPINDIR.OUTPUT, e.idx, newValue); | ||||
|                     Pub.log.Add("fake do : " + e.idx.ToString() + ",val=" + newValue.ToString()); | ||||
|                 } | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 Pub.dio.SetOutput(e.idx, newValue); | ||||
|                 Pub.log.Add(string.Format("set output(iomonitor-userclick) idx={0},val={1}", e.idx, newValue)); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         void tblDI_ItemClick(object sender, arFrame.Control.GridView.ItemClickEventArgs e) | ||||
|         { | ||||
|             var newValue = !Pub.dio.getDIValue(e.idx); | ||||
|             if (Pub.dio.IsInit == false || Pub.flag.get(eFlag.DEBUG) == true) | ||||
|             { | ||||
|                 //임시시그널 | ||||
|                 var dlg = Util.MsgQ("가상 시그널을 생성하시겠습니까?"); | ||||
|                 if (dlg == System.Windows.Forms.DialogResult.Yes) | ||||
|                 { | ||||
|                     Pub.dio.RaiseEvent(eIOPINDIR.INPUT, e.idx, newValue); | ||||
|                     Pub.log.Add("fake di : " + e.idx.ToString() + ",val=" + newValue.ToString()); | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         void flag_ValueChanged(object sender, Flag.ValueEventArgs e) | ||||
|         { | ||||
|             //var butIndex = getControlIndex(e.ArrIDX); | ||||
|             //if (butIndex >= this.tblFG.Controls.Count) return; | ||||
|  | ||||
|             //해당 아이템의 값을 변경하고 다시 그린다. | ||||
|             if (tblFG.setValue(e.ArrIDX, e.NewValue)) | ||||
|                 tblFG.Invalidate();//.drawItem(e.ArrIDX); | ||||
|         } | ||||
|  | ||||
|  | ||||
|         void dio_IOValueChanged(object sender, arDev.AzinAxt.DIO.IOValueEventArgs e) | ||||
|         { | ||||
|             //var butIndex = getControlIndex(e.ArrIDX); | ||||
|             if (e.Direction == eIOPINDIR.INPUT) | ||||
|             { | ||||
|                 //해당 아이템의 값을 변경하고 다시 그린다. | ||||
|                 if (tblDI.setValue(e.ArrIDX, e.NewValue)) | ||||
|                     tblDI.Invalidate();//.drawItem(e.ArrIDX); | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 //해당 아이템의 값을 변경하고 다시 그린다. | ||||
|                 if (tblDO.setValue(e.ArrIDX, e.NewValue)) | ||||
|                     tblDO.Invalidate();//.drawItem(e.ArrIDX); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private void tbClose_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             this.Close(); | ||||
|         } | ||||
|  | ||||
|         private void tmDisplay_Tick(object sender, EventArgs e) | ||||
|         { | ||||
|             //flg update | ||||
|             lbTitle3.Text = "FLAG(" + Pub.flag.Value.ToString() + ")"; | ||||
|             //var jobend = Pub.flag.get(32); | ||||
|             for (int i = 0; i < 64; i++) | ||||
|                 tblFG.setValue(i, Pub.flag.get(i)); | ||||
|             tblFG.Invalidate(); | ||||
|  | ||||
|             this.label1.Text = string.Format("PICKER-X({0})", Pub.LockPKX.Value); | ||||
|             this.lbXR.Text = string.Format("PICKER-Z({0})", Pub.LockPKZ.Value); | ||||
|             this.label5.Text = string.Format("THETA({0})", Pub.LockPKT.Value); | ||||
|             this.label10.Text = string.Format("VISION-0({0})", Pub.LockVS0.Value); | ||||
|             this.label2.Text = string.Format("VISION-1({0})", Pub.LockVS1.Value); | ||||
|             this.label11.Text = string.Format("VISION-2({0})", Pub.LockVS2.Value); | ||||
|  | ||||
|             //8,9,6,7,4,3 | ||||
|             this.label8.Text = string.Format("PRINTER-LEFT({0})", Pub.LockPRL.Value); | ||||
|             this.label9.Text = string.Format("PRINTER-RIGHT({0})", Pub.LockPRR.Value); | ||||
|             this.label6.Text = string.Format("PRINTER-LEFT-MOVE({0})", Pub.LockPLM.Value); | ||||
|             this.label7.Text = string.Format("PRINTER-RIGHT-MOVE({0})", Pub.LockPRM.Value); | ||||
|             this.label4.Text = string.Format("PRINTER-LEFT-UP/DN({0})", Pub.LockPLZ.Value); | ||||
|             this.label3.Text = string.Format("PRINTER-RIGHT-UP/DN({0})", Pub.LockPRZ.Value); | ||||
|         } | ||||
|  | ||||
|         private void saveIOListToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var namelist = Enum.GetNames(typeof(eDIName)); | ||||
|             var vlist = Enum.GetValues(typeof(eDIName)); | ||||
|             var pinlist = Enum.GetNames(typeof(eDIPin)); | ||||
|  | ||||
|             System.Text.StringBuilder sb = new StringBuilder(); | ||||
|             sb.AppendLine("#DI"); | ||||
|             sb.AppendLine("IDX,PIN,DESCRIPTION"); | ||||
|             for(int i = 0; i < 64;i++) | ||||
|             { | ||||
|                 var ev = (eDIName)i; | ||||
|                 var val = (int)(ev); | ||||
|                 var ep = (eDIPin)val; | ||||
|                 var desc = ev.ToString() == val.ToString() ? string.Empty : ev.ToString(); | ||||
|                 sb.AppendLine(string.Format("{0},{1},{2}", val, ep, desc)); | ||||
|             } | ||||
|             sb.AppendLine(); | ||||
|             sb.AppendLine("#DO"); | ||||
|             sb.AppendLine("IDX,PIN,DESCRIPTION"); | ||||
|              vlist = Enum.GetValues(typeof(eDOName)); | ||||
|  | ||||
|             for (int i = 0; i < 64; i++) | ||||
|             { | ||||
|                 var ev = (eDOName)i; | ||||
|                 var val = (int)(ev); | ||||
|                 var ep = (eDOPin)val; | ||||
|                 var desc = ev.ToString() == val.ToString() ? string.Empty : ev.ToString(); | ||||
|                 sb.AppendLine(string.Format("{0},{1},{2}", val, ep, desc)); | ||||
|             } | ||||
|  | ||||
|             SaveFileDialog sd = new SaveFileDialog(); | ||||
|             sd.Filter = "csv|*.csv"; | ||||
|             sd.FileName = "iolist.csv"; | ||||
|             if (sd.ShowDialog() == DialogResult.OK) | ||||
|             { | ||||
|                 System.IO.File.WriteAllText(sd.FileName, sb.ToString(), System.Text.Encoding.Default); | ||||
|                 Util.RunExplorer(sd.FileName); | ||||
|             } | ||||
|  | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										126
									
								
								Handler/Project_form2/Don't change it/Dialog/fIOMonitor.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										126
									
								
								Handler/Project_form2/Don't change it/Dialog/fIOMonitor.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,126 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>124, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="tmDisplay.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
| </root> | ||||
							
								
								
									
										78
									
								
								Handler/Project_form2/Don't change it/Dialog/fInput.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										78
									
								
								Handler/Project_form2/Don't change it/Dialog/fInput.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,78 @@ | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     partial class fInput | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// Required designer variable. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Clean up any resources being used. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region Windows Form Designer generated code | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Required method for Designer support - do not modify | ||||
|         /// the contents of this method with the code editor. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
|             this.tbInput = new System.Windows.Forms.TextBox(); | ||||
|             this.touchKey1 = new arCtl.TouchKey(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // tbInput | ||||
|             //  | ||||
|             this.tbInput.Font = new System.Drawing.Font("Calibri", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.tbInput.Location = new System.Drawing.Point(26, 21); | ||||
|             this.tbInput.Name = "tbInput"; | ||||
|             this.tbInput.Size = new System.Drawing.Size(479, 40); | ||||
|             this.tbInput.TabIndex = 1; | ||||
|             this.tbInput.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // touchKey1 | ||||
|             //  | ||||
|             this.touchKey1.Location = new System.Drawing.Point(18, 75); | ||||
|             this.touchKey1.Margin = new System.Windows.Forms.Padding(9, 21, 9, 21); | ||||
|             this.touchKey1.Name = "touchKey1"; | ||||
|             this.touchKey1.Size = new System.Drawing.Size(503, 381); | ||||
|             this.touchKey1.TabIndex = 5; | ||||
|             this.touchKey1.keyClick += new arCtl.TouchKey.KeyClickHandler(this.touchKey1_keyClick); | ||||
|             //  | ||||
|             // fInput | ||||
|             //  | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | ||||
|             this.ClientSize = new System.Drawing.Size(539, 486); | ||||
|             this.Controls.Add(this.touchKey1); | ||||
|             this.Controls.Add(this.tbInput); | ||||
|             this.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.KeyPreview = true; | ||||
|             this.MaximizeBox = false; | ||||
|             this.MinimizeBox = false; | ||||
|             this.Name = "fInput"; | ||||
|             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
|             this.Text = "Input Value"; | ||||
|             this.TopMost = true; | ||||
|             this.Load += new System.EventHandler(this.fInput_Load); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|  | ||||
|         public System.Windows.Forms.TextBox tbInput; | ||||
|         private arCtl.TouchKey touchKey1; | ||||
|     } | ||||
| } | ||||
							
								
								
									
										98
									
								
								Handler/Project_form2/Don't change it/Dialog/fInput.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										98
									
								
								Handler/Project_form2/Don't change it/Dialog/fInput.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,98 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     public partial class fInput : Form | ||||
|     { | ||||
|         public fInput(string value,string title="") | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|  | ||||
|             if (title.isEmpty() == false) this.Text = title; | ||||
|             this.tbInput.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Enter) Confirm(); }; | ||||
|             this.KeyPreview = true; | ||||
|             this.KeyDown += (s1, e1) => { | ||||
|                 if (e1.KeyCode == Keys.Escape) this.Close(); | ||||
|             }; | ||||
|             this.tbInput.Text = value; | ||||
|         } | ||||
|  | ||||
|         private void Confirm() | ||||
|         { | ||||
|             string id = tbInput.Text.Trim(); | ||||
|             if (id.isEmpty()) | ||||
|             { | ||||
|                 tbInput.Focus(); | ||||
|                 return; | ||||
|             } | ||||
|                 DialogResult = DialogResult.OK; | ||||
|         } | ||||
|  | ||||
|         private void touchKey1_keyClick(string key) | ||||
|         { | ||||
|             if (key == "BACK" || key == "◁") | ||||
|             { | ||||
|                 if (!tbInput.Text.isEmpty()) | ||||
|                 { | ||||
|                     if (tbInput.Text.Length == 1) tbInput.Text = ""; | ||||
|                     else tbInput.Text = tbInput.Text.Substring(0, tbInput.Text.Length - 1); | ||||
|                 } | ||||
|                 //if (tbInput.Text == "") tbInput.Text = "0"; | ||||
|             } | ||||
|             else if(key == "-") | ||||
|             { | ||||
|                 if (tbInput.Text.StartsWith("-") == false) | ||||
|                     tbInput.Text = "-" + tbInput.Text; | ||||
|                 else tbInput.Text = tbInput.Text.Substring(1); | ||||
|             } | ||||
|             else if (key == "CLEAR" || key == "RESET" || key == "◀") | ||||
|             { | ||||
|                 tbInput.Text = "0"; | ||||
|             } | ||||
|             else if (key == "ENTER" || key == "ENT") | ||||
|             { | ||||
|                 Confirm(); | ||||
|             } | ||||
|             else if(key == ".") | ||||
|             { | ||||
|                 if (tbInput.Text != "" && tbInput.Text.IndexOf(".") == -1) tbInput.Text += "."; | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 if (tbInput.SelectionLength > 0 && tbInput.Text.Length == tbInput.SelectionLength) | ||||
|                 { | ||||
|                     tbInput.Text = key; | ||||
|                 } | ||||
|                 else if (tbInput.SelectionLength > 0) | ||||
|                 { | ||||
|                     //선택된 영역을 대체해준다. | ||||
|                     tbInput.SelectedText = key; | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|                     //if(tbInput.Text.IndexOf(".") == -1)  | ||||
|                         tbInput.Text += key; | ||||
|                 } | ||||
|  | ||||
|             } | ||||
|  | ||||
|             tbInput.SelectionLength = 0; | ||||
|             if (!tbInput.Text.isEmpty()) | ||||
|                 tbInput.SelectionStart = tbInput.Text.Length; | ||||
|         } | ||||
|  | ||||
|         private void fInput_Load(object sender, EventArgs e) | ||||
|         { | ||||
|             this.Show();             | ||||
|             this.tbInput.SelectAll(); | ||||
|             this.tbInput.Focus(); | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										120
									
								
								Handler/Project_form2/Don't change it/Dialog/fInput.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										120
									
								
								Handler/Project_form2/Don't change it/Dialog/fInput.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,120 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
| </root> | ||||
							
								
								
									
										200
									
								
								Handler/Project_form2/Don't change it/Dialog/fLog.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										200
									
								
								Handler/Project_form2/Don't change it/Dialog/fLog.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,200 @@ | ||||
| namespace Project.Dialog | ||||
| { | ||||
|     partial class fLog | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// Required designer variable. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Clean up any resources being used. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region Windows Form Designer generated code | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Required method for Designer support - do not modify | ||||
|         /// the contents of this method with the code editor. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
| 			this.panLog = new System.Windows.Forms.Panel(); | ||||
| 			this.chkVision = new System.Windows.Forms.CheckBox(); | ||||
| 			this.chkDebug = new System.Windows.Forms.CheckBox(); | ||||
| 			this.chkILStop = new System.Windows.Forms.CheckBox(); | ||||
| 			this.chkKen = new System.Windows.Forms.CheckBox(); | ||||
| 			this.chkILock = new System.Windows.Forms.CheckBox(); | ||||
| 			this.chkFlag = new System.Windows.Forms.CheckBox(); | ||||
| 			this.chkMain = new System.Windows.Forms.CheckBox(); | ||||
| 			this.logTextBox1 = new arCtl.LogTextBox(); | ||||
| 			this.button1 = new System.Windows.Forms.Button(); | ||||
| 			this.panLog.SuspendLayout(); | ||||
| 			this.SuspendLayout(); | ||||
| 			//  | ||||
| 			// panLog | ||||
| 			//  | ||||
| 			this.panLog.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; | ||||
| 			this.panLog.Controls.Add(this.chkVision); | ||||
| 			this.panLog.Controls.Add(this.chkDebug); | ||||
| 			this.panLog.Controls.Add(this.chkILStop); | ||||
| 			this.panLog.Controls.Add(this.chkKen); | ||||
| 			this.panLog.Controls.Add(this.chkILock); | ||||
| 			this.panLog.Controls.Add(this.chkFlag); | ||||
| 			this.panLog.Controls.Add(this.chkMain); | ||||
| 			this.panLog.Dock = System.Windows.Forms.DockStyle.Top; | ||||
| 			this.panLog.Location = new System.Drawing.Point(0, 0); | ||||
| 			this.panLog.Margin = new System.Windows.Forms.Padding(0); | ||||
| 			this.panLog.Name = "panLog"; | ||||
| 			this.panLog.Padding = new System.Windows.Forms.Padding(5); | ||||
| 			this.panLog.Size = new System.Drawing.Size(735, 31); | ||||
| 			this.panLog.TabIndex = 6; | ||||
| 			//  | ||||
| 			// chkVision | ||||
| 			//  | ||||
| 			this.chkVision.Dock = System.Windows.Forms.DockStyle.Left; | ||||
| 			this.chkVision.Location = new System.Drawing.Point(435, 5); | ||||
| 			this.chkVision.Name = "chkVision"; | ||||
| 			this.chkVision.Size = new System.Drawing.Size(70, 17); | ||||
| 			this.chkVision.TabIndex = 4; | ||||
| 			this.chkVision.Text = "Vision"; | ||||
| 			this.chkVision.UseVisualStyleBackColor = true; | ||||
| 			//  | ||||
| 			// chkDebug | ||||
| 			//  | ||||
| 			this.chkDebug.Dock = System.Windows.Forms.DockStyle.Left; | ||||
| 			this.chkDebug.Location = new System.Drawing.Point(365, 5); | ||||
| 			this.chkDebug.Name = "chkDebug"; | ||||
| 			this.chkDebug.Size = new System.Drawing.Size(70, 17); | ||||
| 			this.chkDebug.TabIndex = 3; | ||||
| 			this.chkDebug.Text = "Debug"; | ||||
| 			this.chkDebug.UseVisualStyleBackColor = true; | ||||
| 			//  | ||||
| 			// chkILStop | ||||
| 			//  | ||||
| 			this.chkILStop.Dock = System.Windows.Forms.DockStyle.Left; | ||||
| 			this.chkILStop.Location = new System.Drawing.Point(295, 5); | ||||
| 			this.chkILStop.Name = "chkILStop"; | ||||
| 			this.chkILStop.Size = new System.Drawing.Size(70, 17); | ||||
| 			this.chkILStop.TabIndex = 2; | ||||
| 			this.chkILStop.Text = "IL-Stop"; | ||||
| 			this.chkILStop.UseVisualStyleBackColor = true; | ||||
| 			//  | ||||
| 			// chkKen | ||||
| 			//  | ||||
| 			this.chkKen.Dock = System.Windows.Forms.DockStyle.Left; | ||||
| 			this.chkKen.Location = new System.Drawing.Point(215, 5); | ||||
| 			this.chkKen.Name = "chkKen"; | ||||
| 			this.chkKen.Size = new System.Drawing.Size(80, 17); | ||||
| 			this.chkKen.TabIndex = 1; | ||||
| 			this.chkKen.Text = "Keyence"; | ||||
| 			this.chkKen.UseVisualStyleBackColor = true; | ||||
| 			//  | ||||
| 			// chkILock | ||||
| 			//  | ||||
| 			this.chkILock.Dock = System.Windows.Forms.DockStyle.Left; | ||||
| 			this.chkILock.Location = new System.Drawing.Point(145, 5); | ||||
| 			this.chkILock.Name = "chkILock"; | ||||
| 			this.chkILock.Size = new System.Drawing.Size(70, 17); | ||||
| 			this.chkILock.TabIndex = 0; | ||||
| 			this.chkILock.Text = "ILock"; | ||||
| 			this.chkILock.UseVisualStyleBackColor = true; | ||||
| 			this.chkILock.Click += new System.EventHandler(this.chkMain_Click); | ||||
| 			//  | ||||
| 			// chkFlag | ||||
| 			//  | ||||
| 			this.chkFlag.Dock = System.Windows.Forms.DockStyle.Left; | ||||
| 			this.chkFlag.Location = new System.Drawing.Point(75, 5); | ||||
| 			this.chkFlag.Name = "chkFlag"; | ||||
| 			this.chkFlag.Size = new System.Drawing.Size(70, 17); | ||||
| 			this.chkFlag.TabIndex = 0; | ||||
| 			this.chkFlag.Text = "Flag"; | ||||
| 			this.chkFlag.UseVisualStyleBackColor = true; | ||||
| 			this.chkFlag.Click += new System.EventHandler(this.chkMain_Click); | ||||
| 			//  | ||||
| 			// chkMain | ||||
| 			//  | ||||
| 			this.chkMain.Checked = true; | ||||
| 			this.chkMain.CheckState = System.Windows.Forms.CheckState.Checked; | ||||
| 			this.chkMain.Dock = System.Windows.Forms.DockStyle.Left; | ||||
| 			this.chkMain.Location = new System.Drawing.Point(5, 5); | ||||
| 			this.chkMain.Name = "chkMain"; | ||||
| 			this.chkMain.Size = new System.Drawing.Size(70, 17); | ||||
| 			this.chkMain.TabIndex = 0; | ||||
| 			this.chkMain.Text = "Main"; | ||||
| 			this.chkMain.UseVisualStyleBackColor = true; | ||||
| 			this.chkMain.Click += new System.EventHandler(this.chkMain_Click); | ||||
| 			//  | ||||
| 			// logTextBox1 | ||||
| 			//  | ||||
| 			this.logTextBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(24)))), ((int)(((byte)(24))))); | ||||
| 			this.logTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; | ||||
| 			this.logTextBox1.ColorList = new arCtl.sLogMessageColor[0]; | ||||
| 			this.logTextBox1.DateFormat = "mm:ss.fff"; | ||||
| 			this.logTextBox1.DefaultColor = System.Drawing.Color.LightGray; | ||||
| 			this.logTextBox1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.logTextBox1.EnableDisplayTimer = false; | ||||
| 			this.logTextBox1.EnableGubunColor = true; | ||||
| 			this.logTextBox1.Font = new System.Drawing.Font("맑은 고딕", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
| 			this.logTextBox1.ListFormat = "[{0}] {1}"; | ||||
| 			this.logTextBox1.Location = new System.Drawing.Point(0, 31); | ||||
| 			this.logTextBox1.MaxListCount = ((ushort)(200)); | ||||
| 			this.logTextBox1.MaxTextLength = ((uint)(4000u)); | ||||
| 			this.logTextBox1.MessageInterval = 50; | ||||
| 			this.logTextBox1.Name = "logTextBox1"; | ||||
| 			this.logTextBox1.Size = new System.Drawing.Size(735, 469); | ||||
| 			this.logTextBox1.TabIndex = 4; | ||||
| 			this.logTextBox1.Text = ""; | ||||
| 			//  | ||||
| 			// button1 | ||||
| 			//  | ||||
| 			this.button1.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||
| 			this.button1.Location = new System.Drawing.Point(0, 500); | ||||
| 			this.button1.Name = "button1"; | ||||
| 			this.button1.Size = new System.Drawing.Size(735, 40); | ||||
| 			this.button1.TabIndex = 5; | ||||
| 			this.button1.Text = "Load File"; | ||||
| 			this.button1.UseVisualStyleBackColor = true; | ||||
| 			this.button1.Click += new System.EventHandler(this.button1_Click); | ||||
| 			//  | ||||
| 			// fLog | ||||
| 			//  | ||||
| 			this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
| 			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
| 			this.ClientSize = new System.Drawing.Size(735, 540); | ||||
| 			this.Controls.Add(this.logTextBox1); | ||||
| 			this.Controls.Add(this.button1); | ||||
| 			this.Controls.Add(this.panLog); | ||||
| 			this.Name = "fLog"; | ||||
| 			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
| 			this.Text = "Log Display"; | ||||
| 			this.TopMost = true; | ||||
| 			this.Load += new System.EventHandler(this.fLog_Load); | ||||
| 			this.panLog.ResumeLayout(false); | ||||
| 			this.ResumeLayout(false); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|  | ||||
|         private System.Windows.Forms.Panel panLog; | ||||
|         private arCtl.LogTextBox logTextBox1; | ||||
|         private System.Windows.Forms.Button button1; | ||||
|         private System.Windows.Forms.CheckBox chkMain; | ||||
|         private System.Windows.Forms.CheckBox chkILock; | ||||
|         private System.Windows.Forms.CheckBox chkFlag; | ||||
|         private System.Windows.Forms.CheckBox chkKen; | ||||
| 		private System.Windows.Forms.CheckBox chkDebug; | ||||
| 		private System.Windows.Forms.CheckBox chkILStop; | ||||
| 		private System.Windows.Forms.CheckBox chkVision; | ||||
| 	} | ||||
| } | ||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user
	 ChiKyun Kim
					ChiKyun Kim