internal PhotometryHarpMessage(PhotometryDataFrame frame, HarpMessage message) : base(true, CreateMessage(frame, message)) { var payload = message.GetTimestampedPayloadUInt16(); frame.Flags = (FrameFlags)payload.Value; frame.Timestamp = payload.Seconds; PhotometryData = frame; TriggerData = message; }
static Timestamped <ushort> ProcessTimestampedU16(HarpMessage input) { CheckErrors(input, PayloadType.U16); return(input.GetTimestampedPayloadUInt16()); }