Table of Contents

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

patientId ObjectId
wsId string
timeZoneId string
gf GroupedField
lastGroupedObservationObs GroupedObservation
sendEvent EventHandler<string>

Properties

Group

public Dictionary<string, string> Group { get; set; }

Property Value

Dictionary<string, string>

HashCode

public string HashCode { get; set; }

Property Value

string

LastGroupedObservationObs

public List<GroupedObservation.GroupedObservationObs> LastGroupedObservationObs { get; set; }

Property Value

List<GroupedObservation.GroupedObservationObs>

Max

public int Max { get; set; }

Property Value

int

Names

public List<string> Names { get; set; }

Property Value

List<string>

PatientId

public ObjectId PatientId { get; set; }

Property Value

ObjectId

Regularity

public GroupedObservationEnum.Regularity? Regularity { get; set; }

Property Value

GroupedObservationEnum.Regularity?

Result

public List<GroupedObservationEnum.Result> Result { get; set; }

Property Value

List<GroupedObservationEnum.Result>

Since

public GroupedObservationEnum.Since Since { get; set; }

Property Value

GroupedObservationEnum.Since

StartTimeShift

public List<string> StartTimeShift { get; set; }

Property Value

List<string>

TimeZoneId

public string TimeZoneId { get; set; }

Property Value

string

Timer

public Timer Timer { get; set; }

Property Value

Timer

WsSubscriber

public List<string> WsSubscriber { get; set; }

Property Value

List<string>

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

lastGroupedObservationObs GroupedObservation

The source grouped observation whose observations are searched to populate the last-observation cache.