67 lines
2.1 KiB
Objective-C
67 lines
2.1 KiB
Objective-C
//
|
|
// SongNuoBackMsgDataUnity.h
|
|
// Ifish
|
|
//
|
|
// Created by imac on 16/6/6.
|
|
// Copyright © 2016年 imac. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "SongNuoBackMassage.h"
|
|
#import "SongNuoBDProtocol.h"
|
|
@interface SongNuoBackMsgDataUnity : NSObject
|
|
|
|
/**
|
|
* 松诺 bb 或 bc 128 字节
|
|
*/
|
|
+(void)readSoketDataWithBaackMassgModel:(SongNuoBackMassage*)model
|
|
addWithBackData:(NSData*)data;
|
|
|
|
+(void)setTemperaturelabel:(UILabel*)temperaturelabel
|
|
addbubleImge:(UIImageView*)bubleImg
|
|
WithBackData:(NSData*)data
|
|
addWithBackMassageModel:(SongNuoBackMassage*)backModel
|
|
addWithTableview:(UITableView*)tableview;
|
|
|
|
|
|
|
|
+(void)resetSongNuoButtonState:(UIButton*)light1
|
|
addlight2:(UIButton*)light2
|
|
addWaterPump:(UIButton*)waterPump
|
|
addAir:(UIButton*)airPump
|
|
addUV:(UIButton*)uvBtn
|
|
addWave:(UIButton*)waveBtn
|
|
addBeiYong:(UIButton*)beiyongBtn
|
|
addJiaRe:(UIButton*)JiaReBtn
|
|
withBackModel:(SongNuoBackMassage*)backModel;
|
|
|
|
+(NSArray*)refreshSongNuoTimerAddTemperatureWithBackMassageModel:(SongNuoBackMassage*)backModel;
|
|
|
|
|
|
/**
|
|
* 松诺 bd 86 字节
|
|
*/
|
|
+(void)readSoketBDProtocolMassgModel:(SongNuoBDProtocol*)model
|
|
addWithBackData:(NSData*)data;
|
|
|
|
+(void)setBD86Templabel:(UILabel*)temperaturelabel
|
|
addbubleImge:(UIImageView*)bubleImg
|
|
WithBackData:(NSData*)data
|
|
addWithProtocol:(SongNuoBDProtocol*)backModel
|
|
addWithTableview:(UITableView*)tableview;
|
|
|
|
|
|
|
|
+(void)resetSongNuoBD86ButtonState:(UIButton*)light1
|
|
addlight2:(UIButton*)light2
|
|
addWaterPump:(UIButton*)waterPump
|
|
addAir:(UIButton*)airPump
|
|
guiDeng:(UIButton*)guiD
|
|
addJiaRe:(UIButton*)JiaReBtn
|
|
withProtocol:(SongNuoBDProtocol*)backModel;
|
|
|
|
+(NSArray*)refreshSongNuoBD86TimerAddTempWithBackMassageModel:(SongNuoBDProtocol*)backModel;
|
|
|
|
|
|
@end
|