Added some bad values to the const
This commit is contained in:
10
consts.go
10
consts.go
@ -167,6 +167,14 @@ var modelCodes = map[string]string{
|
||||
"PCL": "Ascent Limited 7-Passenger",
|
||||
}
|
||||
|
||||
var badValues = map[string]any{
|
||||
"remainingFuelPercent": 101,
|
||||
"tyreStatusFrontLeft": "UNKNOWN",
|
||||
"tyreStatusFrontRight": "UNKNOWN",
|
||||
"tyreStatusRearLeft": "UNKNOWN",
|
||||
"tyreStatusRearRight": "UNKNOWN",
|
||||
}
|
||||
|
||||
const (
|
||||
GET = "GET"
|
||||
POST = "POST"
|
||||
@ -301,7 +309,7 @@ const (
|
||||
ERROR_G1_INVALID_PIN = "SXM40006"
|
||||
ERROR_G1_SERVICE_ALREADY_STARTED = "SXM40009"
|
||||
ERROR_G1_PIN_LOCKED = "SXM40017"
|
||||
VEHICLE_ATTRIBUTES = "attributes" //Controller Vehicle Data Dict Keys
|
||||
VEHICLE_ATTRIBUTES = "attributes" // Controller Vehicle Data Dict Keys
|
||||
VEHICLE_STATUS = "status"
|
||||
VEHICLE_ID = "id"
|
||||
VEHICLE_NAME = "nickname"
|
||||
|
Reference in New Issue
Block a user