/// <summary>
        /// Create new odb client
        /// </summary>
        public OdbClient()
        {
            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);
        }
        /// <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);
        }
Exemple #3
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;
 }
 /// <summary>
 /// Odb Status
 /// </summary>
 /// <param name="socket"></param>
 public OdbStatus(OdbSocket socket)
 {
     this.socket = socket;
 }
 /// <summary>
 /// Odb Commands
 /// </summary>
 /// <param name="socket"></param>
 public OdbCommands(OdbSocket socket)
 {
     this.socket = socket;
 }