C# Class MATLABfromCSharp.LogInput

Datei anzeigen Open project: osisoft/PI-to-MATLAB-Utility Class Usage Examples

Public Methods

Method Description
AbsoluteTimeToString ( ) : string
LogInput ( string key, string element, string attribute, string path, AFTimeRange timeRange ) : System

Constructor of a Log Input

LogInput ( string varname, string elem, string attr, string path ) : void
LogInput ( string varname, string elem, string attr, string path, System.TimeSpan time ) : void
ToListViewItem ( ) : System.Windows.Forms.ListViewItem

Creates the ListViewItem for the ListView

ToString ( ) : string

Creates the string for the saving into the .txt file.

getAbsoluteTime ( ) : string[]
getAttribute ( ) : string
getElement ( ) : string
getKeyVariableName ( ) : string
getPath ( ) : string
getServerDatabase ( ) : string
getTimeRange ( ) : AFTimeRange
setAFTimeRange ( AFTimeRange aftr ) : void
setAbsoluteTime ( string absolute ) : void
setAttributeGetValueFormat ( int n ) : void
setServerDatabase ( string name ) : void
setTimespaceFormat ( string format ) : void
timeSpaceFormatString ( ) : string

Method Details

AbsoluteTimeToString() public method

public AbsoluteTimeToString ( ) : string
return string

LogInput() public method

Constructor of a Log Input
public LogInput ( string key, string element, string attribute, string path, AFTimeRange timeRange ) : System
key string unique variable name
element string element name
attribute string attribute name
path string element path
timeRange AFTimeRange AFTimeRange
return System

LogInput() public method

public LogInput ( string varname, string elem, string attr, string path ) : void
varname string
elem string
attr string
path string
return void

LogInput() public method

public LogInput ( string varname, string elem, string attr, string path, System.TimeSpan time ) : void
varname string
elem string
attr string
path string
time System.TimeSpan
return void

ToListViewItem() public method

Creates the ListViewItem for the ListView
public ToListViewItem ( ) : System.Windows.Forms.ListViewItem
return System.Windows.Forms.ListViewItem

ToString() public method

Creates the string for the saving into the .txt file.
public ToString ( ) : string
return string

getAbsoluteTime() public method

public getAbsoluteTime ( ) : string[]
return string[]

getAttribute() public method

public getAttribute ( ) : string
return string

getElement() public method

public getElement ( ) : string
return string

getKeyVariableName() public method

public getKeyVariableName ( ) : string
return string

getPath() public method

public getPath ( ) : string
return string

getServerDatabase() public method

public getServerDatabase ( ) : string
return string

getTimeRange() public method

public getTimeRange ( ) : AFTimeRange
return AFTimeRange

setAFTimeRange() public method

public setAFTimeRange ( AFTimeRange aftr ) : void
aftr AFTimeRange
return void

setAbsoluteTime() public method

public setAbsoluteTime ( string absolute ) : void
absolute string
return void

setAttributeGetValueFormat() public method

public setAttributeGetValueFormat ( int n ) : void
n int
return void

setServerDatabase() public method

public setServerDatabase ( string name ) : void
name string
return void

setTimespaceFormat() public method

public setTimespaceFormat ( string format ) : void
format string
return void

timeSpaceFormatString() public method

public timeSpaceFormatString ( ) : string
return string