Ejemplo n.º 1
0
        private void NavigatorUserControl_StopCommunicationExecute(object o)
        {
            InvokeControllerCom iCC = InvokeControllerCom.Instance;

            iCC.StopCommunication();
            if (!iCC.GetPortStatus()) //打开成功时才置可用状态
            {
                _blnNavigationStartCommunicationCommandCanExecute = true;
                _blnNavigationStopCommunicationCommandCanExecute  = false;
            }
        }
Ejemplo n.º 2
0
        private void NaviagtorUserControl_StopControllerButtonClick(object sender, RoutedEventArgs e)
        {
            InvokeControllerCom iCC = InvokeControllerCom.Instance;

            iCC.StopCommunication();
        }