细节微调;

This commit is contained in:
xuemh 2018-08-07 21:08:59 +08:00
parent 330928c09f
commit 37b3ce32d5
6 changed files with 19 additions and 2 deletions

View File

@ -8,6 +8,7 @@
#import "RestartViewController.h"
#import "IFishHotpotUDPHelper.h"
#import "ConnectHotspotTipViewController.h"
@interface RestartViewController ()<IFishHotpotUDPHelperDelegate>
@ -24,6 +25,10 @@
[IFishHotpotUDPHelper sharedInstance].delegate = self;
[[IFishHotpotUDPHelper sharedInstance] broadCastRestartCommand];
}
- (IBAction)tipBtnClicke:(id)sender {
ConnectHotspotTipViewController *vc = [[ConnectHotspotTipViewController alloc] initWithNibName:nil bundle:nil];
[self.navigationController pushViewController:vc animated:YES];
}
#pragma mark - IFishHotpotUDPHelperDelegate

View File

@ -75,6 +75,9 @@
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
</userDefinedRuntimeAttributes>
<connections>
<action selector="tipBtnClicke:" destination="-1" eventType="touchUpInside" id="wzt-ee-PRc"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>

View File

@ -8,6 +8,7 @@
#import "SettingResetViewController.h"
#import "IFishHotpotUDPHelper.h"
#import "ConnectHotspotTipViewController.h"
@interface SettingResetViewController ()<IFishHotpotUDPHelperDelegate>
@ -20,10 +21,15 @@
self.title = @"恢复出厂设置";
}
- (IBAction)reset:(id)sender {
[IFishHotpotUDPHelper sharedInstance].delegate = self;
[[IFishHotpotUDPHelper sharedInstance] broadCastRestCommand];
}
- (IBAction)tipBtnClicked:(id)sender {
ConnectHotspotTipViewController *vc = [[ConnectHotspotTipViewController alloc] initWithNibName:nil bundle:nil];
[self.navigationController pushViewController:vc animated:YES];
}
#pragma mark - IFishHotpotUDPHelperDelegate

View File

@ -75,6 +75,9 @@
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
</userDefinedRuntimeAttributes>
<connections>
<action selector="tipBtnClicked:" destination="-1" eventType="touchUpInside" id="hFS-cK-6dp"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>

View File

@ -14,7 +14,7 @@
self.messagetype=@"00";
self.massagelegth=@"11";
self.functionCode=@"14";
self.functionCode=@"13";
self.sendmacId = @"000000000000";
self.resavemacId = @"000000000000";

View File

@ -14,7 +14,7 @@
self.messagetype=@"00";
self.massagelegth=@"11";
self.functionCode=@"13";
self.functionCode=@"14";
self.sendmacId = @"000000000000";
self.resavemacId = @"000000000000";