예제 #1
0
        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;
        }
예제 #2
0
 static Timestamped <ushort> ProcessTimestampedU16(HarpMessage input)
 {
     CheckErrors(input, PayloadType.U16);
     return(input.GetTimestampedPayloadUInt16());
 }