CONTROL
@if (IsLockBlocked)
{
@Lang.T("Bạn chưa giữ quyền điều khiển. Vào CONTROL ACCESS → TAKE CONTROL.", "You don't hold control. Go to CONTROL ACCESS → TAKE CONTROL.")
}
Cancel
@if (_expanded)
{
Params
Test
No ASRS
X_A
X1A
X2A
X3A
X_B
X1B
X2B
X3B
}
@code {
[Inject] StateService State { get; set; } = default!;
[Inject] CommandService Cmd { get; set; } = default!;
[Inject] LangService Lang { get; set; } = default!;
private bool _expanded = true;
void ToggleExpand() => _expanded = !_expanded;
private int? _times;
private int? _ng;
private string _myUserId = "";
private bool IsLockBlocked =>
!State.System.IsSimulation
&& State.LockState is not null
&& (State.LockState.Workflow is null || State.LockState.Workflow.UserId != _myUserId);
private readonly HashSet