Compare commits

..
4 Commits
Author SHA1 Message Date
lorenz.stechauner 2ceae0df31 Tests: Update dependencies
Test / Run tests (push) Successful in 2m36s
2026-08-03 10:56:42 +02:00
lorenz.stechauner a8199621c6 Elwig: Update dependencies 2026-08-03 10:56:42 +02:00
lorenz.stechauner 0fc4106cd2 Weighing: Set Date/Time of scales at startup 2026-08-03 10:56:42 +02:00
lorenz.stechauner 309f118739 Weighing: Differentiate between scale and terminal 2026-08-03 10:56:36 +02:00
+1 -1
View File
@@ -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}\"");