diff --git a/Ifish/controllers/FishTinkController/maincontroller/CenterontrolControllers/XuTo/XuanduoTempratueCorrectViewController.m b/Ifish/controllers/FishTinkController/maincontroller/CenterontrolControllers/XuTo/XuanduoTempratueCorrectViewController.m index 197dee2..7109768 100644 --- a/Ifish/controllers/FishTinkController/maincontroller/CenterontrolControllers/XuTo/XuanduoTempratueCorrectViewController.m +++ b/Ifish/controllers/FishTinkController/maincontroller/CenterontrolControllers/XuTo/XuanduoTempratueCorrectViewController.m @@ -29,6 +29,7 @@ #import "XuToControlName.h" #import "UserExtendataArchaver.h" #import "TimerTypeTableViewCell.h" +#import "XuanduoTempratureCorrectView.h" #define kBtnTag 500 #define kSwitchBtnTag 600 @@ -163,9 +164,15 @@ static NSString *timerTypeFlag = @"TimerTypeTableViewCell"; [self.tableView registerNib:[UINib nibWithNibName:addCellid bundle:nil] forCellReuseIdentifier:addCellid]; //[self.tableView registerNib:[UINib nibWithNibName:timerTypeFlag bundle:nil] forCellReuseIdentifier:timerTypeFlag]; [self.tableView registerNib:[UINib nibWithNibName:setTimerflag bundle:nil] forCellReuseIdentifier:setTimerflag]; + XuanduoTempratureCorrectView*tempView=[XuanduoTempratureCorrectView viewFromXib]; + tempView.frame=CGRectMake(10, 10, 300, 200); + tempView.centerX=self.view.centerX; + [self.view addSubview:tempView]; + + } --(void)clickCell:(TimerTypeTableViewCell *)cell button:(UIButton *)button timerType:(NSInteger *)type +-(void)clickCell:(TimerTypeTableViewCell *)cell button:(UIButton *)button timerType:(NSInteger )type { XuanduoTimerSettingViewController *_settingVC = [[XuanduoTimerSettingViewController alloc] init]; _settingVC.currentdevice = self.currentdevice; diff --git a/Ifish/controllers/FishTinkController/maincontroller/CenterontrolControllers/XuTo/XuanduoTempratureCorrectView.xib b/Ifish/controllers/FishTinkController/maincontroller/CenterontrolControllers/XuTo/XuanduoTempratureCorrectView.xib index b3921d8..f658e6f 100644 --- a/Ifish/controllers/FishTinkController/maincontroller/CenterontrolControllers/XuTo/XuanduoTempratureCorrectView.xib +++ b/Ifish/controllers/FishTinkController/maincontroller/CenterontrolControllers/XuTo/XuanduoTempratureCorrectView.xib @@ -5,24 +5,91 @@ - - + + + + + + + + - + + + + + + + + + + + + + + + + + + + + - + - - - - -