Change scale interface

This commit is contained in:
2023-08-09 23:13:05 +02:00
parent 91a20662da
commit e1630e9919
7 changed files with 20 additions and 14 deletions

View File

@ -14,13 +14,13 @@ namespace Elwig.Helpers.Weighing {
public string Manufacturer => "Gassner";
public int InternalScaleNr => 1;
public string Model { get; private set; }
public int ScaleNr { get; private set; }
public string ScaleId { get; private set; }
public bool IsReady { get; private set; }
public bool HasFillingClearance { get; private set; }
public int? WeightLimit { get; private set; }
public GassnerScale(int scaleNr, string model, string connection) {
ScaleNr = scaleNr;
public GassnerScale(string id, string model, string connection) {
ScaleId = id;
Model = model;
IsReady = true;
HasFillingClearance = false;