/// <summary>
 /// 发送命令
 /// </summary>
 /// <param name="cmd"></param>
 /// <param name="client"></param>
 public void SendToService(CtrlPlatformCommandInfo cmd, IPlatformClient client)
 {
     try
     {
         PlatformServiceClient psc = new PlatformServiceClient();
         psc.DoActionCompleted += client_DoActionCompleted;
         psc.DoActionAsync(CommandHelper.ToPlatfromCommandInfo(cmd), client);
     }
     catch (Exception ee)
     {
         PrintfLog(ee);
     }
     //  PrintfLog(cmd, "发送命令信息");
 }