예제 #1
0
        public override void Close()
        {
            VerifyResult(_cco.Close());

            _cco.DataEvent           -= (_IOPOSElectronicValueRWEvents_DataEventEventHandler)_cco_DataEvent;
            _cco.DirectIOEvent       -= (_IOPOSElectronicValueRWEvents_DirectIOEventEventHandler)_cco_DirectIOEvent;
            _cco.ErrorEvent          -= (_IOPOSElectronicValueRWEvents_ErrorEventEventHandler)_cco_ErrorEvent;
            _cco.OutputCompleteEvent -= (_IOPOSElectronicValueRWEvents_OutputCompleteEventEventHandler)_cco_OutputCompleteEvent;
            _cco.StatusUpdateEvent   -= (_IOPOSElectronicValueRWEvents_StatusUpdateEventEventHandler)_cco_StatusUpdateEvent;
            _cco.TransitionEvent     -= (_IOPOSElectronicValueRWEvents_TransitionEventEventHandler)_cco_TransitionEvent;
            _cco = null;
        }