C# Class openXDA.ExtensibleDisturbanceAnalysisEngine.FileWrapper

Show file Open project: GridProtectionAlliance/openXDA

Public Methods

Method Description
FileWrapper ( string filePath ) : System

Creates a new instance of the FileWrapper class.

GetFileGroup ( FileInfoDataContext dataContext, TimeZoneInfo xdaTimeZone ) : FileGroup

Gets the file group containing information about the file on the given file path, as well as the files related to it.

GetMaxFileCreationTime ( ) : System.DateTime

Gets the maximum creation time of the files with the same root name as the wrapped file.

Method Details

FileWrapper() public method

Creates a new instance of the FileWrapper class.
public FileWrapper ( string filePath ) : System
filePath string The path to the wrapped file.
return System

GetFileGroup() public method

Gets the file group containing information about the file on the given file path, as well as the files related to it.
public GetFileGroup ( FileInfoDataContext dataContext, TimeZoneInfo xdaTimeZone ) : FileGroup
dataContext FaultData.Database.FileInfoDataContext The data context used for database lookups.
xdaTimeZone System.TimeZoneInfo The time zone used by openXDA.
return FaultData.Database.FileGroup

GetMaxFileCreationTime() public method

Gets the maximum creation time of the files with the same root name as the wrapped file.
public GetMaxFileCreationTime ( ) : System.DateTime
return System.DateTime