/// <summary> /// Refreshes the list of cars /// </summary> public void RefreshCars() { if (cars == null) { cars = new VehicleListModel(); } try { cars.RefreshData(); } catch (Exception ex) { CrestronConsole.PrintLine("SimplTeslaMaster.Main.RefreshCars()::Error Refreshing Cars: " + ex.ToString()); } }
public Main() { // Instantiate variables Auth = new Authentication(); cars = new VehicleListModel(); }