public MesMissingpartsMainInfo ConversionToCentreInfo(BFDAMesMissingpartsMainInfo bfdaInfo)
        {
            MesMissingpartsMainInfo mainInfo = new MesMissingpartsMainInfo();

            mainInfo.Enterprise = bfdaInfo.ENTERPRISE;
            mainInfo.SiteNo     = bfdaInfo.SITE_NO;
            mainInfo.AreaNo     = bfdaInfo.AREA_NO;
            mainInfo.DmsNo      = bfdaInfo.DMS_NO;
            mainInfo.SendTime   = bfdaInfo.SEND_TIME;
            mainInfo.DTLS       = new List <MesMissingpartsDetailInfo>();
            if (bfdaInfo.DTLS.Count > 0)
            {
                foreach (BFDAMesMissingpartsDetailInfo item in bfdaInfo.DTLS)
                {
                    MesMissingpartsDetailInfo detailinfo = new MesMissingpartsDetailInfo();
                    detailinfo.DmsNo       = item.DMS_NO;
                    detailinfo.Stationcode = item.STATIONCODE;
                    detailinfo.Matercode   = item.MATERCODE;
                    detailinfo.Qty         = item.QTY.GetValueOrDefault();
                    mainInfo.DTLS.Add(detailinfo);
                }
            }
            return(mainInfo);
        }
 public void InsertInfoToCentreTable(BFDAMesMissingpartsMainInfo interfaceInfo, Guid logFid, string logSql)
 {
     throw new NotImplementedException();
 }
 public string GetKeyValue(BFDAMesMissingpartsMainInfo interfaceInfo)
 {
     throw new NotImplementedException();
 }