水族箱温度范围调整,闪退修复,曲线图背景修改
This commit is contained in:
@@ -190,7 +190,7 @@ Strong UIImageView *sepImage;
|
||||
-(NSMutableArray *)timeArr{
|
||||
if (_timeArr==nil) {
|
||||
_timeArr=[NSMutableArray array];
|
||||
for (int i=5; i<25; i++) {
|
||||
for (int i=1; i<25; i++) {
|
||||
NSString*day=[NSString stringWithFormat:@"%d:00",i];
|
||||
[_timeArr addObject:day];
|
||||
}
|
||||
@@ -212,7 +212,7 @@ Strong UIImageView *sepImage;
|
||||
-(NSMutableArray*)templetrueArr{
|
||||
if (_templetrueArr==nil) {
|
||||
_templetrueArr=[NSMutableArray array];
|
||||
for (int i=20; i<41; i++) {
|
||||
for (int i=20; i<36; i++) {
|
||||
NSString*temp=[NSString stringWithFormat:@"%d°c",i];
|
||||
[_templetrueArr addObject:temp];
|
||||
}
|
||||
@@ -341,7 +341,14 @@ Strong UIImageView *sepImage;
|
||||
|
||||
//返回多少行
|
||||
- (NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSInteger)component{
|
||||
return self.data1.count;
|
||||
if (pickerView==self.topUiPick) {
|
||||
return self.data1.count;
|
||||
}else{
|
||||
if(component==0){
|
||||
return self.data1.count;
|
||||
}
|
||||
return self.data2.count;
|
||||
}
|
||||
}
|
||||
|
||||
//每一行的数据
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#define Normal_heaterPh 499 //只有499才是正常流量
|
||||
#define Rect_Width kSizeFrom750(599)
|
||||
#define Origin_Left kSizeFrom750(59)
|
||||
#define Origin_Left kSizeFrom750(67)
|
||||
#define Rect_Height kSizeFrom750(420)
|
||||
#define Zero_Y kSizeFrom750(526)
|
||||
@interface IfishChatView()
|
||||
|
||||
Reference in New Issue
Block a user