public SwitchView(long gid, PubSubClient pubSub) : base(gid, pubSub) { properties = new PropertiesView(() => io, pubSub); measurements = new MeasurementsView(() => io == null ? (IEnumerable <long>) new long[0] : io.Measurements, pubSub); switchState = new SwitchStateView(() => io, pubSub); panel = new StackPanel(); }
public MeasurementView(long gid, PubSubClient pubSub) : base(gid, pubSub) { properties = new PropertiesView(() => io, pubSub); command = new CommandView(() => io, pubSub); panel = new StackPanel(); }
public PowerSystemResourceView(long gid, PubSubClient pubSub) : base(gid, pubSub) { properties = new PropertiesView(() => io, pubSub); measurements = new MeasurementsView(() => io == null ? (IEnumerable <long>) new long[0] : io.Measurements, pubSub); panel = new StackPanel(); }
public IdentifiedObjectView(long gid, PubSubClient pubSub) : base(gid, pubSub) { properties = new PropertiesView(() => io, pubSub); panel = new StackPanel(); }
public ConnectivityNodeView(long gid, PubSubClient pubSub) : base(gid, pubSub) { properties = new PropertiesView(() => io, pubSub); measurements = new MeasurementsView(GetMeasurements, pubSub); panel = new StackPanel(); }