C# Class Gurux.DLMS.Internal.SerialnumberCounter

This class is used to calculate SN.
ファイルを表示 Open project: Gurux/Gurux.DLMS.Net

Public Methods

Method Description
Count ( int sn, string formula ) : int

Count serial number using formula.

Private Methods

Method Description
FormatString ( string expression ) : string

Produce formatted string by the given math expression.

GetValue ( string value, int sn ) : int
GetValues ( string expressions ) : List

Get values to count together.

Method Details

Count() public static method

Count serial number using formula.
public static Count ( int sn, string formula ) : int
sn int Serial number
formula string Formula to used.
return int