Exemple #1
0
        private void initialize()
        {
            try {
                m_torIsData = (TorISData)System.Runtime.InteropServices.Marshal.GetActiveObject("TorIS.TorISData");
            } catch (Exception e) {
                try {
                    m_torIsData = new TorISData();
                } catch { }
            }

            lockAdvisedItems = new object();
        }
        private void stop()
        {
            try
            {
                m_torIsData.ItemNewValue -= torIsData_ItemNewValue;
                m_torIsData.ChangeStatus -= torIsData_ChangeStatus;

                m_torIsData.Disconnect();

                m_torIsData = null;
            }
            catch (Exception e)
            {
                Logging.Logg().Exception(e,Logging.INDEX_MESSAGE.NOT_SET,@"SrcMSTKKSNAMEtoris::stop () - ...");
            }
        }
Exemple #3
0
        public new void Stop()
        {
            try
            {
                m_torIsData.ItemNewValue -= torIsData_ItemNewValue;
                m_torIsData.ChangeStatus -= torIsData_ChangeStatus;

                m_torIsData.Disconnect();

                m_torIsData = null;
            }
            catch (Exception e)
            {
                Logging.Logg().Exception(e,@"SrcMSTKKSNAMEtoris::Stop () - ...",Logging.INDEX_MESSAGE.NOT_SET);
            }

            ((HHandler)this).Stop();
        }
        public new void Stop()
        {
            try
            {
                m_torIsData.ItemNewValue -= new _ITorISDataEvents_ItemNewValueEventHandler(torIsData_ItemNewValue);
                //m_torIsData.ChangeAttributeValue -= new _ITorISDataEvents_ChangeAttributeValueEventHandler (torIsData_ChangeAttributeValue);
                m_torIsData.ChangeStatus -= new _ITorISDataEvents_ChangeStatusEventHandler(torIsData_ChangeStatus);

                m_torIsData.Disconnect();

                m_torIsData = null;
            }
            catch (Exception e)
            {
                Logging.Logg().Exception(e,@"SrcMSTKKSNAMEtoris::Stop () - ...",Logging.INDEX_MESSAGE.NOT_SET);
            }

            ((HHandler)this).Stop();
        }
Exemple #5
0
        private void initialize()
        {
            m_torIsData = new TorISData();

            lockAdvisedItems = new object();
        }