first commit
This commit is contained in:
@@ -279,6 +279,16 @@ public class ScriptLogService : IDisposable
|
||||
if (!ok) _conveyorPending = null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// ASRS qua OPC UA: chỉ log lệnh gửi và lỗi bị từ chối ngay (HTTP).
|
||||
/// Kết quả thực thi (hoàn thành / lỗi / timeout) đến qua notification "ASRS" từ server.
|
||||
/// </summary>
|
||||
public void LogAsrsOpcCommand(string command, string? @params = null)
|
||||
=> Push(Line(CInfo, "INFO", "ASRS", command, _lang.T("→ gửi", "→ sent"), @params));
|
||||
|
||||
public void LogAsrsOpcRejected(string command, string? error)
|
||||
=> Push(Line(CError, "ERR", "ASRS", command, _lang.T("✗ từ chối", "✗ rejected"), error));
|
||||
|
||||
// ── State handlers ────────────────────────────────────────────────────
|
||||
|
||||
private void OnImrChanged()
|
||||
|
||||
Reference in New Issue
Block a user