/// <summary> /// Constructor. Create a Detection object given a passing and a caption. /// </summary> /// <param name="passing">Actual passing data received from RRActiveConnector.GetNextPassing()</param> /// <param name="caption">A caption which will be associated with the detection</param> public Detection(RRActivePassing passing, string caption) { this.passing = passing; this.time = DateTime.Parse(passing.TimeStamp); this.caption = caption; }
/// <summary> /// Constructor. Create a Detection object given a passing and a caption. /// </summary> /// <param name="passing">Actual passing data received from RRActiveConnector.GetNextPassing()</param> /// <param name="caption">A caption which will be associated with the detection</param> public Detection (RRActivePassing passing, string caption) { this.passing = passing; this.time = DateTime.Parse(passing.TimeStamp); this.caption = caption; }