/// <summary> /// TCLightTimestamp constructor /// </summary> /// <param name="RcvTime">A TPCANTimestamp structure defined in the PCAN_2ISA Class</param> public TCLightTimestamp(PCAN_2ISA.TPCANTimestamp RcvTime) { millis = RcvTime.millis; millis_overflow = RcvTime.millis_overflow; micros = RcvTime.micros; }
/// <summary> /// TCLightMsg constructor /// </summary> /// <param name="Msg">A TCANMsg structure defined in the PCAN_2ISA Class</param> public TCLightMsg(PCAN_2ISA.TPCANMsg Msg) { ID = Msg.ID; MsgType = (MsgTypes)Msg.MSGTYPE; Len = Msg.LEN; Data = Msg.DATA; }