/// <summary> /// /// </summary> /// <param name="NewCarID"></param> /// <returns>0 (0) if all is well; otherwise another enumeration which is less than 0</returns> public Int32 SetCarID(String NewCarID) { #if TODO ProtocolPTU.SetCarIDReq request = new ProtocolPTU.SetCarIDReq(NewCarID); Int32 commError = SendCommandToEmbedded(request); return(commError); #else return(0); #endif }
/// <summary> /// /// </summary> /// <param name="NewCarID"></param> /// <returns>CommunicationError.Success (0) if all is well; otherwise another enumeration which is less than 0</returns> public CommunicationError SetCarID(String NewCarID) { #if TODO ProtocolPTU.SetCarIDReq request = new ProtocolPTU.SetCarIDReq(NewCarID); CommunicationError commError = SendCommandToEmbedded(request); return(commError); #else return(CommunicationError.Success); #endif }