/[OhmsLawCalc]/trunk/OhmsLawCalc/UI/UIResistanceInput.cs
ViewVC logotype

Diff of /trunk/OhmsLawCalc/UI/UIResistanceInput.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/OhmsLawCalc/UI/UIResistanceInput.cs	2014/01/29 07:31:28	21
+++ trunk/OhmsLawCalc/UI/UIResistanceInput.cs	2014/01/29 07:57:25	22
@@ -10,7 +10,7 @@
 
 namespace OhmsLawCalc.UI
 {
-    public partial class UIResistanceInput : UserControl, IResetInput, ICalc
+    public partial class UIResistanceInput : UserControl, IResetInput, ICalc, ISetValue, IGetValue
     {
         public UIResistanceInput()
         {
@@ -23,6 +23,16 @@
         }
         #endregion
         #region ICalc members
+        public OhmsLawValue GetValue(out OhmsLawValueType type)
+        {
+            return circuitValue1.GetValue(out type);
+        }
+        #endregion
+        #region ISetValue, IGetValue members
+        public void SetValue(OhmsLawValue value)
+        {
+            circuitValue1.SetValue(value);
+        }
         public OhmsLawValue GetValue()
         {
             return circuitValue1.GetValue();

 

  ViewVC Help
Powered by ViewVC 1.1.22