EvDash¶
Méthodes¶
EvDash.AddUser¶
ADMIN
Add a new user with the given username and password.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
password |
String |
|
username |
String |
Retour :
| Champ | Type | Notes |
|---|---|---|
evDashError |
EvDashError |
EvDash.GetEnabled¶
ADMIN
Get the enabled status of EV Dash service.
Paramètres :
Aucun paramètre.
Retour :
| Champ | Type | Notes |
|---|---|---|
enabled |
Bool |
EvDash.GetUsers¶
ADMIN
Get the list of available users names.
Paramètres :
Aucun paramètre.
Retour :
| Champ | Type | Notes |
|---|---|---|
usernames |
StringList |
EvDash.RemoveUser¶
ADMIN
Remove the user with the given username.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
username |
String |
Retour :
| Champ | Type | Notes |
|---|---|---|
evDashError |
EvDashError |
EvDash.SetEnabled¶
ADMIN
Enable/Disable the EV Dash service.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
enabled |
Bool |
Retour :
| Champ | Type | Notes |
|---|---|---|
evDashError |
EvDashError |
Notifications¶
EvDash.EnabledChanged¶
Emitted whenever the EV Dash service has been enabled or disabled.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
enabled |
Bool |
EvDash.UserAdded¶
Emitted whenever a new username has been added for the dashboard.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
username |
String |
EvDash.UserRemoved¶
Emitted whenever a username has been removed from the dashboard.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
username |
String |