- 보드프로그램 INT81M-2 : V2.0.0 이상에서 호환
- 업다운 기능 추가
   1. 메인화면
      - Motor Up/Down 버튼 추가
      - Down : Cmd00, Up : Cmu00
   2. 판정설정
   - 1열 상승지연 : 5011, 하강지연 : 5012
   - 2열 상승지연 : 5028, 하강지연 : 5029
   3. 엔지니어설정
      - 장비타입 : 1002
      - 컨베어 : 0, 업다운 : 4
   4. 부팅시컨스
      - dummy(4), dummy(4) -> 하강지연(4), 상승지연(4)
      - 시스템파일 1열 쓰기 : 9014
      - 시스템파일 2열 쓰기 : 9017
  - 판정설정에서 화면에서 Start/Stop 가능하도록 수정
			
			
				master
			
			
				V2.0.0
			
		
							parent
							
								
									3ae63cb72b
								
							
						
					
					
						commit
						e972506ae0
					
				|  | @ -183,12 +183,18 @@ namespace ITC81DB_2.Controls | |||
|             { | ||||
|                 case 0: // 컨베어 | ||||
|                     this.ParentForm.ParentForm.SystemConfig.EquipmentType = 0; | ||||
|                     this.ParentForm.CenterSystemSorterSetting.UpdateControlEnable(true); | ||||
|                     this.ParentForm.ParentForm.ChildFormMainDisplay.UpdateControlVisible(false); | ||||
|                     break; | ||||
|                 case 1: // 업다운 | ||||
|                     this.ParentForm.ParentForm.SystemConfig.EquipmentType = 4; | ||||
|                     this.ParentForm.CenterSystemSorterSetting.UpdateControlEnable(false); | ||||
|                     this.ParentForm.ParentForm.ChildFormMainDisplay.UpdateControlVisible(true); | ||||
|                     break; | ||||
|                 default: | ||||
|                     this.ParentForm.ParentForm.SystemConfig.EquipmentType = 0; | ||||
|                     this.ParentForm.CenterSystemSorterSetting.UpdateControlEnable(true); | ||||
|                     this.ParentForm.ParentForm.ChildFormMainDisplay.UpdateControlVisible(false); | ||||
|                     break; | ||||
|             } | ||||
| 
 | ||||
|  |  | |||
|  | @ -227,7 +227,10 @@ namespace ITC81DB_2.Controls | |||
|         } | ||||
|         private void DefaultSetting() | ||||
|         { | ||||
| 
 | ||||
|             if (this.ParentForm.ParentForm.SystemConfig.EquipmentType == 4) | ||||
|                 this.UpdateControlEnable(false); | ||||
|             else | ||||
|                 this.UpdateControlEnable(true); | ||||
|         } | ||||
| 
 | ||||
|         private void UpdateControlsDisplay1(JudgmentSetItem item1,JudgmentSetItem item2, SystemParameter9507 parameter) | ||||
|  | @ -386,6 +389,16 @@ namespace ITC81DB_2.Controls | |||
|                 //this.pictureBoxStop.Visible = true; | ||||
|             } | ||||
|         } | ||||
|         public void UpdateControlEnable(bool enable) | ||||
|         { | ||||
|             this.comboBoxOut9Mode.Enabled = enable; | ||||
|             this.labelOut9DelayTime.Enabled = enable; | ||||
|             this.labelOut9RunTime.Enabled = enable; | ||||
| 
 | ||||
|             this.comboBoxOut10Mode.Enabled = enable; | ||||
|             this.labelOut10DelayTime.Enabled = enable; | ||||
|             this.labelOut10RunTime.Enabled = enable; | ||||
|         } | ||||
| 
 | ||||
|         public void DisplayRefresh(SystemStatus status) | ||||
|         { | ||||
|  |  | |||
|  | @ -1863,8 +1863,8 @@ namespace ITC81DB_2 | |||
|             this.AutoJudgment2 = 100; | ||||
|             this.AutoJudgment3 = 100; | ||||
| 
 | ||||
|             this.DescendDelayTime = 1000; | ||||
|             this.AscendDelayTime = 1000; | ||||
|             this.DescendDelayTime = 400; | ||||
|             this.AscendDelayTime = 200; | ||||
|         } | ||||
|         #endregion | ||||
|     } | ||||
|  |  | |||
|  | @ -152,7 +152,7 @@ namespace ITC81DB_2.Forms | |||
| 
 | ||||
|             this.CollectionGraphData = new Collection<int>(); | ||||
|             this.CollectionGraphData.Clear(); | ||||
|             for (int i = 0; i < 200; i++) | ||||
|             for (int i = 0; i < 300; i++) | ||||
|                 this.CollectionGraphData.Add(0); | ||||
| 
 | ||||
