예제 #1
0
 private void setTotalMass()
 {
     double totalMass = _itemCount * CargoableItem.Mass;
     TotalMass = Stringify.Mass(totalMass, "0.###");
 }
예제 #2
0
 public string GetOutgoingMass()
 {
     return Stringify.Mass(ItemOutgoingAmount * CargoableItem.Mass, "0.###");
 }
예제 #3
0
 public string GetStoredMass()
 {
     return Stringify.Mass(_itemCount * CargoableItem.Mass, "0.###");
 }
예제 #4
0
 public string GetIncomingMass()
 {
     return Stringify.Mass(ItemIncomingAmount * CargoableItem.Mass, "0.###");
 }