6.0.12 (aktueller Korrekturstand) + Infos zu NSW 7.0
This commit is contained in:
parent
586a91719d
commit
026cb29c63
@ -18,7 +18,7 @@ namespace ENI2.DetailViewControls
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class ArrivalNotificationDetailControl : DetailBaseControl
|
public partial class ArrivalNotificationDetailControl : DetailBaseControl
|
||||||
{
|
{
|
||||||
|
bool startupComplete = false;
|
||||||
private Message _ataMessage;
|
private Message _ataMessage;
|
||||||
private Message _tiefaMessage;
|
private Message _tiefaMessage;
|
||||||
private Message _pobaMessage;
|
private Message _pobaMessage;
|
||||||
@ -38,7 +38,8 @@ namespace ENI2.DetailViewControls
|
|||||||
this.RegisterIntegerUpDownChange(this.integerUpDownCrewMemberOnBoard, Message.NotificationClass.POBA);
|
this.RegisterIntegerUpDownChange(this.integerUpDownCrewMemberOnBoard, Message.NotificationClass.POBA);
|
||||||
this.RegisterIntegerUpDownChange(this.integerUpDownPassengersOnBoard, Message.NotificationClass.POBA);
|
this.RegisterIntegerUpDownChange(this.integerUpDownPassengersOnBoard, Message.NotificationClass.POBA);
|
||||||
this.RegisterIntegerUpDownChange(this.integerUpDownPersonsOnBoard, Message.NotificationClass.POBA);
|
this.RegisterIntegerUpDownChange(this.integerUpDownPersonsOnBoard, Message.NotificationClass.POBA);
|
||||||
this.RegisterIntegerUpDownChange(this.integerUpDownStowawaysOnBoard, Message.NotificationClass.POBA);
|
this.RegisterIntegerUpDownChange(this.integerUpDownStowawaysOnBoard, Message.NotificationClass.POBA);
|
||||||
|
startupComplete = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
@ -293,7 +294,7 @@ namespace ENI2.DetailViewControls
|
|||||||
|
|
||||||
private void dateTimePickerATA_ValueChanged(object sender, RoutedPropertyChangedEventArgs<object> e)
|
private void dateTimePickerATA_ValueChanged(object sender, RoutedPropertyChangedEventArgs<object> e)
|
||||||
{
|
{
|
||||||
if(this.dateTimePickerATA.Value.HasValue)
|
if(startupComplete && this.dateTimePickerATA.Value.HasValue)
|
||||||
{
|
{
|
||||||
DateTime setTime = this.dateTimePickerATA.Value.Value;
|
DateTime setTime = this.dateTimePickerATA.Value.Value;
|
||||||
if ((setTime > DateTime.Now.AddDays(14)) || (setTime < DateTime.Now.AddDays(-14)))
|
if ((setTime > DateTime.Now.AddDays(14)) || (setTime < DateTime.Now.AddDays(-14)))
|
||||||
|
|||||||
@ -22,7 +22,7 @@ namespace ENI2.DetailViewControls
|
|||||||
private Message _tiefdMessage;
|
private Message _tiefdMessage;
|
||||||
private Message _pobdMessage;
|
private Message _pobdMessage;
|
||||||
private Message _bkrdMessage;
|
private Message _bkrdMessage;
|
||||||
|
bool startupComplete = false;
|
||||||
|
|
||||||
public DepartureNotificationDetailControl()
|
public DepartureNotificationDetailControl()
|
||||||
{
|
{
|
||||||
@ -38,6 +38,7 @@ namespace ENI2.DetailViewControls
|
|||||||
this.RegisterIntegerUpDownChange(this.integerUpDownPassengersOnBoard, Message.NotificationClass.POBD);
|
this.RegisterIntegerUpDownChange(this.integerUpDownPassengersOnBoard, Message.NotificationClass.POBD);
|
||||||
this.RegisterIntegerUpDownChange(this.integerUpDownPersonsOnBoard, Message.NotificationClass.POBD);
|
this.RegisterIntegerUpDownChange(this.integerUpDownPersonsOnBoard, Message.NotificationClass.POBD);
|
||||||
this.RegisterIntegerUpDownChange(this.integerUpDownStowawaysOnBoard, Message.NotificationClass.POBD);
|
this.RegisterIntegerUpDownChange(this.integerUpDownStowawaysOnBoard, Message.NotificationClass.POBD);
|
||||||
|
startupComplete = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
@ -278,7 +279,7 @@ namespace ENI2.DetailViewControls
|
|||||||
|
|
||||||
private void dateTimePickerATD_ValueChanged(object sender, RoutedPropertyChangedEventArgs<object> e)
|
private void dateTimePickerATD_ValueChanged(object sender, RoutedPropertyChangedEventArgs<object> e)
|
||||||
{
|
{
|
||||||
if (this.dateTimePickerATD.Value.HasValue)
|
if (startupComplete && this.dateTimePickerATD.Value.HasValue)
|
||||||
{
|
{
|
||||||
DateTime setTime = this.dateTimePickerATD.Value.Value;
|
DateTime setTime = this.dateTimePickerATD.Value.Value;
|
||||||
if ((setTime > DateTime.Now.AddDays(14)) || (setTime < DateTime.Now.AddDays(-14)))
|
if ((setTime > DateTime.Now.AddDays(14)) || (setTime < DateTime.Now.AddDays(-14)))
|
||||||
|
|||||||
@ -35,7 +35,7 @@
|
|||||||
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
||||||
<WebPage>publish.html</WebPage>
|
<WebPage>publish.html</WebPage>
|
||||||
<ApplicationRevision>0</ApplicationRevision>
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
<ApplicationVersion>6.0.11.%2a</ApplicationVersion>
|
<ApplicationVersion>6.0.12.%2a</ApplicationVersion>
|
||||||
<UseApplicationTrust>false</UseApplicationTrust>
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
||||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||||
|
|||||||
Binary file not shown.
BIN
nsw/7.0/Agenda.pdf
Normal file
BIN
nsw/7.0/Agenda.pdf
Normal file
Binary file not shown.
BIN
nsw/7.0/Auszug aus Richtlinie 2019-883.pdf
Normal file
BIN
nsw/7.0/Auszug aus Richtlinie 2019-883.pdf
Normal file
Binary file not shown.
BIN
nsw/7.0/Folienvortrag Datenqualität Februar 2021.pdf
Normal file
BIN
nsw/7.0/Folienvortrag Datenqualität Februar 2021.pdf
Normal file
Binary file not shown.
BIN
nsw/7.0/Folienvortrag NSW API 7.0 Update.pdf
Normal file
BIN
nsw/7.0/Folienvortrag NSW API 7.0 Update.pdf
Normal file
Binary file not shown.
BIN
nsw/7.0/Folienvortrag NSW Betriebs-Aspekte.pdf
Normal file
BIN
nsw/7.0/Folienvortrag NSW Betriebs-Aspekte.pdf
Normal file
Binary file not shown.
BIN
nsw/7.0/Folienvortrag Zertifikats-Management.pdf
Normal file
BIN
nsw/7.0/Folienvortrag Zertifikats-Management.pdf
Normal file
Binary file not shown.
@ -473,8 +473,19 @@ namespace bsmd.database
|
|||||||
sb.AppendFormat(" FROM {0} ", this.Tablename);
|
sb.AppendFormat(" FROM {0} ", this.Tablename);
|
||||||
|
|
||||||
this.SetFilters(sb, cmd, filter, criteria);
|
this.SetFilters(sb, cmd, filter, criteria);
|
||||||
|
bool latestIdSearch = false;
|
||||||
|
if(filter == Message.LoadFilter.SEARCH_CORE_FILTERS)
|
||||||
|
{
|
||||||
|
latestIdSearch = (criteria[0] is Dictionary<SearchFilterType, string> searchDict && searchDict.ContainsKey(SearchFilterType.FILTER_LATESTIDS));
|
||||||
|
}
|
||||||
|
|
||||||
sb.Append(" ORDER BY COALESCE(ETA, ETAKielCanal) DESC");
|
if (latestIdSearch)
|
||||||
|
{
|
||||||
|
sb.AppendFormat(" ORDER BY [{0}].Changed DESC", this.Tablename);
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
sb.Append(" ORDER BY COALESCE(ETA, ETAKielCanal) DESC");
|
||||||
|
}
|
||||||
|
|
||||||
cmd.CommandText = sb.ToString();
|
cmd.CommandText = sb.ToString();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
[assembly: AssemblyCompany("schick Informatik")]
|
[assembly: AssemblyCompany("schick Informatik")]
|
||||||
[assembly: AssemblyProduct("BSMD NSW interface")]
|
[assembly: AssemblyProduct("BSMD NSW interface")]
|
||||||
[assembly: AssemblyInformationalVersion("6.0.11")]
|
[assembly: AssemblyInformationalVersion("6.0.12")]
|
||||||
[assembly: AssemblyCopyright("Copyright © 2014-2021 schick Informatik")]
|
[assembly: AssemblyCopyright("Copyright © 2014-2021 schick Informatik")]
|
||||||
[assembly: AssemblyTrademark("")]
|
[assembly: AssemblyTrademark("")]
|
||||||
@ -1,4 +1,4 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
[assembly: AssemblyVersion("6.0.11.*")]
|
[assembly: AssemblyVersion("6.0.12.*")]
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user