Exemple #1
0
 public ISO14230Channel(Parameter param, W80Commbox commbox)
     : base(param, commbox)
 {
     kLine = W80Commbox.SK_NO;
     lLine = W80Commbox.RK_NO;
     StartCommunicationInit();
 }
Exemple #2
0
 public static IChannel Create(Parameter param, ICommbox box, ProtocolType type)
 {
     if (box is Commbox.W80.W80Commbox)
     {
         return W80Create(param, box as Commbox.W80.W80Commbox, type);
     }
     throw new ArgumentException("Commbox");
 }
Exemple #3
0
 public AbstractECU(VehicleDB db, ICommbox box)
 {
     troubleCode = null;
     dataStream = null;
     freezeFrame = null;
     activeTest = null;
     this.db = db;
     this.box = box;
     param = new Parameter();
     format = null;
     chn = null;
 }
Exemple #4
0
 private static IChannel W80Create(Parameter param, Commbox.W80.W80Commbox box, ProtocolType type)
 {
     switch (type)
     {
         case ProtocolType.MikuniECU200:
             return new W80.MikuniECU200Channel(param, box);
         case ProtocolType.MikuniECU300:
             return new W80.MikuniECU300Channel(param, box);
         case ProtocolType.ISO14230:
             return new W80.ISO14230Channel(param, box);
         case ProtocolType.ISO9141_2:
             return new W80.ISO9141Channel(param, box);
         default:
             throw new NotImplementedException();
     }
 }
 public MikuniECU300Channel(Parameter param, W80Commbox commbox)
     : base(param, commbox)
 {
 }
Exemple #6
0
 public KWP2KFormat(Parameter param)
     : base(param)
 {
 }
Exemple #7
0
 public AbstractChannel(Parameter param, ICommbox commbox)
 {
     this.param = param;
     this.commbox = commbox;
 }
Exemple #8
0
 public MikuniECU200Format(Parameter param)
     : base(param)
 {
 }
Exemple #9
0
 public ISO9141Format(Parameter param)
     : base(param)
 {
 }
Exemple #10
0
 public AbstractFormat(Parameter param)
 {
     this.param = param;
 }
Exemple #11
0
 public Channel(Parameter param, W80Commbox commbox)
     : base(param, commbox)
 {
     this.commbox = commbox as W80Commbox;
 }
Exemple #12
0
 public ISO9141Channel(Parameter param, W80Commbox commbox)
     : base(param, commbox)
 {
     lline = W80Commbox.SK_NO;
     kline = W80Commbox.RK_NO;
 }