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