|
|
@@ -337,10 +337,9 @@ bool isDownType22 = YES;
|
|
|
[self.layer removeFromSuperlayer];
|
|
|
|
|
|
|
|
|
- [webSocketManager shareInstance].isChangeBoxType = YES;
|
|
|
|
|
|
[self showNewIndicatorHaveStrWithCanBack:NO canTouch:NO showText:NSLocalizedString(@"guide_qrcoede_tips_ok",nil)];
|
|
|
- [[connectDeviceManager shareInstance] getThridMsgBySN:resStr needReconnect:YES didNetEnd:^(NSInteger didSuc) {
|
|
|
+ [[connectDeviceManager shareInstance] getThridMsgBySN:resStr needReconnect:NO didNetEnd:^(NSInteger didSuc) {
|
|
|
|
|
|
[self removeNewIndicatorHaveStr];
|
|
|
|
|
|
@@ -367,19 +366,15 @@ bool isDownType22 = YES;
|
|
|
[HWDataManager setBoolWithKey:stringKeyAddSn(Const_file_Transfe_working_background) value:YES];
|
|
|
}
|
|
|
|
|
|
+ [webSocketManager shareInstance].isChangeBoxType = YES;
|
|
|
+ [[webSocketManager shareInstance].commandChannelManager rc_close];
|
|
|
+ [webSocketManager shareInstance].commandChannelManager = nil;
|
|
|
+
|
|
|
//尝试修复偶现扫码切换云机 已经扫码到 要输新SN密码 但是云机显示是旧SN的 延时一秒跳转
|
|
|
- HLog(@"hxdhxdhxdh 111")
|
|
|
-
|
|
|
- HLog(@"hxdhxdhxdh 222")
|
|
|
- //[self.navigationController popToRootViewControllerAnimated:NO];
|
|
|
- [[NSNotificationCenter defaultCenter] postNotificationName:GuideOkNotification object:nil];
|
|
|
-
|
|
|
-// dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
-// HLog(@"hxdhxdhxdh 222")
|
|
|
-// //[self.navigationController popToRootViewControllerAnimated:NO];
|
|
|
-// [[NSNotificationCenter defaultCenter] postNotificationName:GuideOkNotification object:nil];
|
|
|
-// });
|
|
|
-
|
|
|
+ dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
+ [[webSocketManager shareInstance] opencommandChannelManagerrc_openURL];
|
|
|
+ [[NSNotificationCenter defaultCenter] postNotificationName:GuideOkNotification object:nil];
|
|
|
+ });
|
|
|
|
|
|
|
|
|
}else{
|