RVS_BTDriver_OBD_MacOS_Test_Harness_Command_ViewController
class RVS_BTDriver_OBD_MacOS_Test_Harness_Command_ViewController : RVS_BTDriver_OBD_MacOS_Test_Harness_Base_Device_ViewController
-
This is the storyboard instantiation ID.
Declaration
Swift
static let storyboardID: String
-
Declaration
Swift
var commandDictionary: [String : RVS_BTDriver_OBD_ELM327_CommandDictionary_Tuple]
-
Declaration
Swift
@IBOutlet weak var cancelButton: NSButton!
-
Declaration
Swift
@IBOutlet weak var commandPopupMenu: NSPopUpButton!
-
Declaration
Swift
@IBOutlet weak var responseTextLabel: NSTextField!
-
Declaration
Swift
@IBOutlet var responseTextView: NSTextView!
-
Declaration
Swift
@IBAction func commandMenuSelected(_ inButton: NSPopUpButton)
-
Declaration
Swift
override func viewDidLoad()
-
This is called when an OBD device updates its transaction.
Declaration
Swift
override func deviceUpdatedTransaction(_ updatedTransaction: RVS_BTDriver_OBD_Device_TransactionStruct)
Parameters
updatedTransaction
The transaction that was updated. It may be nil.
-
Error reporting method.
Declaration
Swift
override func device(_ inDevice: RVS_BTDriver_OBD_DeviceProtocol, encounteredThisError inError: RVS_BTDriver.Errors)
Parameters
inDevice
The
RVS_BTDriver_OBD_DeviceProtocol
instance that encountered the error.encounteredThisError
The error that was encountered.
-
Sets up the UI elements.
Declaration
Swift
func setUpUI()