예제 #1
0
 public SAEMessage()
 {
     DataList = new List <byte[]>();
     mode     = new SAEModes();
     data     = new List <byte>();
     IsValid  = false;
 }
예제 #2
0
        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);
        }
예제 #3
0
 public SAEMessage()
 {
     Mode    = new SAEModes();
     Data    = Array.Empty <byte>();
     IsValid = false;
 }
예제 #4
0
 public SAEModeData(SAEModes ModeEnum)
 {
     Mode = ModeEnum;
 }
예제 #5
0
 public object CreateRxHandle(int Addr, SAEModes Mode)
 {
     throw new NotImplementedException();
 }