Sfoglia il codice sorgente

161228

test version 1.0
Ray Zhang 9 anni fa
parent
commit
bf0d5ffaaa

+ 13 - 11
Ants Contract/AntsContract/AntsContract/GEIC - Home Improvement Contract 2016.json

@@ -11,39 +11,40 @@
             "height": 80,
             "field": "team",
             "title": "team button",
-            "single_select": false,
+            "single_select": true,
+            "show_detail": true,
             "marker_size": 8,
             "cadedate": [
                          [
-                          "T&C",
+                          ["T&C","Tan & Chan Construction Lic. B1010166, 2827 22nd Street, Oakland, CA 94606"],
                           [
                            127,
                            143
                            ]
                           ],
                          [
-                          "W",
+                          ["W","WMA Construction Lic. B988052, 2888 Darius Way, San Leandro, CA 94577"],
                           [
                            236,
                            143
                            ]
                           ],
                          [
-                          "X",
+                          ["X","JimXu Builder Lic. B975007, 1034 Sutter St. #5, San Francisco, CA 94109"],
                           [
                            336,
                            143
                            ]
                           ],
                          [
-                          "F",
+                          ["F","F Huang Construction Inc. Lic. B1011198, 3726 Rosalee Court, Castro Valley, CA 94546"],
                           [
                            428,
                            143
                            ]
                           ],
                          [
-                          "GE",
+                          ["GE","Granite Expo Installation Inc. Lic. B896945, 3401 Mandela Pkwy, Oakland, CA 94608"],
                           [
                            533,
                            143
@@ -133,38 +134,39 @@
             "field": "service",
             "title": "service button",
             "single_select": false,
+            "show_detail": false,
             "marker_size": 6,
             "cadedate": [
                          [
-                          "T&C",
+                          ["Installation of Cabinetry.",""],
                           [
                            133,
                            545
                            ]
                           ],
                          [
-                          "W",
+                          ["Installation of Granite, Marble or Quartz Countertop(s).",""],
                           [
                            133,
                            557
                            ]
                           ],
                          [
-                          "X",
+                          ["Installation of Plywood.",""],
                           [
                            133,
                            569
                            ]
                           ],
                          [
-                          "F",
+                          ["Demolition Work.",""],
                           [
                            133,
                            581
                            ]
                           ],
                          [
-                          "GE",
+                          ["Other / Include Description:",""],
                           [
                            133,
                            593

+ 16 - 1
Ants Contract/AntsContract/AntsContract/config.h

@@ -11,5 +11,20 @@
 
 #define DEBUG_PDFSIG true
 
-#define PDF_DEBUG true
+#define PDF_DEBUG false
+
+//#define test_server
+
+#ifdef test_server
+    #define  URL_ERR_LOG  @""
+    #define  URL_UPDATE_AUTH  @"http://192.168.0.155/phpcms/admin.php"
+    #define  URL_UPLOAD_PDF  @"http://192.168.0.155/phpcms/admin.php"
+    #define  URL_LOGOUT  @"http://192.168.0.155/phpcms/admin.php"
+#else
+    #define  URL_ERR_LOG  @""
+    #define  URL_UPDATE_AUTH  @""
+    #define  URL_UPLOAD_PDF  @""
+    #define  URL_LOGOUT  @""
+#endif
+
 #endif /* config_h */

+ 13 - 0
Ants Contract/AntsContract/AntsContract/const.h

@@ -26,6 +26,19 @@
 
 
 #define UIColorFromRGB(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 UIColorFromRGBA(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF000000) >> 32))/255.0 green:((float)((rgbValue & 0xFF0000) >> 16))/255.0 blue:((float)((rgbValue & 0xFF00) >> 8))/255.0 alpha:((float)(rgbValue & 0xFF))/255.0]
+
+
+
+
+
+#define TV_BG 0xccffff
+#define CK_BG 0xccffff
+#define CK_MK 0x000000
+#define SIG_BG 0xFFFFCC
+
+
+#define JSON_TIMEOUT 30
 
 
 #endif /* const_h */

+ 2 - 2
Ants Contract/AntsContract/AntsContract/main.m

@@ -1,8 +1,8 @@
 //
 //  main.m
-//  AntsContract
+//  Granite Expo eSign
 //
-//  Created by Ray on 12/16/16.
+//  Created by Ray on 12/27/16.
 //  Copyright © 2016 United Software Applications, Inc. All rights reserved.
 //