Class WsSubscriberGrouped
- Namespace
- adas_core.Application.Subscriptions
- Assembly
- adas-core.Application.dll
Represents a grouped WebSocket subscriber that aggregates and manages multiple related subscription registrations.
public class WsSubscriberGrouped
- Inheritance
-
WsSubscriberGrouped
- Inherited Members
- Extension Methods
Constructors
WsSubscriberGrouped(ObjectId, string, string?, GroupedField, GroupedObservation, EventHandler<string>)
public WsSubscriberGrouped(ObjectId patientId, string wsId, string? timeZoneId, GroupedField gf, GroupedObservation lastGroupedObservationObs, EventHandler<string> sendEvent)
Parameters
patientIdObjectIdwsIdstringtimeZoneIdstringgfGroupedFieldlastGroupedObservationObsGroupedObservationsendEventEventHandler<string>
Properties
Group
public Dictionary<string, string> Group { get; set; }
Property Value
HashCode
public string HashCode { get; set; }
Property Value
LastGroupedObservationObs
public List<GroupedObservation.GroupedObservationObs> LastGroupedObservationObs { get; set; }
Property Value
Max
public int Max { get; set; }
Property Value
Names
public List<string> Names { get; set; }
Property Value
PatientId
public ObjectId PatientId { get; set; }
Property Value
- ObjectId
Regularity
public GroupedObservationEnum.Regularity? Regularity { get; set; }
Property Value
Result
public List<GroupedObservationEnum.Result> Result { get; set; }
Property Value
Since
public GroupedObservationEnum.Since Since { get; set; }
Property Value
StartTimeShift
public List<string> StartTimeShift { get; set; }
Property Value
TimeZoneId
public string TimeZoneId { get; set; }
Property Value
Timer
public Timer Timer { get; set; }
Property Value
WsSubscriber
public List<string> WsSubscriber { get; set; }
Property Value
Methods
UpdateLastGo(GroupedObservation)
Refreshes the cached last observations by matching each known name against the supplied grouped observation, falling back to the most recent observation when no match is found.
public void UpdateLastGo(GroupedObservation lastGroupedObservationObs)
Parameters
lastGroupedObservationObsGroupedObservationThe source grouped observation whose observations are searched to populate the last-observation cache.