Weighing: Differentiate between scale and terminal

This commit is contained in:
lorenz.stechauner committed 2026-08-01 22:47:34 +02:00
1 parent 0d8cdd5d6e
commit 188fd448ae
16 files changed
+63 -65

No files matched your search

+2 -2
View File
@@ -181,8 +181,8 @@ namespace Elwig.Documents {
}
} else {
var info = part.WeighingInfo;
weighing.Add(Italic("Waage:"))
.Add(Normal(" " + (part.ScaleId ?? "?") + ", "))
weighing.Add(Italic("Waage/Terminal:"))
.Add(Normal(" " + (info.ScaleId ?? "1") + "/" + (part.ScaleTerminalId ?? "?") + ", "))
.Add(Italic("ID:"))
.Add(Normal(" " + (info.Id ?? "?")));
if (info.Date != null || info.Time != null)