Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2ceae0df31 | ||
|
|
a8199621c6 | ||
|
|
0fc4106cd2 | ||
|
|
309f118739 |
@@ -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-Async") {
|
||||
} else if (config.Type == "Avery-Event" || 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