Esempio n. 1
0
        static public bool HinraicenGlaicwertigFürFortsaz(
            SictNaacNuzerMeldungZuEveOnlineCause O0,
            SictNaacNuzerMeldungZuEveOnlineCause O1)
        {
            if (object.ReferenceEquals(O0, O1))
            {
                return(true);
            }

            if (null == O0 || null == O1)
            {
                return(true);
            }

            return
                (O0.CauseBinary == O1.CauseBinary &&

                 string.Equals(O0.CauseText, O1.CauseText) &&

                 string.Equals(O0.WindowBlockingTitel, O1.WindowBlockingTitel) &&

                 string.Equals(O0.WindowArrangementWindowStackTitel, O1.WindowArrangementWindowStackTitel) &&
                 string.Equals(O0.WindowArrangementWindowClippedTitel, O1.WindowArrangementWindowClippedTitel) &&

                 string.Equals(O0.FittingManagementMissingFitting, O1.FittingManagementMissingFitting) &&

                 string.Equals(O0.PreferencesOverviewMissingTypeGroup, O1.PreferencesOverviewMissingTypeGroup) &&

                 string.Equals(O0.OverviewMissingPreset, O1.OverviewMissingPreset) &&
                 string.Equals(O0.OverviewMissingTab, O1.OverviewMissingTab) &&

                 object.Equals(O0.ShipCargoMissingTyp, O1.ShipCargoMissingTyp));
        }
Esempio n. 2
0
 static public SictNaacNuzerMeldungZuEveOnline ErrorGenerel(
     Int64 Ident,
     SictNaacNuzerMeldungZuEveOnlineCause GeneralCause)
 {
     return(new SictNaacNuzerMeldungZuEveOnline(
                Ident,
                Severity: SictNaacNuzerMeldungZuEveOnlineSeverity.Error,
                GeneralCause: GeneralCause));
 }
Esempio n. 3
0
        static public bool HinraicenGlaicwertigFürFortsaz(
            SictNaacNuzerMeldungZuEveOnline O0,
            SictNaacNuzerMeldungZuEveOnline O1)
        {
            if (object.ReferenceEquals(O0, O1))
            {
                return(true);
            }

            if (null == O0 || null == O1)
            {
                return(true);
            }

            return
                (O0.Severity == O1.Severity &&
                 SictNaacNuzerMeldungZuEveOnlineCause.HinraicenGlaicwertigFürFortsaz(O0.GeneralCause, O1.GeneralCause) &&

                 SictNaacNuzerMeldungZuEveOnlineCause.HinraicenGlaicwertigFürFortsaz(O0.UndockPreventedCause, O1.UndockPreventedCause) &&
                 SictNaacNuzerMeldungZuEveOnlineCause.HinraicenGlaicwertigFürFortsaz(O0.DockForcedCause, O1.DockForcedCause));
        }
Esempio n. 4
0
        public SictNaacNuzerMeldungZuEveOnline(
            Int64 Ident,
            Int64?BeginZait = null,
            OrtogoonInt AktiivLezteInWindowClientFläce                = default(OrtogoonInt),
            SictNaacNuzerMeldungZuEveOnlineSeverity?Severity          = null,
            SictNaacNuzerMeldungZuEveOnlineCause GeneralCause         = null,
            SictNaacNuzerMeldungZuEveOnlineCause UndockPreventedCause = null,
            SictNaacNuzerMeldungZuEveOnlineCause DockForcedCause      = null)
        {
            this.Ident = Ident;

            this.BeginZait       = BeginZait;
            this.AktiivLezteZait = BeginZait;

            this.AktiivLezteInWindowClientFläce = AktiivLezteInWindowClientFläce;

            this.Severity = Severity;

            this.GeneralCause = GeneralCause;

            this.UndockPreventedCause = UndockPreventedCause;
            this.DockForcedCause      = DockForcedCause;
        }
Esempio n. 5
0
        static public string CauseSictStringBerecne(
            SictNaacNuzerMeldungZuEveOnlineCause Ursace)
        {
            if (null == Ursace)
            {
                return(null);
            }

            var CauseText           = Ursace.CauseText;
            var WindowBlockingTitel = Ursace.WindowBlockingTitel;

            var WindowArrangementWindowStackTitel = Ursace.WindowArrangementWindowStackTitel;

            var FittingManagementMissingFitting     = Ursace.FittingManagementMissingFitting;
            var PreferencesOverviewMissingTypeGroup = Ursace.PreferencesOverviewMissingTypeGroup;

            var OverviewMissingPreset = Ursace.OverviewMissingPreset;
            var OverviewMissingTab    = Ursace.OverviewMissingTab;

            var ShipCargoMissingTyp = Ursace.ShipCargoMissingTyp;

            var CauseBinary = Ursace.CauseBinary;

            if (null != WindowBlockingTitel)
            {
                return("blocked by Window[\"" + WindowBlockingTitel + "\"]");
            }

            if (null != WindowArrangementWindowStackTitel)
            {
                return("WindowStack[\"" + WindowArrangementWindowStackTitel + "\"] detected, please decompose Window Stack");
            }

            if (null != FittingManagementMissingFitting)
            {
                return("missing Fitting Entry[\"" + FittingManagementMissingFitting + "\"]");
            }

            if (null != PreferencesOverviewMissingTypeGroup)
            {
                return("Preferences.Overview missing Overview Type Group[\"" + PreferencesOverviewMissingTypeGroup + "\"]");
            }

            if (null != OverviewMissingPreset)
            {
                return("Overview missing Preset[\"" + OverviewMissingPreset + "\"]");
            }

            if (null != OverviewMissingTab)
            {
                return("Overview missing Tab[\"" + OverviewMissingTab + "\"]");
            }

            if (ShipCargoMissingTyp.HasValue)
            {
                return("Ship Cargo Type[\"" + ShipCargoMissingTyp.ToString() + "\"] missing");
            }

            if (CauseBinary.HasValue)
            {
                return(SictNaacNuzerMeldungZuEveOnlineCause.CauseTypeStringBerecne(CauseBinary));
            }

            return(CauseText);
        }