Click or drag to resize

ReportingProcessBase Class

Represents the base functionality for reporting processes.
Inheritance Hierarchy

Namespace: GSF.TimeSeries.Reports
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.207-beta
Syntax
public abstract class ReportingProcessBase : IReportingProcess, 
	IProvideStatus, IPersistSettings
View Source

The ReportingProcessBase type exposes the following members.

Constructors
 NameDescription
Protected methodReportingProcessBase Creates a new instance of the ReportingProcessBase class.
Top
Properties
 NameDescription
Public propertyArchiveFilePath Gets or sets the path to the archive file to which the statistics required for reporting are archived.
Public propertyCompany Gets or sets the name of the company to be displayed on reports.
Public propertyEnableReportEmail Gets or sets flag to enable e-mailing of reports.
Public propertyFromAddress Gets or sets the "from" address to use when e-mailing reports.
Public propertyIdleReportLifetime Gets or sets the minimum lifetime of a report since the last time it was accessed, in days.
Public propertyPersistSettings Determines whether the object settings are to be persisted to the config file.
Public propertyReportLocation Gets or sets the directory to which reports will be written.
Public propertyReportType Gets report type, i.e., basically the report name associated with this reporting process.
Public propertySettingsCategory Gets or sets the category name under which the object settings are persisted in the config file.
Public propertySmtpPassword Gets or sets the password used to authenticate to the SMTP server.
Public propertySmtpSecurePassword Gets or sets the password used to authenticate to the SMTP server as a secure string.
Public propertySmtpServer Gets or sets SMTP server to use when e-mailing reports.
Public propertySmtpUsername Gets or sets the username used to authenticate to the SMTP server.
Public propertyStatus Gets the current status details about reporting process.
Public propertyTitle Gets or sets the title to be displayed on reports.
Public propertyToAddresses Gets or sets the comma separated "to" addresses to use when e-mailing reports.
Top
Methods
 NameDescription
Public methodCleanReportLocation Deletes reports from the ReportLocation that have been idle for the length of the IdleReportLifetime.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGenerateReport Queues up a report to be generated on a separate thread.
Public methodGetArguments Gets the command line arguments for the reporting process.
Public methodGetArguments(DateTime, Boolean) Gets the command line arguments for the reporting process for a given report date.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetPendingReportsList Returns the list of reports which are in the queue but are yet to be generated.
Public methodGetReportsList Returns the list of reports that are available from the report location.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsReportFileName Determines whether the given path is a path to a report, based on the file name.
Public methodLoadSettings Loads saved settings from the config file.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSaveSettings Saves settings to the config file.
Public methodSetArguments Applies any received command line arguments for the reporting process.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also