FwUpdateBuilder: - preset update order and position with production order and position on Cordonel selection
This commit is contained in:
@@ -3779,6 +3779,10 @@ namespace Xylem.ServiceFwUpdate.Ui.FwUpdateBuilder
|
||||
/// one region and one metrology version as only identical Cordonels should be placed to one safe
|
||||
/// according to the one FW-Package policy.
|
||||
/// </remarks>
|
||||
/// <remarks date="2023-Mar-03" author="Thomas Wiedebusch">
|
||||
/// - Preselect order number and position to last production number to simplify update order generation,
|
||||
/// this will cause the update order-pos = production order-pos..
|
||||
/// </remarks>
|
||||
private void gridViewCordonelsSelection_CellClick(Object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
try
|
||||
@@ -3835,6 +3839,16 @@ namespace Xylem.ServiceFwUpdate.Ui.FwUpdateBuilder
|
||||
cordSearch.IsRemoved = false;
|
||||
if (_cordonelProductionPreSelectInfos.All(x => x.PcbId != cordSelect.PcbId))
|
||||
_cordonelProductionPreSelectInfos.Add(cordSearch);
|
||||
// fill text box for update order
|
||||
if (cordSearch.CustomerOrderNumber > 0 )
|
||||
{
|
||||
tbxOrderNumber.Text = cordSearch.CustomerOrderNumber.ToString();
|
||||
}
|
||||
// fill text box for update position
|
||||
if (cordSearch.CustomerOrderPos > 0 )
|
||||
{
|
||||
tbxOrderPosition.Text = cordSearch.CustomerOrderPos.ToString();
|
||||
}
|
||||
// fill search masks for FW package selection
|
||||
if (!string.IsNullOrEmpty(cordSearch.Diameter) &&
|
||||
cordSearch.Diameter != Constants.StrUnknown)
|
||||
|
||||
Reference in New Issue
Block a user