예제 #1
0
 public void ResetUik(ResetSoftReason reason)
 {
     SynchronizationEnabled = false;
     if (IsRemoteScannerConnected)
     {
         EnablePing(false);
         RemoteScanner.ResetSoft(reason, true, true);
     }
     ((IScannerInteractionChannel)this).ResetSoft(reason, false, true);
 }
예제 #2
0
 public void ResetSoft(ResetSoftReason reason, bool isRemoteScannerInitiator, bool needRestartApp)
 {
     SafeCall <object>(
         () =>
     {
         _interactionChannel.ResetSoft(reason, isRemoteScannerInitiator, needRestartApp);
         return(null);
     },
         _commonCallProperties,
         null);
 }
예제 #3
0
        void IScannerInteractionChannel.ResetSoft(
            ResetSoftReason reason, bool isRemoteScannerInitiator, bool needRestartApp)
        {
            var resetSoftParams = new ResetSoftParams(reason, isRemoteScannerInitiator, needRestartApp);

            if (isRemoteScannerInitiator)
            {
                ThreadUtils.StartBackgroundThread(ResetSoftInternal, resetSoftParams);
            }
            else
            {
                ResetSoftInternal(resetSoftParams);
            }
        }
예제 #4
0
 public void ResetSoft(ResetSoftReason reason, bool isRemoteScannerInitiator, bool needRestartApp)
 {
     _localScannerChannel.ResetSoft(reason, isRemoteScannerInitiator, needRestartApp);
 }
예제 #5
0
 public void ResetUik(ResetSoftReason reason)
 {
     SynchronizationEnabled = false;
     if (IsRemoteScannerConnected)
     {
         EnablePing(false);
         RemoteScanner.ResetSoft(reason, true, true);
     }
     ((IScannerInteractionChannel)this).ResetSoft(reason, false, true);
 }
예제 #6
0
 void IScannerInteractionChannel.ResetSoft( 
     ResetSoftReason reason, bool isRemoteScannerInitiator, bool needRestartApp)
 {
     var resetSoftParams = new ResetSoftParams(reason, isRemoteScannerInitiator, needRestartApp);
     if (isRemoteScannerInitiator)
         ThreadUtils.StartBackgroundThread(ResetSoftInternal, resetSoftParams);
     else
         ResetSoftInternal(resetSoftParams);
 }
예제 #7
0
 public ResetSoftParams(ResetSoftReason reason, bool isRemoteScannerInitiator, bool needRestartApp)
 {
     Reason = reason;
     IsRemoteScannerInitiator = isRemoteScannerInitiator;
     NeedRestartApp = needRestartApp;
 }
예제 #8
0
 public void ResetSoft(ResetSoftReason reason, bool isRemoteScannerInitiator, bool needRestartApp)
 {
     _localScannerChannel.ResetSoft(reason, isRemoteScannerInitiator, needRestartApp);
 }
예제 #9
0
 public ResetSoftParams(ResetSoftReason reason, bool isRemoteScannerInitiator, bool needRestartApp)
 {
     Reason = reason;
     IsRemoteScannerInitiator = isRemoteScannerInitiator;
     NeedRestartApp           = needRestartApp;
 }