15열 바이패스 수정
parent
02535b37c6
commit
1e34d91da4
File diff suppressed because it is too large
Load Diff
|
@ -1595,6 +1595,259 @@ namespace INT99DC_7C.Forms
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
else if (this.ParentForm.SystemConfig.EquipmentColumns == 15)
|
||||||
|
{
|
||||||
|
#region 15열
|
||||||
|
// Lane 8
|
||||||
|
if (this.buttonBypassLane8.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
|
||||||
|
{
|
||||||
|
if (this.ParentForm.CollectionWeightData[7].IsBypassMode != true)
|
||||||
|
{
|
||||||
|
this.ParentForm.CollectionWeightData[7].IsBypassMode = true;
|
||||||
|
|
||||||
|
before = "OFF";
|
||||||
|
after = "ON";
|
||||||
|
lane = "8";
|
||||||
|
|
||||||
|
// Part11
|
||||||
|
if (this.ParentForm.SystemConfig.IsPart11 == true)
|
||||||
|
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (this.ParentForm.CollectionWeightData[7].IsBypassMode != false)
|
||||||
|
{
|
||||||
|
this.ParentForm.CollectionWeightData[7].IsBypassMode = false;
|
||||||
|
|
||||||
|
before = "ON";
|
||||||
|
after = "OFF";
|
||||||
|
lane = "8";
|
||||||
|
|
||||||
|
// Part11
|
||||||
|
if (this.ParentForm.SystemConfig.IsPart11 == true)
|
||||||
|
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Lane 9
|
||||||
|
if (this.buttonBypassLane9.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
|
||||||
|
{
|
||||||
|
if (this.ParentForm.CollectionWeightData[8].IsBypassMode != true)
|
||||||
|
{
|
||||||
|
this.ParentForm.CollectionWeightData[8].IsBypassMode = true;
|
||||||
|
|
||||||
|
before = "OFF";
|
||||||
|
after = "ON";
|
||||||
|
lane = "9";
|
||||||
|
|
||||||
|
// Part11
|
||||||
|
if (this.ParentForm.SystemConfig.IsPart11 == true)
|
||||||
|
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (this.ParentForm.CollectionWeightData[8].IsBypassMode != false)
|
||||||
|
{
|
||||||
|
this.ParentForm.CollectionWeightData[8].IsBypassMode = false;
|
||||||
|
|
||||||
|
before = "ON";
|
||||||
|
after = "OFF";
|
||||||
|
lane = "9";
|
||||||
|
|
||||||
|
// Part11
|
||||||
|
if (this.ParentForm.SystemConfig.IsPart11 == true)
|
||||||
|
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Lane 10
|
||||||
|
if (this.buttonBypassLane10.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
|
||||||
|
{
|
||||||
|
if (this.ParentForm.CollectionWeightData[9].IsBypassMode != true)
|
||||||
|
{
|
||||||
|
this.ParentForm.CollectionWeightData[9].IsBypassMode = true;
|
||||||
|
|
||||||
|
before = "OFF";
|
||||||
|
after = "ON";
|
||||||
|
lane = "10";
|
||||||
|
|
||||||
|
// Part11
|
||||||
|
if (this.ParentForm.SystemConfig.IsPart11 == true)
|
||||||
|
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (this.ParentForm.CollectionWeightData[9].IsBypassMode != false)
|
||||||
|
{
|
||||||
|
this.ParentForm.CollectionWeightData[9].IsBypassMode = false;
|
||||||
|
|
||||||
|
before = "ON";
|
||||||
|
after = "OFF";
|
||||||
|
lane = "10";
|
||||||
|
|
||||||
|
// Part11
|
||||||
|
if (this.ParentForm.SystemConfig.IsPart11 == true)
|
||||||
|
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Lane 11
|
||||||
|
if (this.buttonBypassLane11.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
|
||||||
|
{
|
||||||
|
if (this.ParentForm.CollectionWeightData[10].IsBypassMode != true)
|
||||||
|
{
|
||||||
|
this.ParentForm.CollectionWeightData[10].IsBypassMode = true;
|
||||||
|
|
||||||
|
before = "OFF";
|
||||||
|
after = "ON";
|
||||||
|
lane = "11";
|
||||||
|
|
||||||
|
// Part11
|
||||||
|
if (this.ParentForm.SystemConfig.IsPart11 == true)
|
||||||
|
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (this.ParentForm.CollectionWeightData[10].IsBypassMode != false)
|
||||||
|
{
|
||||||
|
this.ParentForm.CollectionWeightData[10].IsBypassMode = false;
|
||||||
|
|
||||||
|
before = "ON";
|
||||||
|
after = "OFF";
|
||||||
|
lane = "11";
|
||||||
|
|
||||||
|
// Part11
|
||||||
|
if (this.ParentForm.SystemConfig.IsPart11 == true)
|
||||||
|
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Lane 12
|
||||||
|
if (this.buttonBypassLane12.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
|
||||||
|
{
|
||||||
|
if (this.ParentForm.CollectionWeightData[11].IsBypassMode != true)
|
||||||
|
{
|
||||||
|
this.ParentForm.CollectionWeightData[11].IsBypassMode = true;
|
||||||
|
|
||||||
|
before = "OFF";
|
||||||
|
after = "ON";
|
||||||
|
lane = "12";
|
||||||
|
|
||||||
|
// Part11
|
||||||
|
if (this.ParentForm.SystemConfig.IsPart11 == true)
|
||||||
|
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (this.ParentForm.CollectionWeightData[11].IsBypassMode != false)
|
||||||
|
{
|
||||||
|
this.ParentForm.CollectionWeightData[11].IsBypassMode = false;
|
||||||
|
|
||||||
|
before = "ON";
|
||||||
|
after = "OFF";
|
||||||
|
lane = "12";
|
||||||
|
|
||||||
|
// Part11
|
||||||
|
if (this.ParentForm.SystemConfig.IsPart11 == true)
|
||||||
|
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Lane 13
|
||||||
|
if (this.buttonBypassLane13.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
|
||||||
|
{
|
||||||
|
if (this.ParentForm.CollectionWeightData[12].IsBypassMode != true)
|
||||||
|
{
|
||||||
|
this.ParentForm.CollectionWeightData[12].IsBypassMode = true;
|
||||||
|
|
||||||
|
before = "OFF";
|
||||||
|
after = "ON";
|
||||||
|
lane = "13";
|
||||||
|
|
||||||
|
// Part11
|
||||||
|
if (this.ParentForm.SystemConfig.IsPart11 == true)
|
||||||
|
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (this.ParentForm.CollectionWeightData[12].IsBypassMode != false)
|
||||||
|
{
|
||||||
|
this.ParentForm.CollectionWeightData[12].IsBypassMode = false;
|
||||||
|
|
||||||
|
before = "ON";
|
||||||
|
after = "OFF";
|
||||||
|
lane = "13";
|
||||||
|
|
||||||
|
// Part11
|
||||||
|
if (this.ParentForm.SystemConfig.IsPart11 == true)
|
||||||
|
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Lane 14
|
||||||
|
if (this.buttonBypassLane14.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
|
||||||
|
{
|
||||||
|
if (this.ParentForm.CollectionWeightData[13].IsBypassMode != true)
|
||||||
|
{
|
||||||
|
this.ParentForm.CollectionWeightData[13].IsBypassMode = true;
|
||||||
|
|
||||||
|
before = "OFF";
|
||||||
|
after = "ON";
|
||||||
|
lane = "14";
|
||||||
|
|
||||||
|
// Part11
|
||||||
|
if (this.ParentForm.SystemConfig.IsPart11 == true)
|
||||||
|
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (this.ParentForm.CollectionWeightData[13].IsBypassMode != false)
|
||||||
|
{
|
||||||
|
this.ParentForm.CollectionWeightData[13].IsBypassMode = false;
|
||||||
|
|
||||||
|
before = "ON";
|
||||||
|
after = "OFF";
|
||||||
|
lane = "14";
|
||||||
|
|
||||||
|
// Part11
|
||||||
|
if (this.ParentForm.SystemConfig.IsPart11 == true)
|
||||||
|
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Lane 15
|
||||||
|
if (this.buttonBypassLane15.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
|
||||||
|
{
|
||||||
|
if (this.ParentForm.CollectionWeightData[14].IsBypassMode != true)
|
||||||
|
{
|
||||||
|
this.ParentForm.CollectionWeightData[14].IsBypassMode = true;
|
||||||
|
|
||||||
|
before = "OFF";
|
||||||
|
after = "ON";
|
||||||
|
lane = "15";
|
||||||
|
|
||||||
|
// Part11
|
||||||
|
if (this.ParentForm.SystemConfig.IsPart11 == true)
|
||||||
|
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (this.ParentForm.CollectionWeightData[14].IsBypassMode != false)
|
||||||
|
{
|
||||||
|
this.ParentForm.CollectionWeightData[14].IsBypassMode = false;
|
||||||
|
|
||||||
|
before = "ON";
|
||||||
|
after = "OFF";
|
||||||
|
lane = "15";
|
||||||
|
|
||||||
|
// Part11
|
||||||
|
if (this.ParentForm.SystemConfig.IsPart11 == true)
|
||||||
|
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingParameter.BP_Individual, lane, before, after);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
|
||||||
this.ParentForm.SystemConfig.IsBypassMode = false;
|
this.ParentForm.SystemConfig.IsBypassMode = false;
|
||||||
for (int i = 0; i < this.ParentForm.SystemConfig.EquipmentColumns; i++)
|
for (int i = 0; i < this.ParentForm.SystemConfig.EquipmentColumns; i++)
|
||||||
|
|
Loading…
Reference in New Issue