public DigitalDataPoint(DigitalDataPoint copyMe) { // parameter is a struct, so this is a copy operation this.parameter = copyMe.parameter; this.digitalPulse = copyMe.digitalPulse; this.DigitalContinue = copyMe.digitalContinue; }
public static bool Equivalent(Parameter a, Parameter b) { if (a.ManualValue != b.ManualValue) return false; if (a.Value != b.Value) return false; if (a.variable != b.variable) return false; return true; }
public DimensionedParameter(DimensionedParameter parameter) { this.parameter = parameter.parameter; this.units = parameter.units; }