|             this.SystemConfig = new SystemConfigurationItem(); | ||||
|  | @ -231,8 +231,8 @@ namespace ITC81DB_2.Forms | |||
|             sb.Append(Helper.StringZeroFillDigits4(jItem.Sorter2DelayTime.ToString()));         // 선별기2지연시간(4) | ||||
|             sb.Append(Helper.StringZeroFillDigits4(jItem.Sorter2RunTime.ToString()));           // 선별기2동작시간(4) | ||||
|             sb.Append(Helper.StringZeroFillDigits4(this.SystemConfig.EquipmentID.ToString()));  // 장비ID(4) | ||||
|             sb.Append("0000");                                                                  // Dummy2(4)                     | ||||
|             sb.Append("0000");                                                                  // Dummy3(4) | ||||
|             sb.Append(Helper.StringZeroFillDigits4(jItem.DescendDelayTime.ToString()));          // 하강지연(4)                     | ||||
|             sb.Append(Helper.StringZeroFillDigits4(jItem.AscendDelayTime.ToString()));            // 상승지연(4) | ||||
|             sb.Append("0000");                                                                  // Dummy4(4) | ||||
|             sb.Append("0000");                                                                  // Dummy5(4) | ||||
|             sb.Append(Helper.StringZeroFillDigits4(pItem.Number.ToString()));                   // 품번  | ||||
|  | @ -274,8 +274,8 @@ namespace ITC81DB_2.Forms | |||
|             sb.Append(Helper.StringZeroFillDigits4(jItem.Sorter2DelayTime.ToString()));         // 선별기2지연시간(4) | ||||
|             sb.Append(Helper.StringZeroFillDigits4(jItem.Sorter2RunTime.ToString()));           // 선별기2동작시간(4) | ||||
|             sb.Append(Helper.StringZeroFillDigits4(this.SystemConfig.EquipmentID.ToString()));  // 장비ID(4) | ||||
|             sb.Append("0000");                                                                  // Dummy2(4)                     | ||||
|             sb.Append("0000");                                                                  // Dummy3(4) | ||||
|             sb.Append(Helper.StringZeroFillDigits4(jItem.DescendDelayTime.ToString()));          // 하강지연(4)                     | ||||
|             sb.Append(Helper.StringZeroFillDigits4(jItem.AscendDelayTime.ToString()));            // 상승지연(4) | ||||
|             sb.Append("0000");                                                                  // Dummy4(4) | ||||
|             sb.Append("0000");                                                                  // Dummy5(4) | ||||
|             sb.Append(Helper.StringZeroFillDigits4(pItem.Number.ToString()));                   // 품번  | ||||
|  |  | |||
|  | @ -151,9 +151,9 @@ namespace ITC81DB_2.Forms | |||
|             this.MainDisplayAlarm.BringToFront(); | ||||
| 
 | ||||
|             if (this.ParentForm.SystemConfig.EquipmentType == 4) | ||||
|                 this.buttonConveyorUpDown.Visible = true; | ||||
|                 this.UpdateControlVisible(true); | ||||
|             else | ||||
|                 this.buttonConveyorUpDown.Visible = false; | ||||
|                 this.UpdateControlVisible(false); | ||||
| 
 | ||||
|             if (this.ParentForm.SystemConfig.IsLogin == true) | ||||
|                 this.UpdateDisplayUser(this.ParentForm.CurrentSystemStatus); | ||||
|  | @ -622,6 +622,10 @@ namespace ITC81DB_2.Forms | |||
|                     break; | ||||
|             } | ||||
|         } | ||||
|         public void UpdateControlVisible(bool enable) | ||||
|         { | ||||
|             this.buttonConveyorUpDown.Visible = enable; | ||||
|         } | ||||
| 
 | ||||
|         public void UpdateTimeDisplay() | ||||
|         { | ||||
|  | @ -640,12 +644,7 @@ namespace ITC81DB_2.Forms | |||
|             this.MainDisplayDataStatistics.DisplayRefresh(status); | ||||
| 
 | ||||
|             if (this.ParentForm.SystemConfig.EquipmentType == 4) | ||||
|             { | ||||
|                 this.buttonConveyorUpDown.Visible = true; | ||||
|                 this.buttonConveyorUpDown.ButtonUp(); | ||||
|             } | ||||
|             else | ||||
|                 this.buttonConveyorUpDown.Visible = false; | ||||
| 
 | ||||
|             this.ParentForm.CurrentSystemStatus.CurrentDisplay = DataStore.DisplayStore.MainDisplay; | ||||
|             this.ParentForm.SetDisplayMode(DataStore.DisplayMode.Normal); | ||||
|  |  | |||
|  | @ -16,6 +16,7 @@ | |||
| @ Ver 2.0.0 by CJY | ||||
| 	- 2020.07.15 | ||||
| 	- Ver 1.9.0 Modify | ||||
| 	- 보드프로그램 INT81M-2 : V2.0.0 이상에서 호환 | ||||
| 	- 업다운 기능 추가 | ||||
| 	  1. 메인화면 | ||||
| 	     - Motor Up/Down 버튼 추가 | ||||
|  | @ -30,7 +31,7 @@ | |||
| 	     - dummy(4), dummy(4) -> 하강지연(4), 상승지연(4) | ||||
| 	     - 시스템파일 1열 쓰기 : 9014 | ||||
| 	     - 시스템파일 2열 쓰기 : 9017 | ||||
| 	 - 판정설정, 선별기 설정에서 화면에서 Start/Stop 가능하도록 수정 | ||||
| 	 - 판정설정에서 화면에서 Start/Stop 가능하도록 수정 | ||||
| 
 | ||||
| @ Ver 1.9.0 by CJY | ||||
| 	- 2020.06.30 | ||||
|  |  | |||
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
		Loading…
	
		Reference in New Issue