More changes
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 26s
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 26s
This commit is contained in:
@ -232,7 +232,7 @@ type VehicleCondition struct {
|
|||||||
EvStateOfChargeMode string `json:"evStateOfChargeMode,omitempty"` // null,
|
EvStateOfChargeMode string `json:"evStateOfChargeMode,omitempty"` // null,
|
||||||
EvTimeToFullyCharged string `json:"evTimeToFullyCharged,omitempty"` // null,
|
EvTimeToFullyCharged string `json:"evTimeToFullyCharged,omitempty"` // null,
|
||||||
EvStateOfChargePercent int `json:"evStateOfChargePercent,omitempty"` // null,
|
EvStateOfChargePercent int `json:"evStateOfChargePercent,omitempty"` // null,
|
||||||
LastUpdatedTime string `json:"lastUpdatedTime,string"` // "2023-04-10T17:50:54+0000",
|
LastUpdatedTime string `json:"lastUpdatedTime"` // "2023-04-10T17:50:54+0000",
|
||||||
}
|
}
|
||||||
|
|
||||||
// ClimateSettings .
|
// ClimateSettings .
|
||||||
|
@ -613,6 +613,8 @@ func (v *Vehicle) GetVehicleStatus() {
|
|||||||
val.Field(i).Interface() == "16383" ||
|
val.Field(i).Interface() == "16383" ||
|
||||||
val.Field(i).Interface() == "65535" ||
|
val.Field(i).Interface() == "65535" ||
|
||||||
val.Field(i).Interface() == "-64" ||
|
val.Field(i).Interface() == "-64" ||
|
||||||
|
val.Field(i).Interface() == "" ||
|
||||||
|
val.Field(i).Interface() == 0 ||
|
||||||
val.Field(i).Interface() == nil {
|
val.Field(i).Interface() == nil {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
@ -769,6 +771,8 @@ func (v *Vehicle) GetVehicleCondition() {
|
|||||||
val.Field(i).Interface() == "16383" ||
|
val.Field(i).Interface() == "16383" ||
|
||||||
val.Field(i).Interface() == "65535" ||
|
val.Field(i).Interface() == "65535" ||
|
||||||
val.Field(i).Interface() == "-64" ||
|
val.Field(i).Interface() == "-64" ||
|
||||||
|
val.Field(i).Interface() == "" ||
|
||||||
|
val.Field(i).Interface() == 0 ||
|
||||||
val.Field(i).Interface() == nil {
|
val.Field(i).Interface() == nil {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user