/// <summary> /// /// </summary> /// <returns></returns> public string Dump() { return("== DATASOURCE ==\n" + "DS:" + dsName.Get() + ":" + dsType.Get() + ":" + heartbeat.Get() + ":" + minValue.Get() + ":" + maxValue.Get() + "\nlastValue:" + lastValue.Get() + " nanSeconds:" + nanSeconds.Get() + " accumValue:" + accumValue.Get() + "\n"); }
/// <summary> /// /// </summary> /// <param name="other"></param> public void CopyStateTo(IRrdUpdatable other) { if (!(other is Header)) { throw new RrdException("Cannot copy Header object to " + other.ToString()); } Header header = (Header)other; header.lastUpdateTime.Set(lastUpdateTime.Get()); }
/// <summary> /// /// </summary> /// <returns></returns> public string Dump() { return("accumValue:" + accumValue.Get() + " nanSteps:" + nanSteps.Get() + "\n"); }