public ProsthesisSensorTelemetry(ProsthesisSensorTelemetry other) { Ds = other.Ds; if (other.Ot != null) { Ot = new float[other.Ot.Length]; Array.Copy(other.Ot, Ot, Ot.Length); } else { Ot = new float[0]; } if (other.Mt != null) { Mt = new float[other.Mt.Length]; Array.Copy(other.Mt, Mt, Mt.Length); } else { Mt = new float[0]; } }
public ProsthesisTelemetry(ProsthesisTelemetry other) { MT = new ProsthesisMotorTelemetry(other.MT); ST = new ProsthesisSensorTelemetry(other.ST); BMST = new ProsthesisBMSTelemetry(other.BMST); }