刘云鸽 7 gadi atpakaļ
vecāks
revīzija
ca056c7504
100 mainītis faili ar 6290 papildinājumiem un 48 dzēšanām
  1. BIN
      .Podfile.swo
  2. BIN
      .Podfile.swp
  3. 1583 18
      Haishenghai-master.xcodeproj/project.pbxproj
  4. 113 0
      Haishenghai-master.xcodeproj/xcuserdata/gg.xcuserdatad/xcschemes/Haishenghai-master.xcscheme
  5. 19 1
      Haishenghai-master.xcodeproj/xcuserdata/gg.xcuserdatad/xcschemes/xcschememanagement.plist
  6. 10 0
      Haishenghai-master.xcworkspace/contents.xcworkspacedata
  7. 5 0
      Haishenghai-master.xcworkspace/xcuserdata/gg.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
  8. 8 1
      Haishenghai-master/AppDelegate.h
  9. 285 2
      Haishenghai-master/AppDelegate.m
  10. 40 17
      Haishenghai-master/Assets.xcassets/AppIcon.appiconset/Contents.json
  11. BIN
      Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-1024.png
  12. BIN
      Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-20-ipad.png
  13. BIN
      Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-20@2x-ipad.png
  14. BIN
      Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-20@2x.png
  15. BIN
      Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-20@3x.png
  16. BIN
      Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-29.png
  17. BIN
      Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-29@2x-ipad.png
  18. BIN
      Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png
  19. BIN
      Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png
  20. BIN
      Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-40.png
  21. BIN
      Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-40@2x-1.png
  22. BIN
      Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png
  23. BIN
      Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png
  24. BIN
      Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png
  25. BIN
      Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png
  26. BIN
      Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-76.png
  27. BIN
      Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png
  28. BIN
      Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png
  29. 6 0
      Haishenghai-master/Assets.xcassets/Contents.json
  30. 71 0
      Haishenghai-master/Assets.xcassets/LaunchImage-1.launchimage/Contents.json
  31. BIN
      Haishenghai-master/Assets.xcassets/LaunchImage-1.launchimage/launchScreen.png
  32. BIN
      Haishenghai-master/Assets.xcassets/LaunchImage-1.launchimage/qd-5.png
  33. BIN
      Haishenghai-master/Assets.xcassets/LaunchImage-1.launchimage/qd-6.png
  34. BIN
      Haishenghai-master/Assets.xcassets/LaunchImage-1.launchimage/qd-6p.png
  35. BIN
      Haishenghai-master/Assets.xcassets/LaunchImage-1.launchimage/qd-x.png
  36. 8 0
      Haishenghai-master/Haishenghai-master.entitlements
  37. 91 0
      Haishenghai-master/Header.h
  38. 142 0
      Haishenghai-master/HttpManager/DataSourceManager.h
  39. 1433 0
      Haishenghai-master/HttpManager/DataSourceManager.m
  40. 13 0
      Haishenghai-master/HttpManager/NSMutableDictionary+NullSaf.h
  41. 83 0
      Haishenghai-master/HttpManager/NSMutableDictionary+NullSaf.m
  42. 38 0
      Haishenghai-master/HttpManager/SXAlert.h
  43. 169 0
      Haishenghai-master/HttpManager/SXAlert.m
  44. 23 5
      Haishenghai-master/Info.plist
  45. 8 4
      Haishenghai-master/Base.lproj/LaunchScreen.storyboard
  46. 435 0
      Haishenghai-master/MBProgressHUD.h
  47. 1483 0
      Haishenghai-master/MBProgressHUD.m
  48. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/3d_navi_sky_day.data
  49. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/3d_sky_day.data
  50. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/3d_sky_night.data
  51. 112 0
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/3dlandscape.xml
  52. 112 0
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/3dportrait.xml
  53. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/1015.png
  54. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/1016.png
  55. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/exit_label_bk_main_day.png
  56. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/exit_label_bk_secondary_day.png
  57. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/grass_day.png
  58. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/grass_night.png
  59. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/road_bottom_day.png
  60. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/road_bottom_night.png
  61. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/roadbk_main_day.png
  62. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/roadbk_main_night.png
  63. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/bktile.data
  64. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/bktile_n.data
  65. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/building.data
  66. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/config_1_14_1510107091.data
  67. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/config_2_14_1510107001.data
  68. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/crossing_day_bk.data
  69. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/crossing_nigth_bk.data
  70. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/dash.data
  71. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/dash_cd.data
  72. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/dash_tq.data
  73. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/gconfig_1_14_1484563173.data
  74. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_10_14_1510107265.data
  75. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_1_14_1517312363.data
  76. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_23_14_1514285400.data
  77. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_24_14_1510107285.data
  78. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_25_14_1510054937.data
  79. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_27_14_1517312468.data
  80. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_2_14_1517312372.data
  81. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_35_14_1521026482.data
  82. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_3_14_1517312381.data
  83. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_4_14_1510107228.data
  84. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_50_14_1501055190.data
  85. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_5_14_1517312288.data
  86. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_5_14_for_custom.data
  87. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_6_14_1510107235.data
  88. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_7_14_1510107241.data
  89. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_8_14_1517312432.data
  90. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/lineround.data
  91. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/roadarrow.data
  92. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/search_scenic_icon.data
  93. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/style_0_14_1520856789.data
  94. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/style_0_14_1527582292_for_custom.data
  95. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/style_100_14_1521026633.data
  96. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/style_10_14_1510107620.data
  97. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/style_1_14_1520908388.data
  98. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/style_3_14_1517301966.data
  99. BIN
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/style_4_14_1520827092.data
  100. 0 0
      Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/style_50_14_1501671321.data

BIN
.Podfile.swo


BIN
.Podfile.swp


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1583 - 18
Haishenghai-master.xcodeproj/project.pbxproj


+ 113 - 0
Haishenghai-master.xcodeproj/xcuserdata/gg.xcuserdatad/xcschemes/Haishenghai-master.xcscheme

@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+   LastUpgradeVersion = "0910"
+   version = "1.3">
+   <BuildAction
+      parallelizeBuildables = "YES"
+      buildImplicitDependencies = "YES">
+      <BuildActionEntries>
+         <BuildActionEntry
+            buildForTesting = "YES"
+            buildForRunning = "YES"
+            buildForProfiling = "YES"
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "C615004921D7083F00FEBA22"
+               BuildableName = "Haishenghai-master.app"
+               BlueprintName = "Haishenghai-master"
+               ReferencedContainer = "container:Haishenghai-master.xcodeproj">
+            </BuildableReference>
+         </BuildActionEntry>
+      </BuildActionEntries>
+   </BuildAction>
+   <TestAction
+      buildConfiguration = "Release"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      language = ""
+      shouldUseLaunchSchemeArgsEnv = "YES">
+      <Testables>
+         <TestableReference
+            skipped = "NO">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "C615006121D7084000FEBA22"
+               BuildableName = "Haishenghai-masterTests.xctest"
+               BlueprintName = "Haishenghai-masterTests"
+               ReferencedContainer = "container:Haishenghai-master.xcodeproj">
+            </BuildableReference>
+         </TestableReference>
+         <TestableReference
+            skipped = "NO">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "C615006C21D7084000FEBA22"
+               BuildableName = "Haishenghai-masterUITests.xctest"
+               BlueprintName = "Haishenghai-masterUITests"
+               ReferencedContainer = "container:Haishenghai-master.xcodeproj">
+            </BuildableReference>
+         </TestableReference>
+      </Testables>
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "C615004921D7083F00FEBA22"
+            BuildableName = "Haishenghai-master.app"
+            BlueprintName = "Haishenghai-master"
+            ReferencedContainer = "container:Haishenghai-master.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </TestAction>
+   <LaunchAction
+      buildConfiguration = "Release"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      language = ""
+      launchStyle = "0"
+      useCustomWorkingDirectory = "NO"
+      ignoresPersistentStateOnLaunch = "NO"
+      debugDocumentVersioning = "YES"
+      debugServiceExtension = "internal"
+      allowLocationSimulation = "YES">
+      <BuildableProductRunnable
+         runnableDebuggingMode = "0">
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "C615004921D7083F00FEBA22"
+            BuildableName = "Haishenghai-master.app"
+            BlueprintName = "Haishenghai-master"
+            ReferencedContainer = "container:Haishenghai-master.xcodeproj">
+         </BuildableReference>
+      </BuildableProductRunnable>
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </LaunchAction>
+   <ProfileAction
+      buildConfiguration = "Release"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      savedToolIdentifier = ""
+      useCustomWorkingDirectory = "NO"
+      debugDocumentVersioning = "YES">
+      <BuildableProductRunnable
+         runnableDebuggingMode = "0">
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "C615004921D7083F00FEBA22"
+            BuildableName = "Haishenghai-master.app"
+            BlueprintName = "Haishenghai-master"
+            ReferencedContainer = "container:Haishenghai-master.xcodeproj">
+         </BuildableReference>
+      </BuildableProductRunnable>
+   </ProfileAction>
+   <AnalyzeAction
+      buildConfiguration = "Release">
+   </AnalyzeAction>
+   <ArchiveAction
+      buildConfiguration = "Release"
+      revealArchiveInOrganizer = "YES">
+   </ArchiveAction>
+</Scheme>

+ 19 - 1
Haishenghai-master.xcodeproj/xcuserdata/gg.xcuserdatad/xcschemes/xcschememanagement.plist

@@ -7,7 +7,25 @@
 		<key>Haishenghai-master.xcscheme</key>
 		<dict>
 			<key>orderHint</key>
-			<integer>0</integer>
+			<integer>7</integer>
+		</dict>
+	</dict>
+	<key>SuppressBuildableAutocreation</key>
+	<dict>
+		<key>C615004921D7083F00FEBA22</key>
+		<dict>
+			<key>primary</key>
+			<true/>
+		</dict>
+		<key>C615006121D7084000FEBA22</key>
+		<dict>
+			<key>primary</key>
+			<true/>
+		</dict>
+		<key>C615006C21D7084000FEBA22</key>
+		<dict>
+			<key>primary</key>
+			<true/>
 		</dict>
 	</dict>
 </dict>

+ 10 - 0
Haishenghai-master.xcworkspace/contents.xcworkspacedata

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+   version = "1.0">
+   <FileRef
+      location = "group:Haishenghai-master.xcodeproj">
+   </FileRef>
+   <FileRef
+      location = "group:Pods/Pods.xcodeproj">
+   </FileRef>
+</Workspace>

+ 5 - 0
Haishenghai-master.xcworkspace/xcuserdata/gg.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Bucket
+   type = "0"
+   version = "2.0">
+</Bucket>

+ 8 - 1
Haishenghai-master/AppDelegate.h

@@ -7,11 +7,18 @@
 //
 
 #import <UIKit/UIKit.h>
-
+#import <AVFoundation/AVFoundation.h>
+static NSString *appKey= @"fe13061435f5517e3c551231";
+static NSString *channel = @"Publish channel";
+static BOOL isProduction = TRUE;
 @interface AppDelegate : UIResponder <UIApplicationDelegate>
 
 @property (strong, nonatomic) UIWindow *window;
 
 
