更换热点链接方式
This commit is contained in:
@@ -172,7 +172,7 @@ Assign BOOL isInitHostoryView;
|
||||
temp=[temp stringByReplacingOccurrencesOfString:@"°c" withString:@""];
|
||||
IfishHotBarVo*vo=self.datas[0];
|
||||
self.vo.heaterNum=[NSString stringWithFormat:@"%f",temp.floatValue];
|
||||
vo.title=[NSString stringWithFormat:@"设置温度 %.1f°c",[self.vo.heaterNum floatValue]];
|
||||
vo.subTitle=[NSString stringWithFormat:@"%.1f°c",[self.vo.heaterNum floatValue]];
|
||||
[self.mainTableView reloadData];
|
||||
[self setHeatTeapWith:temp];
|
||||
}
|
||||
@@ -367,6 +367,8 @@ Assign BOOL isInitHostoryView;
|
||||
self.historyView.datas=self.vo.phs;
|
||||
self.historyView.hidden=YES;
|
||||
}
|
||||
|
||||
|
||||
//去除鱼缸容积
|
||||
IfishHotBarVo*vo1=self.datas[4];
|
||||
if (self.vo.heater.heaterCycle.length) {
|
||||
@@ -473,9 +475,13 @@ Assign BOOL isInitHostoryView;
|
||||
self.vo.heaterNum=[NSString stringWithFormat:@"%f",num];
|
||||
|
||||
IfishHotBarVo*vo=self.datas[0];
|
||||
vo.title=[NSString stringWithFormat:@"设置温度 %.1f°c",[self.vo.heaterNum floatValue]];
|
||||
|
||||
vo.subTitle=[NSString stringWithFormat:@"%.1f°c",[self.vo.heaterNum floatValue]];
|
||||
|
||||
//设置预警温度区间
|
||||
IfishHotBarVo*vo1=self.datas[1];
|
||||
if (!IsEmptyStr(self.vo.upTeamp)) {
|
||||
vo1.subTitle = [NSString stringWithFormat:@"%.1f°c到%.1f°c",[self.vo.downTeamp floatValue],[self.vo.upTeamp floatValue]];
|
||||
}
|
||||
self.vo.wornCode=[info substringWithRange:NSMakeRange(44, 2)];
|
||||
// self.vo.wornCode=[NSString stringWithFormat:@"%llu",[dataContorl hexToTen:self.vo.wornCode]];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user