Compare commits

..
4 Commits
Author SHA1 Message Date
lorenz.stechauner cc68004f7d Tests: Update dependencies
Test / Run tests (push) Successful in 1m56s
2026-08-01 23:49:03 +02:00
lorenz.stechauner 3dc0998217 Elwig: Update dependencies 2026-08-01 23:48:39 +02:00
lorenz.stechauner d44d82a614 Weighing: Set Date/Time of scales at startup
Test / Run tests (push) Successful in 1m59s
2026-08-01 23:41:18 +02:00
lorenz.stechauner bc093f31db Weighing: Differentiate between scale and terminal 2026-08-01 23:38:51 +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-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}\"");