7b0b9c7365
Solution + 23 src projects + 26 test projects renamed; folders, csproj, namespaces, and ScadaLinkDbContext/ScadaBridgeDbContext class updated. ActorSystem "scadalink" → "scadabridge", Akka seed-node URLs migrated. SQL roles/logins, LDAP domains, CLI command name, and CLI config dir (~/.scadalink → ~/.scadabridge) also renamed. Build green; 5 Host.Tests fail awaiting SQL login rename in next commit. Pre-existing StaleTagMonitor timing flakes unchanged. Rename script committed at tools/rename-to-scadabridge.sh.
26 lines
846 B
C#
26 lines
846 B
C#
namespace ZB.MOM.WW.ScadaBridge.Commons.Messages.Instance;
|
|
|
|
/// <summary>
|
|
/// Request to get the current value of an attribute from an Instance Actor.
|
|
/// Uses the Ask pattern for system boundaries; Tell pattern is preferred for hot-path.
|
|
/// </summary>
|
|
public record GetAttributeRequest(
|
|
string CorrelationId,
|
|
string InstanceUniqueName,
|
|
string AttributeName,
|
|
DateTimeOffset Timestamp);
|
|
|
|
/// <summary>
|
|
/// Response containing the current value and quality of an attribute.
|
|
/// Quality is "Good", "Bad", or "Uncertain".
|
|
/// Data-sourced attributes start at "Uncertain" until the first DCL value update arrives.
|
|
/// </summary>
|
|
public record GetAttributeResponse(
|
|
string CorrelationId,
|
|
string InstanceUniqueName,
|
|
string AttributeName,
|
|
object? Value,
|
|
bool Found,
|
|
string Quality,
|
|
DateTimeOffset Timestamp);
|