public class RejectedShot : Shot| RejectedShot | Initializes a new instance of the RejectedShot class |
| Attributes | (Inherited from Shot) |
| BulletDiameter |
The diamter of the bullet shot at the target. Measured in mm.
Value values are 4.0 to 15.0. A value of 0 is considered the reset to default condition.
When getting, if the value is not set, the value of Scoring Diamter is instead returned. If Scoring Diamter is not set, then 4.5 is returned.
(Inherited from Shot) |
| DataObjectTag |
Links to some other object that is related to this Shot.
Most likely a VIS.Shot
Non serializable property.
(Inherited from Shot) |
| EventName |
EventName is only set when the shot is part of a Result COF .Shots dictionary
(Inherited from Shot) |
| FiringPoint |
The firing point number the shot was fired on.
(Inherited from Shot) |
| IsADeletedShot |
Helper property that indicates if this shot is marked as a deleted shot.
A Deleted shot has "DELETED" as an Attribute
(Inherited from Shot) |
| IsASighter |
Helper property that indicates if this shot is marked as a sighter shot.
A Deleted shot has "SIGHTER" as an Attribute
(Inherited from Shot) |
| Location | (Inherited from Shot) |
| MatchID | (Inherited from Shot) |
| Meta |
Additional information about the shot. Format is dependent of the type of EST system used to score the shot.
(Inherited from Shot) |
| Penalties |
Get set the list of Penalties. Generally avoid using this function (except for serilaization).
(Inherited from Shot) |
| Privacy | (Inherited from Shot) |
| RangeTime |
The value of the Range Clock when the shot was fired and scored.
(Inherited from Shot) |
| RejectionMessages | |
| ResultCOFID |
GUID formatted string representing the ResultCOF
(Inherited from Shot) |
| Score | (Inherited from Shot) |
| ScoreFormatted |
ScoreFormatted may only be set when the Shot is part of a Result COF .Shots dictrionary
(Inherited from Shot) |
| ScoringDiameter |
The diamter to use when scoring this shot against the scoring rings. Measured in mm.
Value values are 4.0 to 15.0. A value of 0 is considered the reset to default condition.
When getting, if the value is not set, the value of Bullet Diamter is instead returned. If Bullet Diamter is not set, then 4.5 is returned.
(Inherited from Shot) |
| Sequence |
An in order numbering of the shot, for the Result COF.
Valid values are greater than zero (but not zero). Typically stored as integers.
(Inherited from Shot) |
| StageLabel | (Inherited from Shot) |
| TargetName |
The IoT Thing Name for the Target that scored the shot.
(Inherited from Shot) |
| TargetSetName | (Inherited from Shot) |
| TimeScored | (Inherited from Shot) |
| Update |
A Shot is uniquely identified (and stored in a database) by the combination of its Result COF ID,
Sequence number, and Update value. Each time a shot is updated, a ShotLog entry must be added.
By adding a ShotLog, the value for .Update is also updated.
NOTE: A Shot may not have a log entry with .Update == 0. This would be, for example, a manually
added shot such as a MISS or Cross Fire. When adding a manual shot, it should come with a ShotLog,
which would be .Update == 1.
(Inherited from Shot) |
| UpdateLog |
A shot log entry is required for each Update to a shot.
the .Update value for a original (hasn't been changed) shot is 0. By adding
a ShotLog, the value for .Update is also updated.
(Inherited from Shot) |
| ValidationPhoto |
URL of the image showing the scored shot
(Inherited from Shot) |
| AddPenalty |
Adds the passed in penalty to the list of Penalties
(Inherited from Shot) |
| Equals(Object) | (Inherited from Shot) |
| Equals(Shot) | (Inherited from Shot) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | (Inherited from Shot) |
| GetPenalties |
Returns the list of Penalties. Same as calling .Penalties
(Inherited from Shot) |
| GetSumPenaltyPoints |
Returns the sum of all penalty points.
(Inherited from Shot) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| GetVerificationImageAimingBullCoordinates |
Returns the x and y coordinates, measured in pixels, of the aiming bull center in the verification photo.
These values are read from the Meta dictionary using VerImgBullXCoor and VerImgBullYCoor.
(Inherited from Shot) |
| GetVerificationImageDPMM |
Returns the Dot per mm value (pixes per mm) of the verification image.
This value is read from the Meta dictionary using VerImgDPMM
(Inherited from Shot) |
| GetVerificationImageRotation |
Return the rotation of the verification image around the center of the aiming bull.
Measured in degrees (not radians)
(Inherited from Shot) |
| HasPenalty(Penalty) |
Returns a boolean indicating if the passed in Peanlty is already applied.
(Inherited from Shot) |
| HasPenalty(String) |
Returns a boolean indicating if the passed in Peanlty ID exists.
(Inherited from Shot) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| RemovePenalty(Penalty) |
Remove the passed in Penalty. If this penalty is not part of the Peanlties list, no action is applied.
(Inherited from Shot) |
| RemovePenalty(String) |
Removes the penalty that has the passed in penaltyID
(Inherited from Shot) |
| SetPenalties |
Replaces the existing list of penalties with the passed in list. Same as calling .Penalties = value
(Inherited from Shot) |
| ShouldSerialiaeScoreFormatted |
Newtonsoft helper method.
(Inherited from Shot) |
| ShouldSerializeAttributes |
A Newtonsoft Conditional Property to only serialize Attributes when the list has something in it.
https://www.newtonsoft.com/json/help/html/ConditionalProperties.htm
(Inherited from Shot) |
| ShouldSerializeEventName |
Newtonsoft helper method.
(Inherited from Shot) |
| ShouldSerializePenalties |
A Newtonsoft Conditional Property to only serialize Penalties when the list has something in it.
https://www.newtonsoft.com/json/help/html/ConditionalProperties.htm
(Inherited from Shot) |
| ShouldSerializeScoringDiameter |
A Newtonsoft Conditional Property to only serialize ScoringDiameter when it is different from BulletDiameter.
https://www.newtonsoft.com/json/help/html/ConditionalProperties.htm
(Inherited from Shot) |
| ShouldSerializeUpdateLog |
A Newtonsoft Conditional Property to only serialize UpdateLog when the list has something in it.
https://www.newtonsoft.com/json/help/html/ConditionalProperties.htm
(Inherited from Shot) |
| ShouldSerializeValidationPhoto |
Newtonsoft helper method, to determine if ValidationPhoto should be serialized.
(Inherited from Shot) |
| ToString | (Inherited from Shot) |