/// <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;
 }
Exemple #4
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;
 }