first commit
This commit is contained in:
@@ -4,12 +4,12 @@
|
||||
@RobotRow("IMR", State.Imr)
|
||||
@RobotRow("AMR", State.Amr)
|
||||
<div class="ias-row">
|
||||
<MudChip T="string" Size="Size.Small" Color="@(!State.Asrs.IsOffline ? Color.Success : Color.Default)"
|
||||
<MudChip T="string" Size="Size.Small" Color="@(State.AsrsOpc.Online ? Color.Success : Color.Default)"
|
||||
Variant="Variant.Text" Style="height:22px;font-size:11px;margin:0;flex-shrink:0;">ASRS</MudChip>
|
||||
<MudChip T="string" Size="Size.Small"
|
||||
Color="@(State.Asrs.SAFETY_MODE == true ? Color.Success : Color.Default)"
|
||||
Variant="@(State.Asrs.SAFETY_MODE == true ? Variant.Filled : Variant.Outlined)"
|
||||
Style="height:22px;font-size:11px;margin:0;flex-shrink:0;">Safety</MudChip>
|
||||
Color="@(State.AsrsOpc.Fault == true ? Color.Error : State.AsrsOpc.Fault == false ? Color.Success : Color.Default)"
|
||||
Variant="@(State.AsrsOpc.Fault is null ? Variant.Outlined : Variant.Filled)"
|
||||
Style="height:22px;font-size:11px;margin:0;flex-shrink:0;">@(State.AsrsOpc.Fault == true ? "Fault" : "Safety")</MudChip>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
await State.StartAsync();
|
||||
State.ImrChanged += Refresh;
|
||||
State.AmrChanged += Refresh;
|
||||
State.AsrsChanged += Refresh;
|
||||
State.AsrsOpcChanged += Refresh;
|
||||
State.WorkflowChanged += Refresh;
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
{
|
||||
State.ImrChanged -= Refresh;
|
||||
State.AmrChanged -= Refresh;
|
||||
State.AsrsChanged -= Refresh;
|
||||
State.AsrsOpcChanged -= Refresh;
|
||||
State.WorkflowChanged -= Refresh;
|
||||
return ValueTask.CompletedTask;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user