using ZB.MOM.WW.OtOpcUa.Core.Abstractions;
namespace ZB.MOM.WW.OtOpcUa.Driver.Calculation;
///
/// Bound options for a instance. The Calculation pseudo-driver has
/// no backend/endpoint config — its only input is the authored raw calc tags the deploy artifact
/// injects as the list (each carrying the tag's scriptId + resolved
/// scriptSource + trigger config inside its blob).
///
public sealed class CalculationDriverOptions
{
/// The driver's authored raw calc tags (RawPath + TagConfig blob + WriteIdempotent), from
/// the deploy artifact. Each is mapped to a at construction.
public IReadOnlyList RawTags { get; init; } = Array.Empty();
/// Per-script wall-clock evaluation budget handed to the .
/// Defaults to 2 seconds (parity with the VirtualTag evaluator).
public TimeSpan RunTimeout { get; init; } = TimeSpan.FromSeconds(2);
}