public bool Compare(BubblerParameter rhs)
 {
     return((this.NetWeight == rhs.NetWeight) &&
            (this.GrossWeight == rhs.GrossWeight) &&
            (this.Weight == rhs.Weight) &&
            (this.Measured == rhs.Measured) &&
            (this.Tare == rhs.Tare));
     //&& (this.DateInstalled == rhs.DateInstalled)
     //&& (this.DateRemoved == rhs.DateRemoved);
 }
 public void Set(BubblerParameter bubbler)
 {
     this.Weight      = bubbler.Weight;
     this.NetWeight   = bubbler.NetWeight;
     this.Tare        = bubbler.Tare;
     this.GrossWeight = bubbler.GrossWeight;
     this.Measured    = bubbler.Measured;
     //this.DateInstalled = bubbler.DateInstalled;
     //this.DateRemoved = bubbler.DateRemoved;
     this.UpdateWeight();
 }
Exemplo n.º 3
0
 public PartInstance(string name, string serialNumber, string batchNumber, string skuNumber, bool isBubbler, BubblerParameter param) : this(name, serialNumber, batchNumber, skuNumber, isBubbler)
 {
     this.BubblerParameter = param;
 }