Esempio n. 1
0
 public TrackingStoreCarton(TrackingDataSet.CartonDetailForStoreTableRow carton)
 {
     this.mCartonNumber = carton.CartonNo;
     this.mWeight       = carton.Weight;
     if (!carton.IsPudtNull())
     {
         this.mPickupDate = carton.Pudt;
     }
     this.mShipperName = carton.ShpName;
     if (!carton.IsCtnStsNull())
     {
         this.mCartonStatus = carton.CtnSts;
     }
     if (!carton.IsScnStsNull())
     {
         this.mScanStatus = carton.ScnSts;
     }
     if (!carton.IsPodDateNull())
     {
         this.mPODDate = carton.PodDate;
     }
     if (!carton.IsPodDateNull())
     {
         this.mPODTime = carton.PodTime;
     }
 }
Esempio n. 2
0
 public TrackingStoreTL(TrackingDataSet.CartonDetailForStoreTableRow tl)
 {
     this.mTL      = tl.TL;
     this.mCartons = tl.CartonCount;
     this.mWeight  = tl.Weight;
     this.mCBOL    = tl.CBOL;
     if (!tl.IsOFD1Null())
     {
         this.mOFD = tl.OFD1;
     }
     if (!tl.IsPodDateNull())
     {
         this.mPOD = tl.PodDate;
     }
     this.mAgentNumber = tl.AG;
     this.mAgentName   = tl.AgName;
 }