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:
Róbert Kiss
2017-10-09 23:20:06 +02:00
committed by László Monda
parent 50e0b64f6e
commit 0e5d6d1a25
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ export class DeviceService {
public async loadConfigurations(event: Electron.Event): Promise<void> {
try {
const userConfiguration = await this.loadConfiguration(
SystemPropertyIds.UserConfigSize,
SystemPropertyIds.MaxUserConfigSize,
UsbCommand.ReadUserConfig,
'user configuration');

View File

@@ -31,5 +31,5 @@ export enum SystemPropertyIds {
DataModelVersion = 2,
FirmwareVersion = 3,
HardwareConfigSize = 4,
UserConfigSize = 5
MaxUserConfigSize = 5
}