2 using System.Collections.Generic;
4 using System.Xml.Serialization;
6 namespace Seci.Definitions
13 private String _title =
"";
14 private String _yLabel =
"";
15 private String _y2Label =
"";
16 private SerialisableList<PlotDefinition> _plots =
new SerialisableList<PlotDefinition>();
18 private Double _updateRate = 30.0;
19 private Boolean _showZeroY1 =
true;
20 private Boolean _showZeroY2 =
true;
22 public String Title {
get {
return _title; } set { _title = value; } }
23 public String YLabel {
get {
return _yLabel; } set { _yLabel = value; } }
24 public String Y2Label {
get {
return _y2Label; } set { _y2Label = value; } }
25 public Double UpdateRate {
get {
return _updateRate; } set { _updateRate = value; } }
26 public Boolean ShowZeroY1 {
get {
return _showZeroY1; } set { _showZeroY1 = value; } }
27 public Boolean ShowZeroY2 {
get {
return _showZeroY2; } set { _showZeroY2 = value; } }
28 public SerialisableList<PlotDefinition> Plots {
get {
return _plots; } set { _plots = value; } }
29 [XmlIgnore]
public String OwningComponent {
get {
return _owningComponent; } set { _owningComponent = value; } }
37 public String BlockName {
get; set; }
38 public Boolean UseY2 {
get; set; }
56 BlockName = blockname;
Lightweight plot definition class.
This class is used for serializing the graphs for saving in the configuration.
PlotDefinition()
Standard constructor. User for XML serialisation
PlotDefinition(String blockname, Boolean useY2)
The constructor to use in code.
String _owningComponent
The component to which this graph belongs.