protected override void OnNavigatedTo(Windows.UI.Xaml.Navigation.NavigationEventArgs e)
        {
            if (e.Parameter is FingerSensorsApp.App)
            {
                FingerSensorsApp.App AppEnvironment = e.Parameter as FingerSensorsApp.App;


                if (AppEnvironment != null)
                {
                    m_Environment               = AppEnvironment.Environment;
                    m_Connector_SEN0188         = m_Environment.SensorConnector;
                    m_Sensoroutputconfigoptions = m_Environment.SensorOutPutServiceConnectorConfig;
                    m_Sensorinputconfigoptions  = m_Environment.SensorInputServiceConnectorConfig;
                    m_SettingsToStorage         = AppEnvironment.SettingsToStorage;

                    m_FingertEventDatabase      = m_Environment.FingertEventDatabase;
                    m_SEN0188SQLite             = m_Environment.SEN0188SQLite;
                    m_GPIOEnvironmentConnectors = m_Environment.GPIOEnvironmentConnectors;



                    m_Environment.StopConnectors();
                }
            }
            base.OnNavigatedTo(e);
        }
예제 #2
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            if (e.Parameter is FillingLevelApp.App)
            {
                FillingLevelApp.App AppEnvironment = e.Parameter as FillingLevelApp.App;

                if (AppEnvironment != null)
                {
                    m_Environment = AppEnvironment.Environment;

                    if (m_Environment != null)
                    {
                        m_SettingsToStorage = AppEnvironment.SettingsToStorage;

                        this.m_SocketStationListeners = m_Environment.StationSocketListeners;
                        // für alle Listeners Processing stoppen
                        this.m_SocketStationListeners.DeInitialization();

                        if (m_SocketStationListeners.SelectedIndex == -1)
                        {
                            m_SocketStationListeners.SelectedIndex = 0;
                        }
                    }
                }
            }

            base.OnNavigatedTo(e);
        }
예제 #3
0
        public ListenerConfiguration()
        {
            m_SocketStationListeners = null;
            m_Environment            = null;
            m_SettingsToStorage      = null;

            this.InitializeComponent();
        }
예제 #4
0
        public App()
        {
            InitializeComponent();

            m_Environment = new StationEnvironment();
            m_Environment.GetDataAsync();
            // Deferred execution until used. Check https://msdn.microsoft.com/library/dd642331(v=vs.110).aspx for further info on Lazy<T> class.
            _activationService  = new Lazy <ActivationService>(CreateActivationService);
            m_SettingsToStorage = new SettingsToStorage(this);
            this.Suspending    += App_Suspending;
        }
예제 #5
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            if (e.Parameter is FillingLevelApp.App)
            {
                FillingLevelApp.App AppEnvironment = e.Parameter as FillingLevelApp.App;

                if (AppEnvironment != null)
                {
                    m_eMailing          = AppEnvironment.eMailing;
                    m_SettingsToStorage = AppEnvironment.SettingsToStorage;
                    if (m_eMailing != null)
                    {
                    }
                }
            }

            base.OnNavigatedTo(e);
        }
예제 #6
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            if (e.Parameter is GPIODashboard.App)
            {
                GPIODashboard.App AppEnvironment = e.Parameter as GPIODashboard.App;

                if (AppEnvironment != null)
                {
                    m_Environment = AppEnvironment.Environment;

                    if (m_Environment != null)
                    {
                        m_SettingsToStorage = AppEnvironment.SettingsToStorage;
                    }
                }
            }

            base.OnNavigatedTo(e);
        }
 public Configuration()
 {
     this.InitializeComponent();
     m_Connector_SEN0188         = null;
     m_FingertEventDatabase      = null;
     m_SEN0188SQLite             = null;
     m_Environment               = null;
     m_listOfDevices             = new ObservableCollection <FingerPrintSensor_SEN0188.SerDevice>();
     m_Sensoroutputconfigoptions = null;
     m_Sensorinputconfigoptions  = null;
     //   m_serDev = null;
     m_SettingsToStorage = null;
     m_OutPuts           = null;
     m_Inputs            = null;
     // m_Banks = null;
     m_GPIOEnvironmentConnectors = null;
     ListAvailablePorts();
     m_AccessBitsCollection = DBDataSetAccessRight.getAccessBitsCollection();
 }
예제 #8
0
        public App()
        {
            InitializeComponent();

            m_Environment = new StationEnvironment();

            m_eMailing = new EmailSupport.eMailing();



            m_displayRequest    = new Windows.System.Display.DisplayRequest();
            m_displayRequestCnt = 0;
            // Deferred execution until used. Check https://msdn.microsoft.com/library/dd642331(v=vs.110).aspx for further info on Lazy<T> class.
            _activationService = new Lazy <ActivationService>(CreateActivationService);

            m_SettingsToStorage = new SettingsToStorage(this);



            this.Suspending += App_Suspending;
        }
예제 #9
0
 public EnvironmentConfig()
 {
     this.InitializeComponent();
     m_Environment       = null;
     m_SettingsToStorage = null;
 }
예제 #10
0
 public eMailConfigPage()
 {
     m_SettingsToStorage = null;
     m_eMailing          = null;
     this.InitializeComponent();
 }