public SAEMessage() { DataList = new List <byte[]>(); mode = new SAEModes(); data = new List <byte>(); IsValid = false; }
public object CreateRxHandle(int Addr, SAEModes Mode) { J1850Message MessageParser = new J1850Message(default_message_prototype); MessageParser.TargetAddress = Addr; MessageParser.SAEMode = Mode; Predicate <J2534Message> Comparer = (TestMessage => { if (TestMessage.Data.Skip(1).Take(3).SequenceEqual(MessageParser.RawMessage.Skip(1).Take(3)) && TestMessage.RxStatus == J2534.J2534RXFLAG.NONE) { return(true); } return(false); }); channel.AddMessageScreen(Comparer); return((object)Comparer); }
public SAEMessage() { Mode = new SAEModes(); Data = Array.Empty <byte>(); IsValid = false; }
public SAEModeData(SAEModes ModeEnum) { Mode = ModeEnum; }
public object CreateRxHandle(int Addr, SAEModes Mode) { throw new NotImplementedException(); }