public void submitMove(string sku, string fromloc, string fromid, string toid, string qty, string actloc)
        {
            string errortxt = this.Vaildate();
            if (errortxt != string.Empty)
            {
                MessageBox.Show(errortxt);
                this.focusControl.Focus();
                return;
            }
            reqitem = req.Utility.Create( sku,  fromloc,  fromid,  toid,  qty,  actloc);
            reqitem.UtilityHeader.userid = this.loginuser.UserName;
             RequestMessage request = new RequestMessage(enumRequestType.MessageProcessor,
                  enumMessageType.Utility,
                  enumRequestMethod.functionOperation, this.loginuser,
                  enumSendSysId.EXceed,
                  reqitem);
            //RequestWorkItem workitem = new RequestWorkItem(request, 1);
            ResponseMessage response = ThreadHelper.Execute(request);
            string errormsg = response.GetErrorMessage();
            if (errormsg != string.Empty)
            {
                MessageBox.Show(response.GetErrorMessage());
            }
            else
            {
                MessageBox.Show("移动完成");
                Clean();

            }
        }
 public static Utility Create(string sku, string fromloc, string fromid, string toid, string qty, string actloc)
 {
     Utility data = new Utility();
     data.UtilityHeader.toid = toid;
     data.UtilityHeader.sku = sku;
     data.UtilityHeader.fromloc = fromloc;
     data.UtilityHeader.fromid = fromid;
     data.UtilityHeader.qty = qty;
     data.UtilityHeader.actloc = actloc;
     return data;
 }