/[OhmsLawCalc]/trunk/libOhmsLawCalc/UnitConverter.cs
ViewVC logotype

Diff of /trunk/libOhmsLawCalc/UnitConverter.cs

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

--- trunk/libOhmsLawCalc/UnitConverter.cs	2014/01/29 03:33:23	12
+++ trunk/libOhmsLawCalc/UnitConverter.cs	2014/01/29 04:16:58	13
@@ -10,14 +10,17 @@
      */
     internal class UnitConverter
     {
-        public UnitConverter(OhmsLawValueType valuetype, float value, OhmsLawUnitType unitype)
+        private OhmsLawValue olv;
+
+        public UnitConverter(OhmsLawValue olv)
         {
-            ConvertTo(valuetype, value, unitype);
+            this.olv = olv;
         }
 
-        private void ConvertTo(OhmsLawValueType valuetype, float value, OhmsLawUnitType unitype)
+
+        public void ConvertTo(OhmsLawUnitType unitype)
         {
-            OhmsLawUnitType default_unit = OhmsLawUnitType.Default;
         }
+        public void ConvertTo() { ConvertTo(OhmsLawUnitType.Default); }
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22