コード例 #1
0
 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();
 }
コード例 #2
0
 public MeasurementView(long gid, PubSubClient pubSub) : base(gid, pubSub)
 {
     properties = new PropertiesView(() => io, pubSub);
     command    = new CommandView(() => io, pubSub);
     panel      = new StackPanel();
 }
コード例 #3
0
 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();
 }
コード例 #4
0
 public IdentifiedObjectView(long gid, PubSubClient pubSub) : base(gid, pubSub)
 {
     properties = new PropertiesView(() => io, pubSub);
     panel      = new StackPanel();
 }
コード例 #5
0
 public ConnectivityNodeView(long gid, PubSubClient pubSub) : base(gid, pubSub)
 {
     properties   = new PropertiesView(() => io, pubSub);
     measurements = new MeasurementsView(GetMeasurements, pubSub);
     panel        = new StackPanel();
 }