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

Contents of /trunk/libOhmsLawCalc/UnitConverter.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12 - (show annotations) (download)
Wed Jan 29 03:33:23 2014 UTC (5 years, 11 months ago) by william
File size: 641 byte(s)

1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5
6 namespace libOhmsLawCalc
7 {
8 /*
9 Converts a Power, Current, Voltage, or Resistance value into it's default reading
10 */
11 internal class UnitConverter
12 {
13 public UnitConverter(OhmsLawValueType valuetype, float value, OhmsLawUnitType unitype)
14 {
15 ConvertTo(valuetype, value, unitype);
16 }
17
18 private void ConvertTo(OhmsLawValueType valuetype, float value, OhmsLawUnitType unitype)
19 {
20 OhmsLawUnitType default_unit = OhmsLawUnitType.Default;
21 }
22 }
23 }

  ViewVC Help
Powered by ViewVC 1.1.22