+//音频播放器
+
+@property(nonatomic,strong)AVAudioPlayer *player;
++(void)LoginRootViewController;
 @end
 

+ 285 - 2
Haishenghai-master/AppDelegate.m

@@ -1,4 +1,6 @@
 //
+
+//
 //  AppDelegate.m
 //  Haishenghai-master
 //
@@ -7,20 +9,278 @@
 //
 
 #import "AppDelegate.h"
+#import "Header.h"
+#import "EditLocationVC.h"
+
+//引入JPush功能所需要的头文件
+#import <JPUSHService.h>
+//iOS 10注册APNS 所需头文件
+//#ifdef NSFoundationVersionNumber_iOS_9_x_Max
+#import <UserNotifications/UserNotifications.h>
+//如果需要使用idfa 功能所需要引入的头文件(可选)
+#import <AdSupport/AdSupport.h>
 
-@interface AppDelegate ()
+//mapKey:6f1d673114becda95d8a07d8b163f929
+//极光推送appKey:fe13061435f5517e3c551231
+//给JPush添加注册通知代理
+@interface AppDelegate ()<JPUSHRegisterDelegate,JPUSHGeofenceDelegate>
 
 @end
 
 @implementation AppDelegate
+static NSInteger seq = 0;
 
 
 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
     // Override point for customization after application launch.
+    [self monitorNetworking];
+//////    跳转到登录
+    [AppDelegate LoginRootViewController];
+//    [self goMain];
+    
+    //测试入口
+//    EditLocationVC *loginVC = [[EditLocationVC alloc]init];
+//    UINavigationController *navgation = [[UINavigationController alloc]initWithRootViewController:loginVC];
+//    self.window.rootViewController = navgation;
+//    loginVC.navigationController.navigationBarHidden = YES;
+    
+//--------------------------------------------------------------------------------------------
+//                              高德地图SDK
+//---------------------------------------------------------------------------------------------
+
+    [AMapServices sharedServices].apiKey = @"6f1d673114becda95d8a07d8b163f929";
+//
+    //单次定位
+    [self.window makeKeyAndVisible];
+//--------------------------------------------------------------------------------------------
+//                              极光推送SDK
+//---------------------------------------------------------------------------------------------
+    // 3.0.0及以后版本注册
+    JPUSHRegisterEntity * entity = [[JPUSHRegisterEntity alloc] init];
+    if (@available(iOS 12.0, *)) {
+        entity.types = JPAuthorizationOptionAlert|JPAuthorizationOptionBadge|JPAuthorizationOptionSound|JPAuthorizationOptionProvidesAppNotificationSettings;
+    } else {
+        entity.types = JPAuthorizationOptionAlert|JPAuthorizationOptionBadge|JPAuthorizationOptionSound;
+    }
+    NSString *advertisingId = [[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString];
+
+    [JPUSHService registerForRemoteNotificationConfig:entity delegate:self];
+    [JPUSHService registerLbsGeofenceDelegate:self withLaunchOptions:launchOptions];
+    //如不需要使用IDFA,advertisingIdentifier 可为nil
+    [JPUSHService setupWithOption:launchOptions appKey:appKey
+                          channel:channel
+                 apsForProduction:isProduction
+            advertisingIdentifier:advertisingId];
+    
+    
+    NSDictionary *remoteNotification = [launchOptions objectForKey: UIApplicationLaunchOptionsRemoteNotificationKey];
+    NSLog(@"------%@",remoteNotification);
+    
+    NSString *LoginID = [[NSUserDefaults standardUserDefaults]objectForKey:@"loginId"];
+    [JPUSHService setAlias:LoginID completion:^(NSInteger iResCode, NSString *iAlias, NSInteger seq) {
+        [self inputResponseCode:iResCode content:iAlias andSeq:seq];
+    } seq:[self seq]];
+    
     return YES;
+    
+}
+- (void)inputResponseCode:(NSInteger)code content:(NSString *)content andSeq:(NSInteger)seq{
+    NSLog (@"\n\n code:%ld content:%@ seq:%ld", code, content, seq);
+}
+- (NSInteger)seq {
+    return ++ seq;
+}
+
++(void)LoginRootViewController{
+    UserLogin_VC *loginVC = [[UserLogin_VC alloc]init];
+    UINavigationController *navgation = [[UINavigationController alloc]initWithRootViewController:loginVC];
+    AppDelegate *delegate = (id)[UIApplication  sharedApplication].delegate;
+    delegate.window.rootViewController = navgation;
+    loginVC.navigationController.navigationBarHidden = YES;
+
+}
+-(void)playSound{
+    //    播放系统声音
+    //定义一个SystemSoundID
+    //    SystemSoundID soundID = 1331;
+    ////    播放声音
+    //    AudioServicesPlaySystemSound(soundID);
+    
+    NSString *filePath = [[NSBundle mainBundle] pathForResource:@"fireAlarm" ofType:@"mp3"];
+    NSURL *fileUrl = [NSURL URLWithString:filePath];
+    self.player = [[AVAudioPlayer alloc]initWithContentsOfURL:fileUrl error:nil];
+    //设置声音的大小
+    self.player.volume =1;
+    //设置循环次数 ,如果为负数,就是无限循环
+    self.player.numberOfLoops = -1;
+    //准备播放
+    [self.player prepareToPlay];
+    //播放
+    [self.player play];
+    
+}
+#pragma mark- JPUSHRegisterDelegate
+// iOS 12 Support
+- (void)jpushNotificationCenter:(UNUserNotificationCenter *)center openSettingsForNotification:(UNNotification *)notification{
+    NSLog(@"1111111111111");
+    if (notification && [notification.request.trigger isKindOfClass:[UNPushNotificationTrigger class]]) {
+        [[NSNotificationCenter defaultCenter]postNotificationName:@"fireChange" object:nil];
+        //从通知界面直接进入应用
+//        ViewController *view = [[ViewController alloc]init];
+//        self.window.rootViewController = view;
+        
+    }else{
+        //从通知设置界面进入应用
+    }
+}
+
+// iOS 10 Support
+- (void)jpushNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(NSInteger))completionHandler {
+    NSLog(@"2222222222");
+//    [self playSound];
+//    [[NSNotificationCenter defaultCenter]postNotificationName:@"fireChange" object:nil];
+//    //从通知界面直接进入应用
+//    ViewController *view = [[ViewController alloc]init];
+//    self.window.rootViewController = view;
+
+    // Required
+    NSDictionary * userInfo = notification.request.content.userInfo;
+    NSLog(@"------------->%@",userInfo);
+    NSLog(@"------------->%@",notification.request);
+
+    UNNotificationRequest *request = notification.request; // 收到推送的请求
+    UNNotificationContent *content = request.content; // 收到推送的消息内容
+    
+    NSNumber *badge = content.badge;  // 推送消息的角标
+    NSString *body = content.body;    // 推送消息体
+    UNNotificationSound *sound = content.sound;  // 推送消息的声音
+    NSString *subtitle = content.subtitle;  // 推送消息的副标题
+    NSString *title = content.title;  // 推送消息的标题
+    
+    if([notification.request.trigger isKindOfClass:[UNPushNotificationTrigger class]]) {
+        [JPUSHService handleRemoteNotification:userInfo];
+    }
+    completionHandler(UNNotificationPresentationOptionAlert); // 需要执行这个方法,选择是否提醒用户,有 Badge、Sound、Alert 三种类型可以选择设置
+    [[NSNotificationCenter defaultCenter]postNotificationName:@"fireChange" object:nil];
+    //从通知界面直接进入应用
+//    ViewController *view = [[ViewController alloc]init];
+//    self.window.rootViewController = view;
+}
+
+// iOS 10 Support
+- (void)jpushNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void (^)())completionHandler {
+    NSLog(@"33333333333");
+    // Required
+    NSDictionary * userInfo = response.notification.request.content.userInfo;
+    if([response.notification.request.trigger isKindOfClass:[UNPushNotificationTrigger class]]) {
+        [JPUSHService handleRemoteNotification:userInfo];
+        NSLog(@"iOS10 收到远程通知:%@", userInfo);
+//        [[NSNotificationCenter defaultCenter]postNotificationName:@"fireChange" object:nil];
+//        //从通知界面直接进入应用
+//        ViewController *view = [[ViewController alloc]init];
+//        self.window.rootViewController = view;
+
+    }
+    completionHandler();  // 系统要求执行这个方法
+    [[NSNotificationCenter defaultCenter]postNotificationName:@"fireChange" object:nil];
+    //从通知界面直接进入应用
+//    ViewController *view = [[ViewController alloc]init];
+//    self.window.rootViewController = view;
+    
 }
 
 
+- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo {
+    NSLog(@"44444444444");
+    [[NSNotificationCenter defaultCenter]postNotificationName:@"appQuitChange" object:nil];
+    //从通知界面直接进入应用
+    ViewController *view = [[ViewController alloc]init];
+    self.window.rootViewController = view;
+
+    // 取得 APNs 标准信息内容
+    NSDictionary *aps = [userInfo valueForKey:@"aps"];
+    NSString *content = [aps valueForKey:@"alert"]; //推送显示的内容
+    NSInteger badge = [[aps valueForKey:@"badge"] integerValue]; //badge 数量
+    NSString *sound = [aps valueForKey:@"sound"]; //播放的声音
+    
+    // 取得 Extras 字段内容
+    NSString *customizeField1 = [userInfo valueForKey:@"customizeExtras"]; //服务端中 Extras 字段,key 是自己定义的
+    NSLog(@"content =[%@], badge=[%d], sound=[%@], customize field  =[%@]",content,badge,sound,customizeField1);
+    
+    // iOS 10 以下 Required
+    [JPUSHService handleRemoteNotification:userInfo];
+}
+- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {
+    // 取得 APNs 标准信息内容
+//    NSLog(@"_______-%@",userInfo);
+    NSLog(@"55555555555");
+    [self playSound];
+    // Required, iOS 7 Support
+    [JPUSHService handleRemoteNotification:userInfo];
+    
+    [[NSNotificationCenter defaultCenter]postNotificationName:@"appQuitChange" object:nil];
+    //从通知界面直接进入应用
+    ViewController *view = [[ViewController alloc]init];
+    self.window.rootViewController = view;
+
+    completionHandler(UIBackgroundFetchResultNewData);
+}
+
+//检测网络状态
+#pragma mark - ------------- 监测网络状态 -------------
+- (void)monitorNetworking
+{
+    //此方法不能用,否则改变了根视图控制器的指向
+//    UIWindow *alertWindow = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
+//    alertWindow.rootViewController = [[UIViewController alloc] init];
+//    alertWindow.windowLevel = UIWindowLevelAlert + 1;
+//    [alertWindow makeKeyAndVisible];
+
+    [[AFNetworkReachabilityManager sharedManager] startMonitoring];
+    [[AFNetworkReachabilityManager sharedManager] setReachabilityStatusChangeBlock:^(AFNetworkReachabilityStatus status) {
+        switch (status) {
+            case AFNetworkReachabilityStatusUnknown:
+                NSLog(@"未知网络");
+                break;
+            case AFNetworkReachabilityStatusNotReachable:
+            {
+                NSLog(@"无网络连接");
+                //跳转到无网络界面
+                UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"网络连接异常" message:nil delegate:nil cancelButtonTitle:@"确定" otherButtonTitles:nil];
+                [alert show];
+            }
+                break;
+            
+            case AFNetworkReachabilityStatusReachableViaWWAN:
+            {
+                NSLog(@"GPRS网络");
+            }
+                break;
+
+            case AFNetworkReachabilityStatusReachableViaWiFi:
+            {
+                NSLog(@"wifi网络");
+            }
+                break;
+
+            default:
+                break;
+        }
+    }];
+
+}
+//注册deviceToken
+- (void)application:(UIApplication *)application
+didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
+    
+    /// Required - 注册 DeviceToken
+    [JPUSHService registerDeviceToken:deviceToken];
+}
+//注册APNS失败的接口
+- (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error {
+    //Optional
+    NSLog(@"did Fail To Register For Remote Notifications With Error: %@", error);
+}
 - (void)applicationWillResignActive:(UIApplication *)application {
     // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
     // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
@@ -30,11 +290,35 @@
 - (void)applicationDidEnterBackground:(UIApplication *)application {
     // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
     // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
+    [[UIApplication sharedApplication] setApplicationIconBadgeNumber:0];
+
+    //    UIApplication* app = [UIApplication sharedApplication];
+//    __block  UIBackgroundTaskIdentifier bgTask;
+//    bgTask = [app beginBackgroundTaskWithExpirationHandler:^{
+//        dispatch_async(dispatch_get_main_queue(), ^{
+//            if (bgTask != UIBackgroundTaskInvalid)
+//            {
+//                bgTask = UIBackgroundTaskInvalid;
+//            }
+//        });
+//    }];
+//
+//    dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
+//        dispatch_async(dispatch_get_main_queue(), ^{
+//            if (bgTask != UIBackgroundTaskInvalid)
+//            {
+//                bgTask = UIBackgroundTaskInvalid;
+//            }
+//        });
+//    });
 }
 
 
 - (void)applicationWillEnterForeground:(UIApplication *)application {
     // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
+    [application setApplicationIconBadgeNumber:0];
+    [application cancelAllLocalNotifications];
+
 }
 
 
@@ -47,5 +331,4 @@
     // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
 }
 
-
 @end

+ 40 - 17
Haishenghai-master/Assets.xcassets/AppIcon.appiconset/Contents.json

@@ -1,89 +1,112 @@
 {
   "images" : [
     {
-      "idiom" : "iphone",
       "size" : "20x20",
+      "idiom" : "iphone",
+      "filename" : "icon-20@2x.png",
       "scale" : "2x"
     },
     {
-      "idiom" : "iphone",
       "size" : "20x20",
+      "idiom" : "iphone",
+      "filename" : "icon-20@3x.png",
       "scale" : "3x"
     },
     {
-      "idiom" : "iphone",
       "size" : "29x29",
+      "idiom" : "iphone",
+      "filename" : "icon-29@2x.png",
       "scale" : "2x"
     },
     {
-      "idiom" : "iphone",
       "size" : "29x29",
+      "idiom" : "iphone",
+      "filename" : "icon-29@3x.png",
       "scale" : "3x"
     },
     {
-      "idiom" : "iphone",
       "size" : "40x40",
+      "idiom" : "iphone",
+      "filename" : "icon-40@2x.png",
       "scale" : "2x"
     },
     {
-      "idiom" : "iphone",
       "size" : "40x40",
+      "idiom" : "iphone",
+      "filename" : "icon-40@3x.png",
       "scale" : "3x"
     },
     {
-      "idiom" : "iphone",
       "size" : "60x60",
+      "idiom" : "iphone",
+      "filename" : "icon-60@2x.png",
       "scale" : "2x"
     },
     {
-      "idiom" : "iphone",
       "size" : "60x60",
+      "idiom" : "iphone",
+      "filename" : "icon-60@3x.png",
       "scale" : "3x"
     },
     {
-      "idiom" : "ipad",
       "size" : "20x20",
+      "idiom" : "ipad",
+      "filename" : "icon-20-ipad.png",
       "scale" : "1x"
     },
     {
-      "idiom" : "ipad",
       "size" : "20x20",
+      "idiom" : "ipad",
+      "filename" : "icon-20@2x-ipad.png",
       "scale" : "2x"
     },
     {
-      "idiom" : "ipad",
       "size" : "29x29",
+      "idiom" : "ipad",
+      "filename" : "icon-29.png",
       "scale" : "1x"
     },
     {
-      "idiom" : "ipad",
       "size" : "29x29",
+      "idiom" : "ipad",
+      "filename" : "icon-29@2x-ipad.png",
       "scale" : "2x"
     },
     {
-      "idiom" : "ipad",
       "size" : "40x40",
+      "idiom" : "ipad",
+      "filename" : "icon-40.png",
       "scale" : "1x"
     },
     {
-      "idiom" : "ipad",
       "size" : "40x40",
+      "idiom" : "ipad",
+      "filename" : "icon-40@2x-1.png",
       "scale" : "2x"
     },
     {
-      "idiom" : "ipad",
       "size" : "76x76",
+      "idiom" : "ipad",
+      "filename" : "icon-76.png",
       "scale" : "1x"
     },
     {
-      "idiom" : "ipad",
       "size" : "76x76",
+      "idiom" : "ipad",
+      "filename" : "icon-76@2x.png",
       "scale" : "2x"
     },
     {
-      "idiom" : "ipad",
       "size" : "83.5x83.5",
+      "idiom" : "ipad",
+      "filename" : "icon-83.5@2x.png",
       "scale" : "2x"
+    },
+    {
+      "size" : "1024x1024",
+      "idiom" : "ios-marketing",
+      "filename" : "icon-1024.png",
+      "scale" : "1x"
     }
   ],
   "info" : {

BIN
Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-1024.png


BIN
Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-20-ipad.png


BIN
Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-20@2x-ipad.png


BIN
Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-20@2x.png


BIN
Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-20@3x.png


BIN
Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-29.png


BIN
Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-29@2x-ipad.png


BIN
Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png


BIN
Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png


BIN
Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-40.png


BIN
Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-40@2x-1.png


BIN
Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png


BIN
Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png


BIN
Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png


BIN
Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png


BIN
Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-76.png


BIN
Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png


BIN
Haishenghai-master/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png


+ 6 - 0
Haishenghai-master/Assets.xcassets/Contents.json

@@ -0,0 +1,6 @@
+{
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

+ 71 - 0
Haishenghai-master/Assets.xcassets/LaunchImage-1.launchimage/Contents.json

@@ -0,0 +1,71 @@
+{
+  "images" : [
+    {
+      "extent" : "full-screen",
+      "idiom" : "iphone",
+      "subtype" : "2436h",
+      "filename" : "qd-x.png",
+      "minimum-system-version" : "11.0",
+      "orientation" : "portrait",
+      "scale" : "3x"
+    },
+    {
+      "extent" : "full-screen",
+      "idiom" : "iphone",
+      "subtype" : "736h",
+      "filename" : "qd-6p.png",
+      "minimum-system-version" : "8.0",
+      "orientation" : "portrait",
+      "scale" : "3x"
+    },
+    {
+      "extent" : "full-screen",
+      "idiom" : "iphone",
+      "subtype" : "667h",
+      "filename" : "qd-6.png",
+      "minimum-system-version" : "8.0",
+      "orientation" : "portrait",
+      "scale" : "2x"
+    },
+    {
+      "orientation" : "portrait",
+      "idiom" : "iphone",
+      "extent" : "full-screen",
+      "minimum-system-version" : "7.0",
+      "scale" : "2x"
+    },
+    {
+      "extent" : "full-screen",
+      "idiom" : "iphone",
+      "subtype" : "retina4",
+      "filename" : "qd-5.png",
+      "minimum-system-version" : "7.0",
+      "orientation" : "portrait",
+      "scale" : "2x"
+    },
+    {
+      "orientation" : "portrait",
+      "idiom" : "iphone",
+      "extent" : "full-screen",
+      "scale" : "1x"
+    },
+    {
+      "orientation" : "portrait",
+      "idiom" : "iphone",
+      "extent" : "full-screen",
+      "scale" : "2x"
+    },
+    {
+      "orientation" : "portrait",
+      "idiom" : "iphone",
+      "filename" : "launchScreen.png",
+      "extent" : "full-screen",
+      "subtype" : "retina4",
+      "scale" : "2x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

BIN
Haishenghai-master/Assets.xcassets/LaunchImage-1.launchimage/launchScreen.png


BIN
Haishenghai-master/Assets.xcassets/LaunchImage-1.launchimage/qd-5.png


BIN
Haishenghai-master/Assets.xcassets/LaunchImage-1.launchimage/qd-6.png


BIN
Haishenghai-master/Assets.xcassets/LaunchImage-1.launchimage/qd-6p.png


BIN
Haishenghai-master/Assets.xcassets/LaunchImage-1.launchimage/qd-x.png


+ 8 - 0
Haishenghai-master/Haishenghai-master.entitlements

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>aps-environment</key>
+	<string>development</string>
+</dict>
+</plist>

+ 91 - 0
Haishenghai-master/Header.h

@@ -0,0 +1,91 @@
+//
+//  Header.h
+//  Haishenghai-master
+//
+//  Created by GG on 2018/12/29.
+//  Copyright © 2018年 Haishenghai intelligence network technology. All rights reserved.
+//
+
+#ifndef Header_h
+#define Header_h
+
+#ifdef DEBUG
+//Debug状态下的测试API
+//#define BASE_URL @"http://47.110.138.172/hsh_app/"
+//#define PICBASE_URL @"http://fubangyun.com:4445/"
+//#define BASE_URL @"http://172.16.15.252:1551/"
+//#define PICBASE_URL @"http://172.16.15.252:1029/"
+#else
+//Release状态下的线上API
+//#define BASE_URL @"https://www.hsh-iot.com/test/hsh_app"
+//#define PICBASE_URL @"http://fubangyun.com:4445/"
+//#define BASE_URL @"http://172.16.15.252:1551/"
+//#define PICBASE_URL @"http://172.16.15.252:1029/"
+#endif
+/* define */
+#define ALERTSHOW(errorMessage)  UIAlertController *_controller =[UIAlertController alertControllerWithTitle:@"温馨提示" message:errorMessage preferredStyle:UIAlertControllerStyleAlert];[_controller addAction:[UIAlertAction actionWithTitle:@"确定" style:UIAlertActionStyleDefault handler:nil]];[self presentViewController:_controller animated:YES completion:nil];
+//登录用的
+//rgb颜色转换
+#define SXUIColorFromRGB(rgbValue) [UIColor \
+colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \
+green:((float)((rgbValue & 0xFF00) >> 8))/255.0 \
+blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]
+//屏幕尺寸
+#define WIDTH [UIScreen mainScreen].bounds.size.width
+#define HEIGHT [UIScreen mainScreen].bounds.size.height
+
+//状态栏高度
+#define kStatusBarHeight [[UIApplication sharedApplication] statusBarFrame].size.height
+#define kNavBarHeight 44.0
+#define kTabBarHeight ([[UIApplication sharedApplication] statusBarFrame].size.height>20?83:49)
+#define kTopHeight (kStatusBarHeight + kNavBarHeight)
+
+
+#define IS_iPhoneX ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(1125, 2436), [[UIScreen mainScreen] currentMode].size) : NO)/* header file */
+#import "MBProgressHUD.h"
+#import "NSMutableDictionary+NullSaf.h"
+#import <Masonry.h>
+#import <AFHTTPSessionManager.h>
+#import "AppDelegate.h"
+#import "ViewController.h"
+#import "UserLogin_VC.h"
+#import "UserRegister_VC.h"
+#import "ResetPassword_VC.h"
+#import "Addplace_VC.h"
+#import "AddDevece_VC.h"
+#import "popViewController.h"
+#import "CollectionViewCell.h"
+#import "DeveceList_VC.h"
+#import "Message_VC.h"
+#import "Person_VC.h"
+#import "ScanViewController.h"
+#import "DeveceDetail_VC.h"
+#import "PlaceList_VC.h"
+#import "ManageDeveceList_VC.h"
+#import "DetailTableViewCell.h"
+#import "FireAlarm_VC.h"
+#import "PushManage_VC.h"
+#import "ProblemViewController.h"
+#import "Service_VC.h"
+#import "DetailDeveceList_VC.h"
+#import "Contacts_VC.h"
+#import "Recorddetail_VC.h"
+#import "FireManage_VC.h"
+#import "SubmitInformation_VC.h"
+#import "CommitMessage_VC.h"
+#import "PlaceDetail_VC.h"
+#import "popMenuView.h"
+#import <MJRefresh.h>
+#import "DataSourceManager.h"
+#import <AMapFoundationKit/AMapFoundationKit.h>
+#import <MAMapKit/MAMapKit.h>
+#import <AMapSearchKit/AMapSearchKit.h>
+#import <AMapLocationKit/AMapLocationKit.h>
+#import <FLAnimatedImageView+WebCache.h>
+#import "About_VC.h"
+#import "Setting_VC.h"
+#import "detatilDeviceModel.h"
+#import "Protcol_VC.h"
+#import "privacy_VC.h"
+#endif /* Header_h */
+

+ 142 - 0
Haishenghai-master/HttpManager/DataSourceManager.h

@@ -0,0 +1,142 @@
+//
+//  DataSourceManager.h
+//  Haishenghai-master
+//
+//  Created by GG on 2019/1/17.
+//  Copyright © 2019年 Haishenghai intelligence network technology. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import "Header.h"
+#import "deveceModel.h"
+#import "PlaceModel.h"
+#import "deveceListModel.h"
+#import "contactModel.h"
+#import "troubleDeveceModel.h"
+#import "NSMutableDictionary+NullSaf.h"
+#import "troubleSiteModel.h"
+#import "FireNoticeModel.h"
+#import "SXAlert.h"
+//一参此次请求是否成功
+typedef void(^RequestBlock)(NSDictionary *dic);
+typedef void(^ArrayBlock)(NSMutableArray *array);
+@interface DataSourceManager : NSObject
+/**
+ 获取验证码
+ */
++(void)getPhoneCodeWithPhone:(NSString *)phone completionBlock:(RequestBlock)block;
+/**
+ 注册接口
+ */
++(void)setRegisterWithUrlPhoneNumber:(NSString *)phone code:(NSString *)code UserName:(NSString *)userName PassWord1:(NSString *)password1 PassWord2:(NSString *)password2 completionBlock:(RequestBlock)block;
+/**
+ 登录接口
+ */
++(void)setLoginWithUrlPhone:(NSString *)username Password:(NSString *)password ClientId:(NSString *)clientId AppType:(NSString *)appType completionBlock:(RequestBlock)block;
+/**
+ 修改密码
+ */
++(void)updatePasswordWithUrlPhone:(NSString *)phone code:(NSString *)code Password1:(NSString *)password1 Password2:(NSString *)password2 completionBlock:(RequestBlock)block;
+/**
+ 退出登录
+ */
++(void)setLoginoutWithUrlcompletionBlock:(RequestBlock)block;
+#pragma mark----设备相关
+/**
+ 查询设备类型
+ */
++(void)queryDevecetypeWithcompletionBlock:(ArrayBlock)block;
+/**
+ 添加设备
+ */
++(void)addDeveceWithUrlDeveceID:(NSString *)deveceId dLongtitude:(NSString *)deviveLongtitude dLatitude:(NSString *)deviveLatitude  dLocation:(NSString *)deviceLocation siteid:(NSString *)siteid completionBlock:(RequestBlock)block;
+/**
+ 删除设备
+ */
++(void)deleteDeveceWithUrlDeveceId:(NSString *)deveceId completionBlock:(RequestBlock)block;
+/**
+ 获取设备
+ */
++(void)getDeveceWithUrlPagesize:(NSInteger)pagesize SiteId:(NSString *)siteid Page:(NSInteger)page completionBlock:(ArrayBlock)block;
+///**
+// 获取所有设备列表
+// *
+// */
+//+(void)getDeveceWithUrlUserID:(NSString *)userId Page:(NSString *)page completionBlock:(ArrayBlock)block;
+/**
+ 获取设备详情
+ */
++(void)getDeveceDataChangedWithUrluploadDeveceID:(NSString *)deveceId Page:(NSInteger)page Pagesize:(NSInteger)pagesize completionBlock:(ArrayBlock)block;
+/**
+ 获取异常设备信息
+ */
++(void)gettroubledeviceWithUrlPagesize:(NSInteger)pagesize Page:(NSInteger)page formTime:(NSString *)formtime toTime:(NSString *)totime completionBlock:(ArrayBlock)block;
+/**
+ 获取异常设备信息(带条件筛选)
+ */
++(void)gettroubledeviceWithUrlPagesize:(NSInteger)pagesize Page:(NSInteger)page fromTime:(NSString *)fromtime toTime:(NSString *)totime Type:(NSString *)type completionBlock:(ArrayBlock)block;
+/**
+ 获取异常设备的详细信息
+ */
++(void)getIOTMessageByIDWithUrlMessageID:(NSString *)msgID completionBlock:(RequestBlock)block;
+
+/**
+ 获取火警信息
+ */
++(void)getFireAlarmURLWithPage:(NSInteger)page Pagesize:(NSInteger)pagesize completionBlock:(ArrayBlock)block;
+/**
+ 火警处理
+ */
++(void)UploadFileWithURLWithAttachType:(NSString *)attachType Opid:(NSString *)opId AttachID:(NSString *)attachId AttachTitle:(NSString *)attachTitle AttachName:(NSString *)attachName FilePath:(NSString *)filePath URL:(NSString *)url ThumbnailUrl:(NSString *)thumbnailUrl AttachSize:(double)attachSize CreateTime:(NSString *)createTime MakeThumbnail:(Boolean)makeThumbnail W:(NSInteger)w H:(NSInteger)h completionBlock:(RequestBlock)block;
+
++(void)processDeviceTroubleWithAudioIDS:(NSString *)auIds Explain:(NSString *)explain movieIDS:(NSString *)mvIds pictureIDS:(NSString *)picIds ProType:(NSString *)proType ProcessId:(NSString *)processId completionBlock:(RequestBlock)block;
+
+/**
+ 点击知道火警信息
+ */
++(void)readFireAlarmWithUrlprocessID:(NSString *)processId completionBlock:(RequestBlock)block;
+/**
+ 根据用户Id获取用户
+ */
++(void)getUserByIDURLWithUserId:(NSString *)userId completionBlock:(RequestBlock)block;
+/**
+ 复核火警信息
+ */
++(void)reCheckTroubleUrlWithProcessID:(NSString *)processId RecheckType:(NSString *)recheckType completionBlock:(RequestBlock)block;
+#pragma mark----场所相关
+/**
+ 添加场所
+ */
++(void)addSiteWithUrlDeployment:(NSString *)deployment RegionName:(NSString *)regionName Longtitude:(NSString *)longtitude Latitude:(NSString *)latitude Location:(NSString *)location RegionCode:(NSString *)regionCode completionBlock:(RequestBlock)block;
+/**
+ 查询场所
+ */
++(void)getSiteWithUrlPagesize:(NSInteger)pagesize Page:(NSInteger)page completionBlock:(ArrayBlock)block;
+/**
+ 查询异常场所
+ */
++(void)getTroubleSiteWithUrlPagesize:(NSInteger)pagesize Page:(NSInteger)page completionBlock:(ArrayBlock)block;
+/**
+ 删除场所
+ */
++(void)deleteSiteWithUrlSiteID:(NSString *)siteID completionBlock:(RequestBlock)block;
+/**
+ 推送设置
+ */
++(void)updatePhonePushWithURlSiteID:(NSString *)siteID ISTel:(NSString *)isTel ISMsg:(NSString *)isMsg completionBlock:(RequestBlock)block;
+
+#pragma mark----联系人相关
+/**
+ 添加联系人
+ */
++(void)addlinkmanWithUrlSiteId:(NSString *)siteId Name:(NSString *)name Phone:(NSString *)phone completionBlock:(RequestBlock)block;
+
+/**
+ 获取联系人
+ */
++(void)getlinkmanWithUrlSiteId:(NSString *)siteId completionBlock:(ArrayBlock)block;
+/**
+ 删除联系人
+ */
++(void)deletelinkmanWithUrlId:(NSString *)Id completionBlock:(RequestBlock)block;
+@end

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1433 - 0
Haishenghai-master/HttpManager/DataSourceManager.m


+ 13 - 0
Haishenghai-master/HttpManager/NSMutableDictionary+NullSaf.h

@@ -0,0 +1,13 @@
+//
+//  NSMutableDictionary+NullSaf.h
+//  EPurse
+//
+//  Created by Apple on 2018/1/23.
+//  Copyright © 2018年 北风小南巷. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+@interface NSMutableDictionary (NullSaf)
+
+@end

+ 83 - 0
Haishenghai-master/HttpManager/NSMutableDictionary+NullSaf.m

@@ -0,0 +1,83 @@
+//
+//  NSMutableDictionary+NullSaf.m
+//  EPurse
+//
+//  Created by Apple on 2018/1/23.
+//  Copyright © 2018年 北风小南巷. All rights reserved.
+//
+
+#import "NSMutableDictionary+NullSaf.h"
+#import<objc/runtime.h>
+
+@implementation NSMutableDictionary (NullSaf)
+
+- (void)swizzeMethod:(SEL)origSelector withMethod:(SEL)newSelector
+
+{
+    
+    Class class = [self class];
+    
+    Method originalMethod = class_getInstanceMethod(class, origSelector);//Method是运行时库的类
+    
+    Method swizzledMethod = class_getInstanceMethod(class, newSelector);
+    
+    BOOL didAddMethod = class_addMethod(class, origSelector, method_getImplementation(swizzledMethod), method_getTypeEncoding(swizzledMethod));
+    
+    if (didAddMethod) {
+        
+        class_replaceMethod(class, newSelector, method_getImplementation(originalMethod), method_getTypeEncoding(originalMethod));
+        
+    }else{
+        
+        method_exchangeImplementations(originalMethod, swizzledMethod);
+    }
+    
+}
+
+- (void)safe_setObject:(id)value forKey:(NSString* )key{
+    
+    if (value) {
+        
+        [self safe_setObject:value forKey:key];
+        
+    }else{
+        
+        //NSLog(@"[NSMutableDictionary setObject: forKey:%@]值不能为空;",key);
+        
+    }
+    
+}
+
+- (void)safe_removeObjectForKey:(NSString *)key{
+    
+    if ([self objectForKey:key]) {
+        
+        [self safe_removeObjectForKey:key];
+        
+    }else{
+        
+        //NSLog(@"[NSMutableDictionary setObject: forKey:%@]值不能为空;",key);
+        
+    }
+    
+}
+
++ (void)load{
+    
+    static dispatch_once_t onceToken;
+    
+    dispatch_once(&onceToken, ^{
+        
+        id obj = [[self alloc]init];
+        
+        [obj swizzeMethod:@selector(setObject:forKey:) withMethod:@selector(safe_setObject:forKey:)];
+        
+        [obj swizzeMethod:@selector(removeObjectForKey:) withMethod:@selector(safe_removeObjectForKey:)];
+        
+    });
+    
+}
+
+
+
+@end

+ 38 - 0
Haishenghai-master/HttpManager/SXAlert.h

@@ -0,0 +1,38 @@
+//
+//  SXManager.h
+//  Project
+//
+//  Created by 石勋 on 16/4/5.
+//  Copyright © 2016年 石勋. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
+
+
+
+
+@interface SXAlert : NSObject
+
+/**
+ *  消息提示
+ *
+ *  @param message          提示内容
+ *  @param parentController self就行
+ *  @param finished         按钮点击
+ */
++ (void)showMessage:(NSString *)message parent:(UIViewController *)parentController finished:(void(^)(void))finished;
+/**
+ *  多按钮提示框
+ *
+ *  @param title            大标题
+ *  @param message          提示消息
+ *  @param parentController self
+ *  @param leftTItle        按钮标题
+ *  @param rightTitle       按钮标题
+ *  @param leftClick        左按钮点击事件
+ *  @param rightClick       有按钮点击事件
+ */
++ (void)showOptionstitle:(NSString *)title Message:(NSString *)message parent:(UIViewController *)parentController leftTitle:(NSString *)leftTItle rightTitle:(NSString *)rightTitle leftClick:(void(^)(void))leftClick rightClick:(void(^)(void))rightClick;
+
+@end

+ 169 - 0
Haishenghai-master/HttpManager/SXAlert.m

@@ -0,0 +1,169 @@
+//
+//  SXManager.m
+//  Project
+//
+//  Created by 石勋 on 16/4/5.
+//  Copyright © 2016年 石勋. All rights reserved.
+//
+
+#import "SXAlert.h"
+#import "Header.h"
+
+@implementation SXAlert
+
++ (void)showMessage:(NSString *)message parent:(UIViewController *)parentController finished:(void(^)(void))finished{
+    
+    UIAlertController * alertcontroller = [UIAlertController alertControllerWithTitle:nil message:message preferredStyle:UIAlertControllerStyleAlert];
+    
+    
+    
+    
+    
+
+    NSMutableAttributedString *alertControllerMessageStr = [[NSMutableAttributedString alloc] initWithString:message];
+    [alertControllerMessageStr addAttribute:NSForegroundColorAttributeName value:SXUIColorFromRGB(0x666666) range:NSMakeRange(0, message.length)];
+    [alertControllerMessageStr addAttribute:NSFontAttributeName value:[UIFont systemFontOfSize:15] range:NSMakeRange(0, message.length)];
+    [alertcontroller setValue:alertControllerMessageStr forKey:@"attributedMessage"];
+    
+    
+    UIAlertAction * action = [UIAlertAction actionWithTitle:@"确定" style:UIAlertActionStyleCancel handler:^(UIAlertAction *action) {
+        //调用block
+        if (finished) {
+
+            finished();
+        }
+    }];
+    
+    //字体颜色
+    if ([[UIDevice currentDevice].systemVersion floatValue] >= 8.3) {
+        
+        [action setValue:SXUIColorFromRGB(0x38a2f0) forKey:@"titleTextColor"];
+    }else {
+        
+    }
+//
+    [alertcontroller addAction:action];
+    UIViewController * result = nil;
+    UIWindow * window = [[UIApplication sharedApplication] keyWindow];
+    if (window.windowLevel != UIWindowLevelNormal)
+    {
+        NSArray * windows = [[UIApplication sharedApplication] windows];
+        for(UIWindow * tmpWin in windows)
+        {
+            if (tmpWin.windowLevel == UIWindowLevelNormal)
+            {
+                window = tmpWin;
+                break;
+            }
+        }
+    }
+    UIView * frontView = [[window subviews] objectAtIndex:0];
+    id nextResponder = [frontView nextResponder];
+    if ([nextResponder isKindOfClass:[UIViewController class]])
+        result = nextResponder;
+    else
+        result = window.rootViewController.presentedViewController;
+    //如果当前parentController是UIViewController,就移除它,保证当前页面只有一个UIViewController
+    if ([parentController isKindOfClass:[UIAlertController class]]) {
+        [parentController dismissViewControllerAnimated:NO completion:nil];
+        parentController = result;
+    }
+    
+    [parentController presentViewController:alertcontroller animated:YES completion:nil];
+}
+
++ (void)showOptionstitle:(NSString *)title Message:(NSString *)message parent:(UIViewController *)parentController leftTitle:(NSString *)leftTItle rightTitle:(NSString *)rightTitle leftClick:(void(^)(void))leftClick rightClick:(void(^)(void))rightClick{
+    
+    //这是获取当前控制器
+    UIViewController * result = nil;
+    UIWindow * window = [[UIApplication sharedApplication] keyWindow];
+    if (window.windowLevel != UIWindowLevelNormal)
+    {
+        NSArray * windows = [[UIApplication sharedApplication] windows];
+        for(UIWindow * tmpWin in windows)
+        {
+            if (tmpWin.windowLevel == UIWindowLevelNormal)
+            {
+                window = tmpWin;
+                break;
+            }
+        }
+    }
+    UIView * frontView = [[window subviews] objectAtIndex:0];
+    id nextResponder = [frontView nextResponder];
+    if ([nextResponder isKindOfClass:[UIViewController class]])
+        result = nextResponder;
+    else
+        result = window.rootViewController.presentedViewController;
+    //-------------------结束-------------------
+    
+    
+    UIAlertController * alertcontroller = [UIAlertController alertControllerWithTitle:title message:message preferredStyle:UIAlertControllerStyleAlert];
+    
+    //title字体
+    NSMutableAttributedString *alertControllerStr = [[NSMutableAttributedString alloc] initWithString:title];
+    [alertControllerStr addAttribute:NSForegroundColorAttributeName value:SXUIColorFromRGB(0x666666) range:NSMakeRange(0, title.length)];
+    [alertControllerStr addAttribute:NSFontAttributeName value:[UIFont systemFontOfSize:16] range:NSMakeRange(0, title.length)];
+    
+    [alertcontroller setValue:alertControllerStr forKey:@"attributedTitle"];
+    
+    
+    
+    
+    //消息颜色字体大小
+    NSMutableAttributedString *alertControllerMessageStr = [[NSMutableAttributedString alloc] initWithString:message];
+    
+    
+    [alertControllerMessageStr addAttribute:NSForegroundColorAttributeName value:SXUIColorFromRGB(0x666666) range:NSMakeRange(0, message.length)];
+    
+    
+    [alertControllerMessageStr addAttribute:NSFontAttributeName value:[UIFont boldSystemFontOfSize:16] range:NSMakeRange(0, message.length)];
+    [alertcontroller setValue:alertControllerMessageStr forKey:@"attributedMessage"];
+    
+    if (leftTItle == nil) {
+        
+    }else {
+        UIAlertAction * leftAction = [UIAlertAction actionWithTitle:leftTItle style:0 handler:^(UIAlertAction *action) {
+            if (leftClick) {
+                leftClick();
+            }
+        }];
+        
+        
+        if ([[UIDevice currentDevice].systemVersion floatValue] >= 8.3) {
+            
+            [leftAction setValue:SXUIColorFromRGB(0x333333) forKey:@"titleTextColor"];
+        }else {
+            
+        }
+
+        [alertcontroller addAction:leftAction];
+
+    }
+
+    UIAlertAction * rightAction = [UIAlertAction actionWithTitle:rightTitle style:0 handler:^(UIAlertAction *action) {
+        if (rightClick) {
+            
+            rightClick();
+        }
+    }];
+    
+    if ([[UIDevice currentDevice].systemVersion floatValue] >= 8.3) {
+        
+        [rightAction setValue:SXUIColorFromRGB(0xff3824) forKey:@"titleTextColor"];
+    }else {
+        
+    }
+    [alertcontroller addAction:rightAction];
+    
+
+    //如果当前parentController是UIViewController,就移除它,保证当前页面只有一个UIViewController
+    if ([parentController isKindOfClass:[UIAlertController class]]) {
+        [parentController dismissViewControllerAnimated:NO completion:nil];
+        parentController = result;
+    }
+    [parentController presentViewController:alertcontroller animated:YES completion:nil];
+}
+
+
+@end

+ 23 - 5
Haishenghai-master/Info.plist

@@ -4,6 +4,8 @@
 <dict>
 	<key>CFBundleDevelopmentRegion</key>
 	<string>$(DEVELOPMENT_LANGUAGE)</string>
+	<key>CFBundleDisplayName</key>
+	<string>海盛海智联</string>
 	<key>CFBundleExecutable</key>
 	<string>$(EXECUTABLE_NAME)</string>
 	<key>CFBundleIdentifier</key>
@@ -17,11 +19,29 @@
 	<key>CFBundleShortVersionString</key>
 	<string>1.0</string>
 	<key>CFBundleVersion</key>
-	<string>1</string>
+	<string>1.1</string>
 	<key>LSRequiresIPhoneOS</key>
 	<true/>
-	<key>UILaunchStoryboardName</key>
-	<string>LaunchScreen</string>
+	<key>NSAppTransportSecurity</key>
+	<dict>
+		<key>NSAllowsArbitraryLoads</key>
+		<true/>
+	</dict>
+	<key>NSCameraUsageDescription</key>
+	<string>允许“海盛海智联”在您使用该应用时访问您的相机吗?你的相机将被用于扫一扫添加设备,发生火警录制视频和火警上报拍摄图片</string>
+	<key>NSLocationAlwaysUsageDescription</key>
+	<string>允许“海盛海智联”在您使用该应用时访问您的位置吗?你的位置信息将被用于设备定位功能</string>
+	<key>NSLocationWhenInUseUsageDescription</key>
+	<string>允许“海盛海智联”在您使用该应用时访问您的位置吗?你的位置信息将被用于设备定位功能</string>
+	<key>NSMicrophoneUsageDescription</key>
+	<string>允许“海盛海智联”在您使用该应用时访问您的麦克风吗?你的麦克风将被用于火警上报时录制语音</string>
+	<key>NSPhotoLibraryUsageDescription</key>
+	<string>允许“海盛海智联”在您使用该应用时访问您的照片吗?你的照片信息将被用于火灾上报时添加照片,照片的保存</string>
+	<key>UIBackgroundModes</key>
+	<array>
+		<string>fetch</string>
+		<string>remote-notification</string>
+	</array>
 	<key>UIMainStoryboardFile</key>
 	<string>Main</string>
 	<key>UIRequiredDeviceCapabilities</key>
@@ -31,8 +51,6 @@
 	<key>UISupportedInterfaceOrientations</key>
 	<array>
 		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
 	</array>
 	<key>UISupportedInterfaceOrientations~ipad</key>
 	<array>

+ 8 - 4
Haishenghai-master/Base.lproj/LaunchScreen.storyboard

@@ -1,7 +1,11 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" systemVersion="17A277" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
+    <device id="retina4_7" orientation="portrait">
+        <adaptation id="fullscreen"/>
+    </device>
     <dependencies>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13527"/>
         <capability name="Safe area layout guides" minToolsVersion="9.0"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
@@ -19,7 +23,7 @@
                 </viewController>
                 <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
             </objects>
-            <point key="canvasLocation" x="53" y="375"/>
+            <point key="canvasLocation" x="52" y="374.66266866566718"/>
         </scene>
     </scenes>
 </document>

+ 435 - 0
Haishenghai-master/MBProgressHUD.h

@@ -0,0 +1,435 @@
+//
+//  MBProgressHUD.h
+//  Version 1.0.0
+//  Created by Matej Bukovinski on 2.4.09.
+//
+
+// This code is distributed under the terms and conditions of the MIT license. 
+
+// Copyright © 2009-2016 Matej Bukovinski
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
+#import <CoreGraphics/CoreGraphics.h>
+
+@class MBBackgroundView;
+@protocol MBProgressHUDDelegate;
+
+
+extern CGFloat const MBProgressMaxOffset;
+
+typedef NS_ENUM(NSInteger, MBProgressHUDMode) {
+    /// UIActivityIndicatorView.
+    MBProgressHUDModeIndeterminate,
+    /// A round, pie-chart like, progress view.
+    MBProgressHUDModeDeterminate,
+    /// Horizontal progress bar.
+    MBProgressHUDModeDeterminateHorizontalBar,
+    /// Ring-shaped progress view.
+    MBProgressHUDModeAnnularDeterminate,
+    /// Shows a custom view.
+    MBProgressHUDModeCustomView,
+    /// Shows only labels.
+    MBProgressHUDModeText
+};
+
+typedef NS_ENUM(NSInteger, MBProgressHUDAnimation) {
+    /// Opacity animation
+    MBProgressHUDAnimationFade,
+    /// Opacity + scale animation (zoom in when appearing zoom out when disappearing)
+    MBProgressHUDAnimationZoom,
+    /// Opacity + scale animation (zoom out style)
+    MBProgressHUDAnimationZoomOut,
+    /// Opacity + scale animation (zoom in style)
+    MBProgressHUDAnimationZoomIn
+};
+
+typedef NS_ENUM(NSInteger, MBProgressHUDBackgroundStyle) {
+    /// Solid color background
+    MBProgressHUDBackgroundStyleSolidColor,
+    /// UIVisualEffectView or UIToolbar.layer background view
+    MBProgressHUDBackgroundStyleBlur
+};
+
+typedef void (^MBProgressHUDCompletionBlock)();
+
+
+NS_ASSUME_NONNULL_BEGIN
+
+
+/** 
+ * Displays a simple HUD window containing a progress indicator and two optional labels for short messages.
+ *
+ * This is a simple drop-in class for displaying a progress HUD view similar to Apple's private UIProgressHUD class.
+ * The MBProgressHUD window spans over the entire space given to it by the initWithFrame: constructor and catches all
+ * user input on this region, thereby preventing the user operations on components below the view.
+ *
+ * @note To still allow touches to pass through the HUD, you can set hud.userInteractionEnabled = NO.
+ * @attention MBProgressHUD is a UI class and should therefore only be accessed on the main thread.
+ */
+@interface MBProgressHUD : UIView
+
+/**
+ * Creates a new HUD, adds it to provided view and shows it. The counterpart to this method is hideHUDForView:animated:.
+ *
+ * @note This method sets removeFromSuperViewOnHide. The HUD will automatically be removed from the view hierarchy when hidden.
+ *
+ * @param view The view that the HUD will be added to
+ * @param animated If set to YES the HUD will appear using the current animationType. If set to NO the HUD will not use
+ * animations while appearing.
+ * @return A reference to the created HUD.
+ *
+ * @see hideHUDForView:animated:
+ * @see animationType
+ */
++ (instancetype)showHUDAddedTo:(UIView *)view animated:(BOOL)animated;
+
+/// @name Showing and hiding
+
+/**
+ * Finds the top-most HUD subview and hides it. The counterpart to this method is showHUDAddedTo:animated:.
+ *
+ * @note This method sets removeFromSuperViewOnHide. The HUD will automatically be removed from the view hierarchy when hidden.
+ *
+ * @param view The view that is going to be searched for a HUD subview.
+ * @param animated If set to YES the HUD will disappear using the current animationType. If set to NO the HUD will not use
+ * animations while disappearing.
+ * @return YES if a HUD was found and removed, NO otherwise.
+ *
+ * @see showHUDAddedTo:animated:
+ * @see animationType
+ */
++ (BOOL)hideHUDForView:(UIView *)view animated:(BOOL)animated;
+
+/**
+ * Finds the top-most HUD subview and returns it. 
+ *
+ * @param view The view that is going to be searched.
+ * @return A reference to the last HUD subview discovered.
+ */
++ (nullable MBProgressHUD *)HUDForView:(UIView *)view;
+
+/**
+ * A convenience constructor that initializes the HUD with the view's bounds. Calls the designated constructor with
+ * view.bounds as the parameter.
+ *
+ * @param view The view instance that will provide the bounds for the HUD. Should be the same instance as
+ * the HUD's superview (i.e., the view that the HUD will be added to).
+ */
+- (instancetype)initWithView:(UIView *)view;
+
+/** 
+ * Displays the HUD. 
+ *
+ * @note You need to make sure that the main thread completes its run loop soon after this method call so that
+ * the user interface can be updated. Call this method when your task is already set up to be executed in a new thread
+ * (e.g., when using something like NSOperation or making an asynchronous call like NSURLRequest).
+ *
+ * @param animated If set to YES the HUD will appear using the current animationType. If set to NO the HUD will not use
+ * animations while appearing.
+ *
+ * @see animationType
+ */
+- (void)showAnimated:(BOOL)animated;
+
+/** 
+ * Hides the HUD. This still calls the hudWasHidden: delegate. This is the counterpart of the show: method. Use it to
+ * hide the HUD when your task completes.
+ *
+ * @param animated If set to YES the HUD will disappear using the current animationType. If set to NO the HUD will not use
+ * animations while disappearing.
+ *
+ * @see animationType
+ */
+- (void)hideAnimated:(BOOL)animated;
+
+/** 
+ * Hides the HUD after a delay. This still calls the hudWasHidden: delegate. This is the counterpart of the show: method. Use it to
+ * hide the HUD when your task completes.
+ *
+ * @param animated If set to YES the HUD will disappear using the current animationType. If set to NO the HUD will not use
+ * animations while disappearing.
+ * @param delay Delay in seconds until the HUD is hidden.
+ *
+ * @see animationType
+ */
+- (void)hideAnimated:(BOOL)animated afterDelay:(NSTimeInterval)delay;
+
+/**
+ * The HUD delegate object. Receives HUD state notifications.
+ */
+@property (weak, nonatomic) id<MBProgressHUDDelegate> delegate;
+
+/**
+ * Called after the HUD is hiden.
+ */
+@property (copy, nullable) MBProgressHUDCompletionBlock completionBlock;
+
+/*
+ * Grace period is the time (in seconds) that the invoked method may be run without
+ * showing the HUD. If the task finishes before the grace time runs out, the HUD will
+ * not be shown at all.
+ * This may be used to prevent HUD display for very short tasks.
+ * Defaults to 0 (no grace time).
+ */
+@property (assign, nonatomic) NSTimeInterval graceTime;
+
+/**
+ * The minimum time (in seconds) that the HUD is shown.
+ * This avoids the problem of the HUD being shown and than instantly hidden.
+ * Defaults to 0 (no minimum show time).
+ */
+@property (assign, nonatomic) NSTimeInterval minShowTime;
+
+/**
+ * Removes the HUD from its parent view when hidden.
+ * Defaults to NO.
+ */
+@property (assign, nonatomic) BOOL removeFromSuperViewOnHide;
+
+/// @name Appearance
+
+/** 
+ * MBProgressHUD operation mode. The default is MBProgressHUDModeIndeterminate.
+ */
+@property (assign, nonatomic) MBProgressHUDMode mode;
+
+/**
+ * A color that gets forwarded to all labels and supported indicators. Also sets the tintColor
+ * for custom views on iOS 7+. Set to nil to manage color individually.
+ * Defaults to semi-translucent black on iOS 7 and later and white on earlier iOS versions.
+ */
+@property (strong, nonatomic, nullable) UIColor *contentColor UI_APPEARANCE_SELECTOR;
+
+/**
+ * The animation type that should be used when the HUD is shown and hidden.
+ */
+@property (assign, nonatomic) MBProgressHUDAnimation animationType UI_APPEARANCE_SELECTOR;
+
+/**
+ * The bezel offset relative to the center of the view. You can use MBProgressMaxOffset
+ * and -MBProgressMaxOffset to move the HUD all the way to the screen edge in each direction.
+ * E.g., CGPointMake(0.f, MBProgressMaxOffset) would position the HUD centered on the bottom edge.
+ */
+@property (assign, nonatomic) CGPoint offset UI_APPEARANCE_SELECTOR;
+
+/**
+ * The amount of space between the HUD edge and the HUD elements (labels, indicators or custom views).
+ * This also represents the minimum bezel distance to the edge of the HUD view.
+ * Defaults to 20.f
+ */
+@property (assign, nonatomic) CGFloat margin UI_APPEARANCE_SELECTOR;
+
+/**
+ * The minimum size of the HUD bezel. Defaults to CGSizeZero (no minimum size).
+ */
+@property (assign, nonatomic) CGSize minSize UI_APPEARANCE_SELECTOR;
+
+/**
+ * Force the HUD dimensions to be equal if possible.
+ */
+@property (assign, nonatomic, getter = isSquare) BOOL square UI_APPEARANCE_SELECTOR;
+
+/**
+ * When enabled, the bezel center gets slightly affected by the device accelerometer data.
+ * Has no effect on iOS < 7.0. Defaults to YES.
+ */
+@property (assign, nonatomic, getter=areDefaultMotionEffectsEnabled) BOOL defaultMotionEffectsEnabled UI_APPEARANCE_SELECTOR;
+
+/// @name Progress
+
+/**
+ * The progress of the progress indicator, from 0.0 to 1.0. Defaults to 0.0.
+ */
+@property (assign, nonatomic) float progress;
+
+/// @name ProgressObject
+
+/**
+ * The NSProgress object feeding the progress information to the progress indicator.
+ */
+@property (strong, nonatomic, nullable) NSProgress *progressObject;
+
+/// @name Views
+
+/**
+ * The view containing the labels and indicator (or customView).
+ */
+@property (strong, nonatomic, readonly) MBBackgroundView *bezelView;
+
+/**
+ * View covering the entire HUD area, placed behind bezelView.
+ */
+@property (strong, nonatomic, readonly) MBBackgroundView *backgroundView;
+
+/**
+ * The UIView (e.g., a UIImageView) to be shown when the HUD is in MBProgressHUDModeCustomView.
+ * The view should implement intrinsicContentSize for proper sizing. For best results use approximately 37 by 37 pixels.
+ */
+@property (strong, nonatomic, nullable) UIView *customView;
+
+/**
+ * A label that holds an optional short message to be displayed below the activity indicator. The HUD is automatically resized to fit
+ * the entire text.
+ */
+@property (strong, nonatomic, readonly) UILabel *label;
+
+/**
+ * A label that holds an optional details message displayed below the labelText message. The details text can span multiple lines.
+ */
+@property (strong, nonatomic, readonly) UILabel *detailsLabel;
+
+/**
+ * A button that is placed below the labels. Visible only if a target / action is added. 
+ */
+@property (strong, nonatomic, readonly) UIButton *button;
+
+@end
+
+
+@protocol MBProgressHUDDelegate <NSObject>
+
+@optional
+
+/** 
+ * Called after the HUD was fully hidden from the screen. 
+ */
+- (void)hudWasHidden:(MBProgressHUD *)hud;
+
+@end
+
+
+/**
+ * A progress view for showing definite progress by filling up a circle (pie chart).
+ */
+@interface MBRoundProgressView : UIView 
+
+/**
+ * Progress (0.0 to 1.0)
+ */
+@property (nonatomic, assign) float progress;
+
+/**
+ * Indicator progress color.
+ * Defaults to white [UIColor whiteColor].
+ */
+@property (nonatomic, strong) UIColor *progressTintColor;
+
+/**
+ * Indicator background (non-progress) color. 
+ * Only applicable on iOS versions older than iOS 7.
+ * Defaults to translucent white (alpha 0.1).
+ */
+@property (nonatomic, strong) UIColor *backgroundTintColor;
+
+/*
+ * Display mode - NO = round or YES = annular. Defaults to round.
+ */
+@property (nonatomic, assign, getter = isAnnular) BOOL annular;
+
+@end
+
+
+/**
+ * A flat bar progress view. 
+ */
+@interface MBBarProgressView : UIView
+
+/**
+ * Progress (0.0 to 1.0)
+ */
+@property (nonatomic, assign) float progress;
+
+/**
+ * Bar border line color.
+ * Defaults to white [UIColor whiteColor].
+ */
+@property (nonatomic, strong) UIColor *lineColor;
+
+/**
+ * Bar background color.
+ * Defaults to clear [UIColor clearColor];
+ */
+@property (nonatomic, strong) UIColor *progressRemainingColor;
+
+/**
+ * Bar progress color.
+ * Defaults to white [UIColor whiteColor].
+ */
+@property (nonatomic, strong) UIColor *progressColor;
+
+@end
+
+
+@interface MBBackgroundView : UIView
+
+/**
+ * The background style. 
+ * Defaults to MBProgressHUDBackgroundStyleBlur on iOS 7 or later and MBProgressHUDBackgroundStyleSolidColor otherwise.
+ * @note Due to iOS 7 not supporting UIVisualEffectView, the blur effect differs slightly between iOS 7 and later versions.
+ */
+@property (nonatomic) MBProgressHUDBackgroundStyle style;
+
+/**
+ * The background color or the blur tint color.
+ * @note Due to iOS 7 not supporting UIVisualEffectView, the blur effect differs slightly between iOS 7 and later versions.
+ */
+@property (nonatomic, strong) UIColor *color;
+
+@end
+
+@interface MBProgressHUD (Deprecated)
+
++ (NSArray *)allHUDsForView:(UIView *)view __attribute__((deprecated("Store references when using more than one HUD per view.")));
++ (NSUInteger)hideAllHUDsForView:(UIView *)view animated:(BOOL)animated __attribute__((deprecated("Store references when using more than one HUD per view.")));
+
+- (id)initWithWindow:(UIWindow *)window __attribute__((deprecated("Use initWithView: instead.")));
+
+- (void)show:(BOOL)animated __attribute__((deprecated("Use showAnimated: instead.")));
+- (void)hide:(BOOL)animated __attribute__((deprecated("Use hideAnimated: instead.")));
+- (void)hide:(BOOL)animated afterDelay:(NSTimeInterval)delay __attribute__((deprecated("Use hideAnimated:afterDelay: instead.")));
+
+- (void)showWhileExecuting:(SEL)method onTarget:(id)target withObject:(id)object animated:(BOOL)animated __attribute__((deprecated("Use GCD directly.")));
+- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block __attribute__((deprecated("Use GCD directly.")));
+- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block completionBlock:(nullable MBProgressHUDCompletionBlock)completion __attribute__((deprecated("Use GCD directly.")));
+- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue __attribute__((deprecated("Use GCD directly.")));
+- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue
+     completionBlock:(nullable MBProgressHUDCompletionBlock)completion __attribute__((deprecated("Use GCD directly.")));
+@property (assign) BOOL taskInProgress __attribute__((deprecated("No longer needed.")));
+
+@property (nonatomic, copy) NSString *labelText __attribute__((deprecated("Use label.text instead.")));
+@property (nonatomic, strong) UIFont *labelFont __attribute__((deprecated("Use label.font instead.")));
+@property (nonatomic, strong) UIColor *labelColor __attribute__((deprecated("Use label.textColor instead.")));
+@property (nonatomic, copy) NSString *detailsLabelText __attribute__((deprecated("Use detailsLabel.text instead.")));
+@property (nonatomic, strong) UIFont *detailsLabelFont __attribute__((deprecated("Use detailsLabel.font instead.")));
+@property (nonatomic, strong) UIColor *detailsLabelColor __attribute__((deprecated("Use detailsLabel.textColor instead.")));
+@property (assign, nonatomic) CGFloat opacity __attribute__((deprecated("Customize bezelView properties instead.")));
+@property (strong, nonatomic) UIColor *color __attribute__((deprecated("Customize the bezelView color instead.")));
+@property (assign, nonatomic) CGFloat xOffset __attribute__((deprecated("Set offset.x instead.")));
+@property (assign, nonatomic) CGFloat yOffset __attribute__((deprecated("Set offset.y instead.")));
+@property (assign, nonatomic) CGFloat cornerRadius __attribute__((deprecated("Set bezelView.layer.cornerRadius instead.")));
+@property (assign, nonatomic) BOOL dimBackground __attribute__((deprecated("Customize HUD background properties instead.")));
+@property (strong, nonatomic) UIColor *activityIndicatorColor __attribute__((deprecated("Use UIAppearance to customize UIActivityIndicatorView. E.g.: [UIActivityIndicatorView appearanceWhenContainedIn:[MBProgressHUD class], nil].color = [UIColor redColor];")));
+@property (atomic, assign, readonly) CGSize size __attribute__((deprecated("Get the bezelView.frame.size instead.")));
+
+@end
+
+NS_ASSUME_NONNULL_END

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1483 - 0
Haishenghai-master/MBProgressHUD.m


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/3d_navi_sky_day.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/3d_sky_day.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/3d_sky_night.data


+ 112 - 0
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/3dlandscape.xml

@@ -0,0 +1,112 @@
+<Xml>
+  <XmlVerSion>v1.0</XmlVerSion>
+  <NavigationParam>
+    <!--横屏:1-->
+    <ScreenDirection>1</ScreenDirection>
+    <!--相机角度多少帧会跟随道路朝向,单位“帧”,10帧/秒-->
+    <InterpolationFrame>30</InterpolationFrame>
+    <!--相机默认仰角(20-80)-->
+    <DefaultTitle>70</DefaultTitle>
+    <!--相机推近后的到地面的默认初始距离(米)-->
+    <DefaultCamerah>40</DefaultCamerah>
+    <!--相机角度前置车标多少米-->
+    <ForwardDis0>50</ForwardDis0>
+    <!--相机角度前置车标多少米(针对掉头)-->
+    <ForwardDis1>10</ForwardDis1>
+    <!--相机角度不可超出阈值-->
+    <ForwardDegreeMax>45</ForwardDegreeMax>
+
+    <!--距离语音点多少米开始下压,0不检测语音点-->
+    <DisBeforeSound>100</DisBeforeSound>
+    <!--走过语音点多少米后开始抬起-->
+    <DisAfterSound>100</DisAfterSound>
+    <!--路口三维推近仰角(20-80)-->
+    <SoundTitle>70</SoundTitle>
+    <!--相机推近后的到地面的最小距离(米)-->
+    <SoundCamerah>40</SoundCamerah>
+
+    <!--距离Pick点多少米开始下压,0不检测Pick点-->
+    <DisBeforePick>100</DisBeforePick>
+    <!--走过Pick点多少米后开始抬起-->
+    <DisAfterPick>100</DisAfterPick>
+    <!--Pick推近最小仰角(20-80)-->
+    <PickTitle>75</PickTitle>
+    <!--相机推近后的到地面的最小距离(米)-->
+    <PickCamerah>3.0</PickCamerah>
+    <!--距离DisBeforePick前的Pick采样间隔(米/帧),实际采样间隔再加上车速-->
+    <PickInterval>4</PickInterval>
+
+    <!--完成下压的限制距离(米)-->
+    <LimitDis>10</LimitDis>
+    <!--低速行驶时相机视角是否往回摆-->
+    <LowSpeedTurnBack>0</LowSpeedTurnBack>
+
+    <!--车道切换、主辅路切换角度阀值(度)-->
+    <LaneSwitchAngle>15</LaneSwitchAngle>
+    <!--车道切换、主辅路切换中间转弯的方向线长度阀值(米)-->
+    <LaneSwitchDis>150</LaneSwitchDis>
+    <!--车道切换、主辅路切换忽略普通线也转弯的长度阀值(米)-->
+    <LaneSwitchIgnorDis>80</LaneSwitchIgnorDis>
+    
+    <!--转弯箭头距离车位置多远开始显示-->
+    <TrunPicMaxDis>250</TrunPicMaxDis>
+    <!--转弯提示文字距离车位置多远开始不显示-->
+    <TrunPicMinDis>25</TrunPicMinDis>
+    <!--转弯提示文字的大小,单位"像素"-->
+    <TrunPicSize>50</TrunPicSize>
+
+    <!--10米比例尺车标宽度,单位"米"-->
+    <CarWidth>6.5</CarWidth>
+
+    <!--车道线宽,单位"米"-->
+    <RoadLineWidth>7.0</RoadLineWidth>
+    <!--车道线颜色-->
+    <LineColorRed>0</LineColorRed>
+    <LineColorGreen>174</LineColorGreen>
+    <LineColorBlue>255</LineColorBlue>
+    <LineColorAlpha>204</LineColorAlpha>
+
+    <!--方向线向前长度,单位"米"-->
+    <LineforwardLength>30</LineforwardLength>
+    <!--方向线向后长度,单位"米"-->
+    <LinebackLength>30</LinebackLength>
+    <!--方向线宽度,单位"米"-->
+    <LineWidth>7.0</LineWidth>
+    <!--车道线融合(0-255,0全透,暂无效)-->
+    <LineAlpha>100</LineAlpha>
+    
+  </NavigationParam>
+  <AnimateParam>
+    <!--二维进入三维,蒙板颜色红色分量[0,255]-->
+    <ColorInRed>29</ColorInRed>
+    <!--二维进入三维,蒙板颜色绿色分量[0,255]-->
+    <ColorInGreed>30</ColorInGreed>
+    <!--二维进入三维,蒙板颜色蓝色分量[0,255]-->
+    <ColorInBlue>26</ColorInBlue>
+    <!--二维动画帧数-->
+    <FrameIn2d>4</FrameIn2d>
+    <!--三维动画帧数-->
+    <FrameIn3d>6</FrameIn3d>
+
+    <!--三维退出二维,蒙板颜色红色分量[0,255]-->
+    <ColorOutRed>29</ColorOutRed>
+    <!--三维退出二维,蒙板颜色绿色分量[0,255]-->
+    <ColorOutGreed>30</ColorOutGreed>
+    <!--三维退出二维,蒙板颜色蓝色分量[0,255]-->
+    <ColorOutBlue>26</ColorOutBlue>
+    <!--二维动画帧数-->
+    <FrameOut2d>2</FrameOut2d>
+    <!--三维动画帧数-->
+    <FrameOut3d>3</FrameOut3d>
+
+    <!--2d透明度变化范围起始值[0,255]-->
+    <AlphaBegin2d>60</AlphaBegin2d>
+    <!--2d透明度变化范围结束值[0,255]-->
+    <AlphaEnd2d>120</AlphaEnd2d>
+    <!--透明度变化范围起始值[0,255]-->
+    <AlphaBegin3d>180</AlphaBegin3d>
+    <!--透明度变化范围结束值[0,255]-->
+    <AlphaEnd3d>100</AlphaEnd3d>
+    
+  </AnimateParam> 
+</Xml>

+ 112 - 0
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/3dportrait.xml

@@ -0,0 +1,112 @@
+<Xml>
+  <XmlVerSion>v1.0</XmlVerSion>
+  <NavigationParam>
+    <!--竖屏:0-->
+    <ScreenDirection>0</ScreenDirection>
+    <!--相机角度多少帧会跟随道路朝向,单位“帧”,10帧/秒-->
+    <InterpolationFrame>30</InterpolationFrame>
+    <!--相机默认仰角(20-80)-->
+    <DefaultTitle>65</DefaultTitle>
+    <!--相机推近后的到地面的默认初始距离(米)-->
+    <DefaultCamerah>50</DefaultCamerah>
+    <!--相机角度前置车标多少米-->
+    <ForwardDis0>50</ForwardDis0>
+    <!--相机角度前置车标多少米(针对掉头)-->
+    <ForwardDis1>10</ForwardDis1>
+    <!--相机角度不可超出阈值-->
+    <ForwardDegreeMax>45</ForwardDegreeMax>
+
+    <!--距离语音点多少米开始下压,0不检测语音点-->
+    <DisBeforeSound>100</DisBeforeSound>
+    <!--走过语音点多少米后开始抬起-->
+    <DisAfterSound>100</DisAfterSound>
+    <!--路口三维推近仰角(20-80)-->
+    <SoundTitle>65</SoundTitle>
+    <!--相机推近后的到地面的最小距离(米)-->
+    <SoundCamerah>50</SoundCamerah>
+
+    <!--距离Pick点多少米开始下压,0不检测Pick点-->
+    <DisBeforePick>100</DisBeforePick>
+    <!--走过Pick点多少米后开始抬起-->
+    <DisAfterPick>100</DisAfterPick>
+    <!--Pick推近最小仰角(20-80)-->
+    <PickTitle>70</PickTitle>
+    <!--相机推近后的到地面的最小距离(米)-->
+    <PickCamerah>3.0</PickCamerah>
+    <!--距离DisBeforePick前的Pick采样间隔(米/帧),实际采样间隔再加上车速-->
+    <PickInterval>4</PickInterval>
+
+    <!--完成下压的限制距离(米)-->
+    <LimitDis>10</LimitDis>
+    <!--低速行驶时相机视角是否往回摆-->
+    <LowSpeedTurnBack>0</LowSpeedTurnBack>
+
+    <!--车道切换、主辅路切换角度阀值(度)-->
+    <LaneSwitchAngle>15</LaneSwitchAngle>
+    <!--车道切换、主辅路切换中间转弯的方向线长度阀值(米)-->
+    <LaneSwitchDis>150</LaneSwitchDis>
+    <!--车道切换、主辅路切换忽略普通线也转弯的长度阀值(米)-->
+    <LaneSwitchIgnorDis>80</LaneSwitchIgnorDis>
+    
+    <!--转弯箭头距离车位置多远开始显示-->
+    <TrunPicMaxDis>250</TrunPicMaxDis>
+    <!--转弯提示文字距离车位置多远开始不显示-->
+    <TrunPicMinDis>25</TrunPicMinDis>
+    <!--转弯提示文字的大小,单位"像素"-->
+    <TrunPicSize>50</TrunPicSize>
+
+    <!--10米比例尺车标宽度,单位"米"-->
+    <CarWidth>6.5</CarWidth>
+
+    <!--车道线宽,单位"米"-->
+    <RoadLineWidth>7.0</RoadLineWidth>
+    <!--车道线颜色-->
+    <LineColorRed>0</LineColorRed>
+    <LineColorGreen>174</LineColorGreen>
+    <LineColorBlue>255</LineColorBlue>
+    <LineColorAlpha>204</LineColorAlpha>
+
+    <!--方向线向前长度,单位"米"-->
+    <LineforwardLength>30</LineforwardLength>
+    <!--方向线向后长度,单位"米"-->
+    <LinebackLength>30</LinebackLength>
+    <!--方向线宽度,单位"米"-->
+    <LineWidth>7.0</LineWidth>
+    <!--车道线融合(0-255,0全透,暂无效)-->
+    <LineAlpha>100</LineAlpha>
+    
+  </NavigationParam>
+  <AnimateParam>
+    <!--二维进入三维,蒙板颜色红色分量[0,255]-->
+    <ColorInRed>29</ColorInRed>
+    <!--二维进入三维,蒙板颜色绿色分量[0,255]-->
+    <ColorInGreed>30</ColorInGreed>
+    <!--二维进入三维,蒙板颜色蓝色分量[0,255]-->
+    <ColorInBlue>26</ColorInBlue>
+    <!--二维动画帧数-->
+    <FrameIn2d>4</FrameIn2d>
+    <!--三维动画帧数-->
+    <FrameIn3d>6</FrameIn3d>
+
+    <!--三维退出二维,蒙板颜色红色分量[0,255]-->
+    <ColorOutRed>29</ColorOutRed>
+    <!--三维退出二维,蒙板颜色绿色分量[0,255]-->
+    <ColorOutGreed>30</ColorOutGreed>
+    <!--三维退出二维,蒙板颜色蓝色分量[0,255]-->
+    <ColorOutBlue>26</ColorOutBlue>
+    <!--二维动画帧数-->
+    <FrameOut2d>2</FrameOut2d>
+    <!--三维动画帧数-->
+    <FrameOut3d>3</FrameOut3d>
+
+    <!--2d透明度变化范围起始值[0,255]-->
+    <AlphaBegin2d>60</AlphaBegin2d>
+    <!--2d透明度变化范围结束值[0,255]-->
+    <AlphaEnd2d>120</AlphaEnd2d>
+    <!--透明度变化范围起始值[0,255]-->
+    <AlphaBegin3d>180</AlphaBegin3d>
+    <!--透明度变化范围结束值[0,255]-->
+    <AlphaEnd3d>100</AlphaEnd3d>
+    
+  </AnimateParam> 
+</Xml>

BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/1015.png


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/1016.png


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/exit_label_bk_main_day.png


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/exit_label_bk_secondary_day.png


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/grass_day.png


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/grass_night.png


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/road_bottom_day.png


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/road_bottom_night.png


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/roadbk_main_day.png


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/VM3DRes/roadbk_main_night.png


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/bktile.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/bktile_n.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/building.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/config_1_14_1510107091.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/config_2_14_1510107001.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/crossing_day_bk.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/crossing_nigth_bk.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/dash.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/dash_cd.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/dash_tq.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/gconfig_1_14_1484563173.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_10_14_1510107265.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_1_14_1517312363.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_23_14_1514285400.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_24_14_1510107285.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_25_14_1510054937.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_27_14_1517312468.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_2_14_1517312372.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_35_14_1521026482.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_3_14_1517312381.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_4_14_1510107228.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_50_14_1501055190.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_5_14_1517312288.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_5_14_for_custom.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_6_14_1510107235.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_7_14_1510107241.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/icons_8_14_1517312432.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/lineround.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/roadarrow.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/search_scenic_icon.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/style_0_14_1520856789.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/style_0_14_1527582292_for_custom.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/style_100_14_1521026633.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/style_10_14_1510107620.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/style_1_14_1520908388.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/style_3_14_1517301966.data


BIN
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/style_4_14_1520827092.data


+ 0 - 0
Haishenghai-master/MapLib/AMap.bundle/AMap3D.bundle/style_50_14_1501671321.data


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels