IDimensions.cs 539 B

12345678910111213141516171819
  1. using System;
  2. namespace InABox.Core
  3. {
  4. public interface IDimensions
  5. {
  6. IDimensionUnit GetUnit();
  7. double Quantity { get; set; }
  8. double Length { get; set; }
  9. double Width { get; set; }
  10. double Height { get; set; }
  11. double Weight { get; set; }
  12. double Value { get; set; }
  13. String UnitSize { get; set; }
  14. public void Set(IDimensionUnit unit, double quantity, double length, double width, double height, double weight);
  15. void CopyFrom(IDimensions source);
  16. }
  17. }