public MetricFile(XmlNode n, Graph g) : this(g) { _attrFilePath.Deserialize(n.TryGetAttribute(_attrFilePath.Name, "")); _attrSamplerate.Deserialize(n.TryGetAttribute(_attrSamplerate.Name, "1000")); _attrDataType.Deserialize(n.TryGetAttribute(_attrDataType.Name, DataType.Float64.ToString())); }
public Recorder3(XmlNode node, Graph g) : this(g) { //Deserializing(node); _attrNumOfLines1D.Deserialize(node.Attributes[_attrNumOfLines1D.Name]?.Value ?? "1"); _attrNumOfLines2D.Deserialize(node.Attributes[_attrNumOfLines2D.Name]?.Value ?? "1"); _attrPrebufferLengthMs.Deserialize(node.Attributes[_attrPrebufferLengthMs.Name]?.Value ?? "1000"); }