public void UpdateState(ISubjectDiametro sender, double MaterialRemoverAfterOperacion, double DiametroAfterOperacion, double GapAfterOperacion, bool RemueveGap) { if (RemueveGap) { double p, q; p = (MaterialRemoverAfterOperacion / Math.PI); q = ((GapAfterOperacion - Gap) / Math.PI); Diameter = Math.Round(p - q + (DiametroAfterOperacion), 3); } else { double p, q; p = Math.Round((Gap - GapAfterOperacion) / 3.1416, 4); q = DiametroAfterOperacion + MaterialRemoverAfterOperacion; Diameter = p + q; } }
public void UpdateState(ISubjectDiametro sender, double MaterialRemoverAfterOperacion, double DiametroAfterOperacion, double GapAfterOperacion, bool RemueveGap) { throw new NotImplementedException(); }