|
@@ -242,6 +242,15 @@ public partial class Mini8TabViewModel : ObservableObject
|
|
|
_ => throw new NotImplementedException(),
|
|
|
};
|
|
|
}
|
|
|
+ else if(pointName == "ActiveAutoTune")
|
|
|
+ {
|
|
|
+ valueStr = value switch
|
|
|
+ {
|
|
|
+ (ushort)AutotuneActive.OFF => AutotuneActive.OFF.ToString(),
|
|
|
+ (ushort)AutotuneActive.Active => AutotuneActive.Active.ToString(),
|
|
|
+ _ => throw new NotImplementedException(),
|
|
|
+ };
|
|
|
+ }
|
|
|
else
|
|
|
{
|
|
|
valueStr = value.ToString();
|
|
@@ -337,7 +346,7 @@ public partial class Mini8TabViewModel : ObservableObject
|
|
|
AddData(nameof(ch.Value.Running_I), ch.Key, ch.Value.Running_I, DataType.Float);
|
|
|
AddData(nameof(ch.Value.Running_D), ch.Key, ch.Value.Running_D, DataType.Float);
|
|
|
AddData(nameof(ch.Value.Inhibit), ch.Key, ch.Value.Inhibit, DataType.UShort);
|
|
|
- AddData(nameof(ch.Value.ActiveAutoTune), ch.Key, ch.Value.ActiveAutoTune, DataType.Float);
|
|
|
+ AddData(nameof(ch.Value.ActiveAutoTune), ch.Key, ch.Value.ActiveAutoTune, DataType.UShort);
|
|
|
AddData(nameof(ch.Value.SetpointUpRate), ch.Key, ch.Value.SetpointUpRate, DataType.Float);
|
|
|
AddData(nameof(ch.Value.SetpointDownRate), ch.Key, ch.Value.SetpointDownRate, DataType.Float);
|
|
|
AddData(nameof(ch.Value.Caps), ch.Key, ch.Value.Caps, DataType.UShort);
|