[chronojump] Added encoder Equivalent mass text and image popup on preferences



commit ff888c28a4862ab7585b82175cc09d6e3b542c32
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Jan 29 16:29:09 2021 +0100

    Added encoder Equivalent mass text and image popup on preferences

 src/gui/preferences.cs | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/preferences.cs b/src/gui/preferences.cs
index aa1b146c..7bc3828f 100644
--- a/src/gui/preferences.cs
+++ b/src/gui/preferences.cs
@@ -1669,7 +1669,15 @@ public class PreferencesWindow
 
        private void on_button_encoder_inertial_analyze_eq_mass_help_clicked (object o, EventArgs args)
        {
-               new DialogMessage(Constants.MessageTypes.INFO, "TODO");
+               new DialogImageTest (
+                               Catalog.GetString("Equivalent mass"),
+                               Util.GetImagePath(false) + "equivalentMass.png",
+                               DialogImageTest.ArchiveType.ASSEMBLY,
+                               Catalog.GetString("The equivalent mass is a measure of the resistance of a 
body to change its velocity.") + "\n" +
+                               Catalog.GetString("From the point of view of a person pulling from a rope, 
the situation in the image is equivalent to a rotary inertial machine.") + "\n" +
+                               Catalog.GetString("The equivalent mass takes in account the different 
configurations of a inertial machine (diameters, inertia momentum, extra weights and force multipliers).") + 
"\n" +
+                               Catalog.GetString("This way it is possible to compare the resistance of 
diferent configurations on diferent machines.")
+                               );
        }
 
        // ---- start SQL stress tests ---->


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]