public static NResultInfo FromNetMsg(MsgResultInfo info) { NResultInfo resultInfo = new NResultInfo(); resultInfo.Msg = info.Msg; resultInfo.Status = info.Status; resultInfo.BatchNO = info.BatchNO; resultInfo.CurFileIndex = resultInfo.CurFileIndex; resultInfo.CurFileName = resultInfo.CurFileName; resultInfo.ProcessingFileIds = info.ProcessingFileIdsList; resultInfo.BatchInfo = NBatchInfo.FromPBMsg(info.BatchInfo); return(resultInfo); }
public static NBatchHisRsp FromPBMsg(MsgBatchHisRsp input) { NBatchHisRsp nBatchHisRsp = new NBatchHisRsp(); bool flag = input != null && input.Batchs1List != null; if (flag) { foreach (MsgBatchInfo current in input.Batchs1List) { nBatchHisRsp._batchs.Add(NBatchInfo.FromPBMsg(current)); } } return(nBatchHisRsp); }
public bool LoadBatch(NBatchInfo info) { return(false); }