Example #1
0
 public CANComm(UInt16 deviceType, UInt16 deviceID, UInt16 channel, UInt16 accCode, UInt32 accMask, byte filter, byte mode, string baudRate, bool swapBitOrder = false)
 {
     Setting = new CANSetting(deviceType, deviceID, channel, accCode, accMask, filter, mode, baudRate, swapBitOrder);;
 }
Example #2
0
 /// <summary>
 /// Initial instance with settings from file.
 /// </summary>
 /// <param name="settingFile">setting file name</param>
 public CANComm(string settingFile)
 {
     Setting = new CANSetting(settingFile);
 }