Ejemplo n.º 1
0
        /// <summary>
        /// Create new odb client
        /// </summary>
        public OdbClient()
        {
            this.PriorityEnumerator = Priorities.GetEnumerator();
            this.socket             = new OdbSocket(new StreamSocket());

            this.status   = new OdbStatus(this.socket);
            this.commands = new OdbCommands(this.socket);
            this.ecu      = new OdbEcu(this.socket, this.commands);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Odb Ecu
 /// </summary>
 /// <param name="socket"></param>
 /// <param name="comamnds"></param>
 public OdbEcu(OdbSocket socket, OdbCommands comamnds)
 {
     this.socket   = socket;
     this.comamnds = comamnds;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Odb Status
 /// </summary>
 /// <param name="socket"></param>
 public OdbStatus(OdbSocket socket)
 {
     this.socket = socket;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Odb Commands
 /// </summary>
 /// <param name="socket"></param>
 public OdbCommands(OdbSocket socket)
 {
     this.socket = socket;
 }