Test PO Service ENI
This commit is contained in:
parent
eaa45d813a
commit
07d4101bfe
@ -130,6 +130,7 @@ namespace ENI2.Controls
|
||||
{
|
||||
editedCore.SetFlag(true, coreFlag);
|
||||
}
|
||||
buttonSaveChanges.IsEnabled = true;
|
||||
editedCore.IsDirty = true;
|
||||
}
|
||||
}
|
||||
@ -141,6 +142,7 @@ namespace ENI2.Controls
|
||||
|
||||
private void PerformSearch()
|
||||
{
|
||||
this.dataGridPOCores.ItemsSource = null;
|
||||
this.filteredResult.Clear();
|
||||
|
||||
if (!this.doubleUpDownCalendarWeek.Value.HasValue) return;
|
||||
@ -163,7 +165,7 @@ namespace ENI2.Controls
|
||||
|
||||
this.dataGridPOCores.SelectedItem = null;
|
||||
this.filteredResult.AddRange(searchResult);
|
||||
|
||||
this.dataGridPOCores.ItemsSource = this.filteredResult;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -3,9 +3,12 @@
|
||||
// Description: Detailansicht Gruppe Port Notification
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
|
||||
using ENI2.EditControls;
|
||||
using ENI2.Util;
|
||||
|
||||
@ -366,11 +369,13 @@ namespace ENI2.DetailViewControls
|
||||
this.Core.SetFlag(false, MessageCore.CoreFlags.MAERSK_BHV);
|
||||
this.Core.SetFlag(false, MessageCore.CoreFlags.SEAGO_BHV);
|
||||
this.Core.SetFlag(false, MessageCore.CoreFlags.SEAGO_WHV);
|
||||
if((int) this.comboBoxGroup.SelectedValue != 0)
|
||||
|
||||
DictionaryEntry selectedItem = (DictionaryEntry) this.comboBoxGroup.SelectedItem;
|
||||
if(Int32.TryParse((string)selectedItem.Value, out int selectedValue))
|
||||
{
|
||||
this.Core.SetFlag(true, (MessageCore.CoreFlags)this.comboBoxGroup.SelectedValue);
|
||||
}
|
||||
DBManager.Instance.Save(this.Core);
|
||||
this.Core.SetFlag(true, (MessageCore.CoreFlags)selectedValue);
|
||||
DBManager.Instance.Save(this.Core);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user