Example #1
0
        public ProcessprFingerEvents(StationEnvironment Environment)
        {
            m_EventQueue = new Queue <ProcessFingerEvent>();



            m_Environment       = Environment;
            m_Connector_SEN0188 = m_Environment.SensorConnector;

            m_ConfigProcessItems = m_Environment.ConfigProcessItems;

            m_GPIOEnvironmentConnectors = m_Environment.GPIOEnvironmentConnectors;

            m_SEN0188SQLite = m_Environment.SEN0188SQLite;

            m_FingertEventDatabase = m_Environment.FingertEventDatabase;

            m_Connector_SEN0188.NotifyChangeState += Connector_SEN0188_NotifyChangeState;

            for (int i = 0; i < m_GPIOEnvironmentConnectors.EnvironmentConnectors.Count; i++)
            {
                GPIOEnvironmentConnector con = m_GPIOEnvironmentConnectors.EnvironmentConnectors[i];
                if (con.GPIOConnectorEnable)
                {
                    con.GPIOConnector.ChangeGPIOs += GPIOConnector_ChangeGPIOs;
                }
            }

            m_SensorID = "";
        }
        public ProcessorGPIOEvents(StationEnvironment Environment)
        {
            m_EventQueue = new Queue <ProcessGPIOEvents>();


            m_Environment       = Environment;
            m_Connector_SEN0188 = m_Environment.SensorConnector;

            m_ConfigProcessItems = m_Environment.ConfigProcessItems;

            m_GPIOEnvironmentConnectors = m_Environment.GPIOEnvironmentConnectors;

            m_SEN0188SQLite = m_Environment.SEN0188SQLite;

            m_FingertEventDatabase = m_Environment.FingertEventDatabase;

            m_SensorID = "";
            //     m_SensorInitialized = false;
            m_ProcessGPIOEvents = new List <ProcessGPIOEvents>();
        }