refactor(device): Rename UserConfigSize => MaxUserConfigSize (#436)
Rename SystemPropertyIds.UserConfigSize => SystemPropertyIds.MaxUserConfigSize because it better describe which date will return from device
This commit is contained in:
committed by
László Monda
parent
50e0b64f6e
commit
0e5d6d1a25
@@ -47,7 +47,7 @@ export class DeviceService {
|
|||||||
public async loadConfigurations(event: Electron.Event): Promise<void> {
|
public async loadConfigurations(event: Electron.Event): Promise<void> {
|
||||||
try {
|
try {
|
||||||
const userConfiguration = await this.loadConfiguration(
|
const userConfiguration = await this.loadConfiguration(
|
||||||
SystemPropertyIds.UserConfigSize,
|
SystemPropertyIds.MaxUserConfigSize,
|
||||||
UsbCommand.ReadUserConfig,
|
UsbCommand.ReadUserConfig,
|
||||||
'user configuration');
|
'user configuration');
|
||||||
|
|
||||||
|
|||||||
@@ -31,5 +31,5 @@ export enum SystemPropertyIds {
|
|||||||
DataModelVersion = 2,
|
DataModelVersion = 2,
|
||||||
FirmwareVersion = 3,
|
FirmwareVersion = 3,
|
||||||
HardwareConfigSize = 4,
|
HardwareConfigSize = 4,
|
||||||
UserConfigSize = 5
|
MaxUserConfigSize = 5
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user