Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc68004f7d | ||
|
|
3dc0998217 | ||
|
|
d44d82a614 | ||
|
|
bc093f31db |
@@ -30,7 +30,7 @@ namespace Elwig.Helpers.Weighing {
|
||||
return new SysTecITScale(config.Id, config.Model!, config.Connection!, config.Empty, config.Filling, limit, config.Log);
|
||||
} else if (config.Type == "Gassner-Enq" || config.Type == "Gassner") {
|
||||
return new GassnerEnqScale(config.Id, config.Model!, config.Connection!, config.Empty, config.Filling, limit, config.Log);
|
||||
} else if (config.Type == "Avery-Event" || config.Type == "Avery-Async") {
|
||||
} else if (config.Type == "Avery-Async") {
|
||||
return new AveryEventScale(config.Id, config.Model!, config.Connection!, config.Log, config.Required);
|
||||
} else {
|
||||
throw new ArgumentException($"Invalid scale type: \"{config.Type}\"");
|
||||
|
||||
Reference in new issue
Block a user