C# Class SANTA.Datatype.ImageData

A structure that holds all information about a particular target image.
Mostra file Open project: siegleal/iSanta

Public Properties

Property Type Description
ammunitionNotes String
bitmap System.Drawing.Bitmap
caliber CaliberUnit
caliberValue double
dateTimeFired System.DateTime
dateTimeProcessed System.DateTime
distance int
distanceUnits UnitsOfMeasure
lotNumber String
origFilename String
points IList
projectileMassGrains int
rangeLocation String
regionOfInterest ROI
reportFilename String
scale Scale
serialNumber String
shooterFName String
shooterLName String
shotsFired int
targetID int
tempDetails String[]
temperature System.Temperature
weaponName String
weaponNotes String

Public Methods

Method Description
GenerateTestData ( ) : ImageData

Generates test data for an image.

ImageData ( ) : System

Constructs a blank ImageData object.

ImageData ( String origFilename, String reportFilename, System.DateTime dateTimeFired, String shooterLName, String shooterFName, String rangeLocation, UnitsOfMeasure distanceUnits, int distance, Temperature temperature, String weaponName, String serialNumber, String weaponNotes, CaliberUnit caliber, double caliberValue, String lotNumber, int projectileMassGrains, String ammunitionNotes, Scale scale, int shotsFired, IList points ) : System

Constructs an ImageData object with given parameters.

ImageData ( String origFilename, String reportFilename, System.DateTime dateTimeFired, String shooterLName, String shooterFName, String rangeLocation, UnitsOfMeasure distanceUnits, int distance, Temperature temperature, String weaponName, String serialNumber, String weaponNotes, CaliberUnit caliber, double caliberValue, String lotNumber, int projectileMassGrains, String ammunitionNotes, Scale scale, int shotsFired, IList points, ROI roi ) : System

Constructs an ImageData object with given parameters.

Method Details

GenerateTestData() public static method

Generates test data for an image.
public static GenerateTestData ( ) : ImageData
return ImageData

ImageData() public method

Constructs a blank ImageData object.
public ImageData ( ) : System
return System

ImageData() public method

Constructs an ImageData object with given parameters.
public ImageData ( String origFilename, String reportFilename, System.DateTime dateTimeFired, String shooterLName, String shooterFName, String rangeLocation, UnitsOfMeasure distanceUnits, int distance, Temperature temperature, String weaponName, String serialNumber, String weaponNotes, CaliberUnit caliber, double caliberValue, String lotNumber, int projectileMassGrains, String ammunitionNotes, Scale scale, int shotsFired, IList points ) : System
origFilename String The filename of the image.
reportFilename String The filename where the Excel report is stored.
dateTimeFired System.DateTime The date and time the target was fired upon.
shooterLName String The shooter's last name.
shooterFName String The shooter's first name.
rangeLocation String The location of the range.
distanceUnits UnitsOfMeasure The units that the distance to target is measured in.
distance int The distance to the target.
temperature System.Temperature The temperature on the range.
weaponName String The name of the weapon.
serialNumber String The serial number of the weapon.
weaponNotes String Notes on the weapon.
caliber CaliberUnit The units of caliber of the ammunition used.
caliberValue double The caliber of the ammunition used.
lotNumber String The lot number of the ammunition.
projectileMassGrains int The projectile mass in units of grains.
ammunitionNotes String Notes on the ammunition.
scale Scale The scale information for the target.
shotsFired int The number of shots fired.
points IList A list of points where bullet holes are located.
return System

ImageData() public method

Constructs an ImageData object with given parameters.
public ImageData ( String origFilename, String reportFilename, System.DateTime dateTimeFired, String shooterLName, String shooterFName, String rangeLocation, UnitsOfMeasure distanceUnits, int distance, Temperature temperature, String weaponName, String serialNumber, String weaponNotes, CaliberUnit caliber, double caliberValue, String lotNumber, int projectileMassGrains, String ammunitionNotes, Scale scale, int shotsFired, IList points, ROI roi ) : System
origFilename String The filename of the image.
reportFilename String The filename where the Excel report is stored.
dateTimeFired System.DateTime The date and time the target was fired upon.
shooterLName String The shooter's last name.
shooterFName String The shooter's first name.
rangeLocation String The location of the range.
distanceUnits UnitsOfMeasure The units that the distance to target is measured in.
distance int The distance to the target.
temperature System.Temperature The temperature on the range.
weaponName String The name of the weapon.
serialNumber String The serial number of the weapon.
weaponNotes String Notes on the weapon.
caliber CaliberUnit The units of caliber of the ammunition used.
caliberValue double The caliber of the ammunition used.
lotNumber String The lot number of the ammunition.
projectileMassGrains int The projectile mass in units of grains.
ammunitionNotes String Notes on the ammunition.
scale Scale The scale information for the target.
shotsFired int The number of shots fired.
points IList A list of points where bullet holes are located.
roi ROI The region of interest for the target.
return System

Property Details

ammunitionNotes public_oe property

Notes on the ammunition.
public String ammunitionNotes
return String

bitmap public_oe property

The bitmap image of the target.
public Bitmap,System.Drawing bitmap
return System.Drawing.Bitmap

caliber public_oe property

The units of caliber of the ammunition used.
public CaliberUnit caliber
return CaliberUnit

caliberValue public_oe property

The caliber of the ammunition used.
public double caliberValue
return double

dateTimeFired public_oe property

The date and time the target was fired upon.
public DateTime,System dateTimeFired
return System.DateTime

dateTimeProcessed public_oe property

The date and time the target was prcoessed by the system.
public DateTime,System dateTimeProcessed
return System.DateTime

distance public_oe property

The distance to the target.
public int distance
return int

distanceUnits public_oe property

The units that the distance to target is measured in.
public UnitsOfMeasure distanceUnits
return UnitsOfMeasure

lotNumber public_oe property

The lot number of the ammunition.
public String lotNumber
return String

origFilename public_oe property

The filename of the image.
public String origFilename
return String

points public_oe property

A list of points where bullet holes are located.
public IList points
return IList

projectileMassGrains public_oe property

The projectile mass in units of grains.
public int projectileMassGrains
return int

rangeLocation public_oe property

The location of the range.
public String rangeLocation
return String

regionOfInterest public_oe property

The region of interest for the target.
public ROI regionOfInterest
return ROI

reportFilename public_oe property

The filename where the Excel report is stored.
public String reportFilename
return String

scale public_oe property

The scale information for the target.
public Scale scale
return Scale

serialNumber public_oe property

The serial number of the weapon.
public String serialNumber
return String

shooterFName public_oe property

The shooter's first name.
public String shooterFName
return String

shooterLName public_oe property

The shooter's last name.
public String shooterLName
return String

shotsFired public_oe property

The number of shots fired.
public int shotsFired
return int

targetID public_oe property

The database's target ID.
public int targetID
return int

tempDetails public_oe static_oe property

Visible temperature descriptions corresponding to Temperature values.
public static String[] tempDetails
return String[]

temperature public_oe property

The temperature on the range.
public Temperature,System temperature
return System.Temperature

weaponName public_oe property

The name of the weapon.
public String weaponName
return String

weaponNotes public_oe property

Notes on the weapon.
public String weaponNotes
return String