Przeglądaj źródła

PRS MOBILE - connection test app

Nick-PRSDigital@bitbucket.org 2 lat temu
rodzic
commit
02241781d1

+ 0 - 1
prs.mobile/ConnectionTestApp/ConnectionTest/ConnectionTest.Android/Resources/Resource.designer.cs

@@ -2,7 +2,6 @@
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     This code was generated by a tool.
-//     Runtime Version:4.0.30319.42000
 //
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     the code is regenerated.

+ 1 - 1
prs.mobile/ConnectionTestApp/ConnectionTest/ConnectionTest/ConnectionTestUnit.xaml.cs

@@ -104,7 +104,7 @@ namespace ConnectionTest
                 try
                 {
                     Thread.Sleep(500);
-                    var client = new JsonClient<User>(URL);
+                    var client = new JsonClient<User>(URL, false, false, BinarySerializationSettings.Latest);
                     var result = client.Validate("TAN", "nictan", Guid.Empty);
 
                     Device.BeginInvokeOnMainThread(() =>

+ 4 - 4
prs.mobile/ConnectionTestApp/ConnectionTest/ConnectionTest/MainPage.xaml.cs

@@ -15,10 +15,10 @@ namespace ConnectionTest
     {
         List<string> urls = new List<string>
         { 
-            "remote.com-al.com.au:8000",
-            "remote2.com-al.com.au:8000",
-            "remote.prsdigital.com.au:8005",
-            "remote2.prsdigital.com.au:8005",
+            //"remote.com-al.com.au:8000",
+            //"remote2.com-al.com.au:8000",
+            //"remote.prsdigital.com.au:8005",
+            //"remote2.prsdigital.com.au:8005",
             "remote.com-al.com.au:8020",
         };
         public MainPage()