예제 #1
0
 public static object CallSendCmd(string name, params object[] values)
 {
     using (var client = new DataServiceClient())
         return(client.SendCmd(name, values));
 }
예제 #2
0
 /// <summary>
 /// Call DataServer to create ClientID
 /// </summary>
 /// <param name="machineName"></param>
 /// <returns></returns>
 public static int CallCreateClient(string machineName)
 {
     using (var client = new DataServiceClient())
         return(client.CreateClient(machineName));
 }
예제 #3
0
 public static CountryData[] CallQueryContries(UserAuth user)
 {
     using (var client = new DataServiceClient())
         return(client.QueryContries());
 }
예제 #4
0
 public static string[] CallQuerySiteCodes(int clientId, int countryId, string P2FileNumber, int count)
 {
     using (var client = new DataServiceClient())
         return(client.QuerySiteCodes(clientId, countryId, P2FileNumber, count));
 }