Weighing: Change Schember-Evt to Schember-Async
This commit is contained in:
@ -24,7 +24,7 @@ namespace Elwig.Helpers.Weighing {
|
||||
int? limit = config.Limit != null ? int.Parse(config.Limit) : null;
|
||||
if (config.Type == "SysTec-IT") {
|
||||
return new SysTecITScale(config.Id, config.Model!, config.Connection!, config.Empty, config.Filling, limit, config.Log);
|
||||
} else if (config.Type == "Schember-Evt") {
|
||||
} else if (config.Type == "Schember-Async") {
|
||||
return new SchemberEventScale(config.Id, config.Model!, config.Connection!, config.Empty, config.Filling, limit, config.Log);
|
||||
} else {
|
||||
throw new ArgumentException($"Invalid scale type: \"{config.Type}\"");
|
||||
|
Reference in New Issue
Block a user