/// <summary>
 /// SrmBarcodeInfo -> BarcodeInfo
 /// </summary>
 /// <param name="srmBarcodeInfo"></param>
 /// <param name="barcodeInfo"></param>
 public static void GetBarcodeInfo(SrmBarcodeInfo srmBarcodeInfo, ref BarcodeInfo barcodeInfo)
 {
     if (srmBarcodeInfo == null)
     {
         return;
     }
     ///BARCODE_DATA
     barcodeInfo.BarcodeData = srmBarcodeInfo.PackageBarcode;
     ///ASN_RUNSHEET_NO
     barcodeInfo.AsnRunsheetNo = srmBarcodeInfo.SourceOrderCode;
     ///PART_NO
     barcodeInfo.PartNo = srmBarcodeInfo.PartNo;
     ///PART_CNAME
     barcodeInfo.PartCname = srmBarcodeInfo.PartCname;
     ///CURRENT_QTY
     barcodeInfo.CurrentQty = srmBarcodeInfo.PartQty;
     ///DLOC
     barcodeInfo.Dloc = srmBarcodeInfo.TargetSlcode;
     ///PACKAGE_MODEL
     barcodeInfo.PackageModel = srmBarcodeInfo.PackageCode;
     ///PACKAGE
     barcodeInfo.Package = srmBarcodeInfo.Snp;
     ///COMMENTS
     barcodeInfo.Comments = srmBarcodeInfo.Remark;
 }
 public long InsertInfo(SrmBarcodeInfo info)
 {
     return dal.Add(info);
 }