细节微调;
This commit is contained in:
parent
330928c09f
commit
37b3ce32d5
|
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
#import "RestartViewController.h"
|
#import "RestartViewController.h"
|
||||||
#import "IFishHotpotUDPHelper.h"
|
#import "IFishHotpotUDPHelper.h"
|
||||||
|
#import "ConnectHotspotTipViewController.h"
|
||||||
|
|
||||||
@interface RestartViewController ()<IFishHotpotUDPHelperDelegate>
|
@interface RestartViewController ()<IFishHotpotUDPHelperDelegate>
|
||||||
|
|
||||||
|
|
@ -24,6 +25,10 @@
|
||||||
[IFishHotpotUDPHelper sharedInstance].delegate = self;
|
[IFishHotpotUDPHelper sharedInstance].delegate = self;
|
||||||
[[IFishHotpotUDPHelper sharedInstance] broadCastRestartCommand];
|
[[IFishHotpotUDPHelper sharedInstance] broadCastRestartCommand];
|
||||||
}
|
}
|
||||||
|
- (IBAction)tipBtnClicke:(id)sender {
|
||||||
|
ConnectHotspotTipViewController *vc = [[ConnectHotspotTipViewController alloc] initWithNibName:nil bundle:nil];
|
||||||
|
[self.navigationController pushViewController:vc animated:YES];
|
||||||
|
}
|
||||||
|
|
||||||
#pragma mark - IFishHotpotUDPHelperDelegate
|
#pragma mark - IFishHotpotUDPHelperDelegate
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -75,6 +75,9 @@
|
||||||
</userDefinedRuntimeAttribute>
|
</userDefinedRuntimeAttribute>
|
||||||
<userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
|
<userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
|
||||||
</userDefinedRuntimeAttributes>
|
</userDefinedRuntimeAttributes>
|
||||||
|
<connections>
|
||||||
|
<action selector="tipBtnClicke:" destination="-1" eventType="touchUpInside" id="wzt-ee-PRc"/>
|
||||||
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
</subviews>
|
</subviews>
|
||||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
#import "SettingResetViewController.h"
|
#import "SettingResetViewController.h"
|
||||||
#import "IFishHotpotUDPHelper.h"
|
#import "IFishHotpotUDPHelper.h"
|
||||||
|
#import "ConnectHotspotTipViewController.h"
|
||||||
|
|
||||||
@interface SettingResetViewController ()<IFishHotpotUDPHelperDelegate>
|
@interface SettingResetViewController ()<IFishHotpotUDPHelperDelegate>
|
||||||
|
|
||||||
|
|
@ -20,10 +21,15 @@
|
||||||
self.title = @"恢复出厂设置";
|
self.title = @"恢复出厂设置";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (IBAction)reset:(id)sender {
|
- (IBAction)reset:(id)sender {
|
||||||
[IFishHotpotUDPHelper sharedInstance].delegate = self;
|
[IFishHotpotUDPHelper sharedInstance].delegate = self;
|
||||||
[[IFishHotpotUDPHelper sharedInstance] broadCastRestCommand];
|
[[IFishHotpotUDPHelper sharedInstance] broadCastRestCommand];
|
||||||
}
|
}
|
||||||
|
- (IBAction)tipBtnClicked:(id)sender {
|
||||||
|
ConnectHotspotTipViewController *vc = [[ConnectHotspotTipViewController alloc] initWithNibName:nil bundle:nil];
|
||||||
|
[self.navigationController pushViewController:vc animated:YES];
|
||||||
|
}
|
||||||
|
|
||||||
#pragma mark - IFishHotpotUDPHelperDelegate
|
#pragma mark - IFishHotpotUDPHelperDelegate
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -75,6 +75,9 @@
|
||||||
</userDefinedRuntimeAttribute>
|
</userDefinedRuntimeAttribute>
|
||||||
<userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
|
<userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
|
||||||
</userDefinedRuntimeAttributes>
|
</userDefinedRuntimeAttributes>
|
||||||
|
<connections>
|
||||||
|
<action selector="tipBtnClicked:" destination="-1" eventType="touchUpInside" id="hFS-cK-6dp"/>
|
||||||
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
</subviews>
|
</subviews>
|
||||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
self.messagetype=@"00";
|
self.messagetype=@"00";
|
||||||
self.massagelegth=@"11";
|
self.massagelegth=@"11";
|
||||||
self.functionCode=@"14";
|
self.functionCode=@"13";
|
||||||
self.sendmacId = @"000000000000";
|
self.sendmacId = @"000000000000";
|
||||||
self.resavemacId = @"000000000000";
|
self.resavemacId = @"000000000000";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
self.messagetype=@"00";
|
self.messagetype=@"00";
|
||||||
self.massagelegth=@"11";
|
self.massagelegth=@"11";
|
||||||
self.functionCode=@"13";
|
self.functionCode=@"14";
|
||||||
self.sendmacId = @"000000000000";
|
self.sendmacId = @"000000000000";
|
||||||
self.resavemacId = @"000000000000";
|
self.resavemacId = @"000000000000";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue