|
|
@@ -1681,8 +1681,7 @@ NSDate *lastVideoTome;/*上一帧数据时间*/
|
|
|
|
|
|
#pragma mark 获取云机剩余空间
|
|
|
nextVC.getBaseInfo = ^{
|
|
|
- NSString *commondStr = @"{\"type\":\"getBaseInfo\"}";
|
|
|
- [weakSelf send_data:commondStr];
|
|
|
+ [weakSelf getBaseInfoFun];
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -1699,6 +1698,14 @@ NSDate *lastVideoTome;/*上一帧数据时间*/
|
|
|
};
|
|
|
}
|
|
|
|
|
|
+#pragma mark 获取云机剩余空间
|
|
|
+- (void)getBaseInfoFun
|
|
|
+{
|
|
|
+ NSString *commondStr = @"{\"type\":\"getBaseInfo\"}";
|
|
|
+ [self send_data:commondStr];
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
- (void)needToRebootFun
|
|
|
{
|
|
|
NSString *commondStr = @"{\"type\":\"reboot\"}";
|
|
|
@@ -2597,6 +2604,8 @@ BOOL inReconnect = NO;
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(begindownloadThumbnailImageFun:) name:downloadThumbnailBeginNotification object:nil];
|
|
|
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(begindownloadFileFun:) name:downloadFileBeginNotification object:nil];
|
|
|
+
|
|
|
+ [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(getBaseInfoFun) name:getbaseInfoBeginNotification object:nil];
|
|
|
}
|
|
|
|
|
|
- (void)removeNSNotification
|