This commit is contained in:
ifish
2017-08-24 11:32:36 +08:00
parent c0c93f9949
commit bce3e594ca
6 changed files with 9 additions and 9 deletions
@@ -1308,14 +1308,14 @@
LXImageWithImageName(@"bootview_light_off"),
LXImageWithImageName(@"bootview_light_off"),
LXImageWithImageName(@"bootview_light_off"),
LXImageWithImageName(@"bootview_heat_on")];
LXImageWithImageName(@"bootview_heat_off")];
self.btnOnImgArr = @[LXImageWithImageName(@"bootview_light_on"),
LXImageWithImageName(@"bootview_light_on"),
LXImageWithImageName(@"bootview_light_on"),
LXImageWithImageName(@"bootview_light_on"),
LXImageWithImageName(@"bootview_light_on"),
LXImageWithImageName(@"bootview_heat_off")];
LXImageWithImageName(@"bootview_heat_on")];
}else if ([self.device.type isEqualToString:DECICE_TYPE_JUNENGCC]){
@@ -387,9 +387,9 @@
//加热棒状态
//加热棒状态 加热还是制冷
//00 加热 01 制冷
//model.heatStickState 加热棒开关状态 非加热制冷状态注意
//model.heatStickState 加热棒开关状态
NSString*stateString=[model.hotCool substringWithRange:NSMakeRange(2, IFISH_LIGHTBTN_BYTE)];
NSString*stateString=[model.heatStickState substringWithRange:NSMakeRange(0, IFISH_LIGHTBTN_BYTE)];
[self btnImgAtIndex:indexPath withStr:stateString addWithOnImg:imgOnArr
addOffArr:imgOffArr];
@@ -428,8 +428,8 @@
[self btnImgAtIndex:indexPath withStr:stateString addWithOnImg:imgOnArr
addOffArr:imgOffArr];
}
else if (index == 4){
}else if (index == 4){
//加热棒状态
NSString*stateString=[model.heatStickState substringWithRange:NSMakeRange(0, IFISH_LIGHTBTN_BYTE)];
[self btnImgAtIndex:indexPath withStr:stateString addWithOnImg:imgOnArr