C# Class SANTA.Datatype.CaliberUnit

A structure for possible units of caliber.
Mostra file Open project: siegleal/iSanta

Public Properties

Property Type Description
caliberUnitID int
unitName String
unitsPerInch double

Public Methods

Method Description
CaliberUnit ( ) : System

Constructs an empty caliber unit, effectively null.

CaliberUnit ( int caliberUnitID, String unitName, double unitsPerInch ) : System

Constructs a caliber unit.

Method Details

CaliberUnit() public method

Constructs an empty caliber unit, effectively null.
public CaliberUnit ( ) : System
return System

CaliberUnit() public method

Constructs a caliber unit.
public CaliberUnit ( int caliberUnitID, String unitName, double unitsPerInch ) : System
caliberUnitID int The database ID for the caliber unit.
unitName String The name of the unit (cal., in., mm., etc.).
unitsPerInch double The number of caliber units that are in one inch /// for type conversion purposes.
return System

Property Details

caliberUnitID public_oe property

The database ID for the caliber unit.
public int caliberUnitID
return int

unitName public_oe property

The name of the unit (cal., in., mm., etc.).
public String unitName
return String

unitsPerInch public_oe property

The number of caliber units that are in one inch for type conversion purposes.
public double unitsPerInch
return double