@@ -135,6 +135,19 @@ public interface IFocasClient : IDisposable
|
||||
/// </summary>
|
||||
Task<FocasCurrentBlockInfo?> GetCurrentBlockAsync(CancellationToken cancellationToken)
|
||||
=> Task.FromResult<FocasCurrentBlockInfo?>(null);
|
||||
|
||||
/// <summary>
|
||||
/// Read the per-axis decimal-place counts via <c>cnc_getfigure</c> (issue #262).
|
||||
/// Returned dictionary maps axis name (or fallback <c>"axis{n}"</c> when
|
||||
/// <c>cnc_rdaxisname</c> isn't available) to the decimal-place count the CNC
|
||||
/// reports for that axis's increment system. Cached at bootstrap by the driver +
|
||||
/// applied to position values before publishing — raw integer / 10^decimalPlaces.
|
||||
/// Returns <c>null</c> when the wire client cannot supply the snapshot (older
|
||||
/// transport variant) — the driver leaves the cache untouched and falls back to
|
||||
/// publishing raw values.
|
||||
/// </summary>
|
||||
Task<IReadOnlyDictionary<string, int>?> GetFigureScalingAsync(CancellationToken cancellationToken)
|
||||
=> Task.FromResult<IReadOnlyDictionary<string, int>?>(null);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user