chore: 📎 + fmt
This commit is contained in:
@@ -84,7 +84,7 @@ export enum BatteryBoardVersion {
|
||||
}
|
||||
|
||||
export enum BoardVersion {
|
||||
INITIAL = "INITIAL",
|
||||
Initial = "Initial",
|
||||
V3 = "V3",
|
||||
V4 = "V4"
|
||||
}
|
||||
@@ -200,4 +200,4 @@ export interface TankInfo {
|
||||
/// water temperature
|
||||
water_temp: number | null,
|
||||
temp_sensor_error: string | null
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ export class HardwareConfigView {
|
||||
|
||||
Object.keys(BoardVersion).forEach(version => {
|
||||
let option = document.createElement("option");
|
||||
if (version == BoardVersion.INITIAL.toString()){
|
||||
if (version == BoardVersion.Initial.toString()){
|
||||
option.selected = true
|
||||
}
|
||||
option.innerText = version.toString();
|
||||
@@ -42,4 +42,4 @@ export class HardwareConfigView {
|
||||
battery : BatteryBoardVersion[this.hardware_battery_value.value as keyof typeof BatteryBoardVersion],
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user