Templates für WasteDisposalServiceProvider Part II
This commit is contained in:
parent
ab2dde2f72
commit
a36d0dd048
@ -72,7 +72,7 @@ namespace ENI2.DetailViewControls
|
|||||||
this.buttonDeleteTemplate.IsEnabled = DBManager.Instance.GetReportingPartyDict()[App.UserId.Value].IsEditor;
|
this.buttonDeleteTemplate.IsEnabled = DBManager.Instance.GetReportingPartyDict()[App.UserId.Value].IsEditor;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Initialize()
|
public async override void Initialize()
|
||||||
{
|
{
|
||||||
base.Initialize();
|
base.Initialize();
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ namespace ENI2.DetailViewControls
|
|||||||
|
|
||||||
if(_agntTemplates == null)
|
if(_agntTemplates == null)
|
||||||
{
|
{
|
||||||
_agntTemplates = DBManager.Instance.GetAGNTTemplates(); // inital full load
|
_agntTemplates = await DBManagerAsync.GetAGNTTemplatesAsync(); // inital full load
|
||||||
_agntTemplates.Sort();
|
_agntTemplates.Sort();
|
||||||
Trace.WriteLine(string.Format("{0} agent templates loaded", _agntTemplates.Count));
|
Trace.WriteLine(string.Format("{0} agent templates loaded", _agntTemplates.Count));
|
||||||
}
|
}
|
||||||
|
|||||||
@ -27,6 +27,10 @@ namespace ENI2.DetailViewControls
|
|||||||
private Message _wasRcptMessage;
|
private Message _wasRcptMessage;
|
||||||
private WAS_RCPT _selectedWAS_RCPT;
|
private WAS_RCPT _selectedWAS_RCPT;
|
||||||
|
|
||||||
|
private static List<WasteDisposalServiceProvider_Template> _wsdpTemplates = null;
|
||||||
|
private WasteDisposalServiceProvider_Template _currentTemplate;
|
||||||
|
private WasteDisposalServiceProvider_Template _undoTemplate;
|
||||||
|
|
||||||
private static readonly string[] _wasteDeliveryList =
|
private static readonly string[] _wasteDeliveryList =
|
||||||
{
|
{
|
||||||
"ALL",
|
"ALL",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user