public string CancelJobByJobIDList(List<int> jobIDList)
        {
            if (clientKey == "")
                return null;
            try
            {
                AsyncClientServerJobCancelRequestMessage msg = new AsyncClientServerJobCancelRequestMessage();
                msg.clientKey = this.clientKey;
                foreach (int jobID in jobIDList)
                {
                    msg.jobIDList.Add(jobID);
                }
                asyncServerCommSender.SendRequest(msg);
                return msg.msgID;

            }
            catch (Exception)
            {
                return null;
            }
        }
 public string CancelJobByJobListID(int jobListID)
 {
     if (clientKey == "")
         return null;
     try
     {
         AsyncClientServerJobCancelRequestMessage msg = new AsyncClientServerJobCancelRequestMessage();
         msg.clientKey = this.clientKey;
         msg.jobListID = jobListID;
         asyncServerCommSender.SendRequest(msg);
         return msg.msgID;
         
     }
     catch (Exception)
     {
         return null;
     }
 }