C# Class ModbusLib.Piramida.PiramidaAccess

Mostra file Open project: rj128x/MODBUS

Public Methods

Method Description
GetDataFromDB ( string dbName, System.DateTime dateStart, System.DateTime dateEnd, int obj, int objType, int parNumber, List items, bool includeFirst = false, bool includeLast = true ) : List
getConnection ( string dbName ) : SqlConnection
getConnectionString ( DBInfo dbInfo ) : string

Private Methods

Method Description
PiramidaAccess ( ) : System

Method Details

GetDataFromDB() public static method

public static GetDataFromDB ( string dbName, System.DateTime dateStart, System.DateTime dateEnd, int obj, int objType, int parNumber, List items, bool includeFirst = false, bool includeLast = true ) : List
dbName string
dateStart System.DateTime
dateEnd System.DateTime
obj int
objType int
parNumber int
items List
includeFirst bool
includeLast bool
return List

getConnection() public static method

public static getConnection ( string dbName ) : SqlConnection
dbName string
return System.Data.SqlClient.SqlConnection

getConnectionString() public static method

public static getConnectionString ( DBInfo dbInfo ) : string
dbInfo DBInfo
return string