资源文件添加控制器创建
This commit is contained in:
+9
-1
@@ -28,6 +28,7 @@
|
||||
#import "searchDeviceModel.h"
|
||||
#import "PetStoresViewController.h"
|
||||
#import "UIImage+WaterMark.h"
|
||||
#import "XuanduoSettingController.h"
|
||||
|
||||
#define kBtnTag 100
|
||||
|
||||
@@ -1038,7 +1039,14 @@
|
||||
|
||||
#pragma mark -设置页面 -
|
||||
- (void)setting {
|
||||
if (self.dataModel.gasPump.length) {
|
||||
if ([self.currentDevice.type isEqualToString:DECICE_TYPE_XUANDUO4F]||[self.currentDevice.type isEqualToString:DECICE_TYPE_XUANDUO5F])
|
||||
{
|
||||
XuanduoSettingController *_settingVC = [[XuanduoSettingController alloc] init];
|
||||
_settingVC.currentdevice = self.currentDevice;
|
||||
_settingVC.dataModel = self.dataModel;
|
||||
[self.navigationController pushViewController:_settingVC animated:YES];
|
||||
}
|
||||
else if (self.dataModel.gasPump.length) {
|
||||
Xuanduo2SettingController *_settingVC = [[Xuanduo2SettingController alloc] init];
|
||||
_settingVC.currentdevice = self.currentDevice;
|
||||
_settingVC.dataModel = self.dataModel;
|
||||
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// Xuanduo2SettingController.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by Alex on 2019/4/28.
|
||||
// Copyright © 2019 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "FatherController.h"
|
||||
#import "IfishDeviceInfo.h"
|
||||
#include "xuanduo3fModel.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class Xuanduo2Model;
|
||||
|
||||
@interface XuanduoSettingController : FatherController
|
||||
|
||||
@property (nonatomic,strong) UIActivityIndicatorView*indicatorView;
|
||||
@property (nonatomic ,strong) id dataModel;
|
||||
@property(nonatomic,strong) DeviceModel* currentdevice;
|
||||
|
||||
- (void)refreshWithData:(id)model;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
+1611
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user