Property | Type | Description | |
---|---|---|---|
BeginInit | void | ||
BuildHistoricFileList | void | ||
CloseStream | void | ||
ConserveMemoryTimer_Elapsed | void | ||
CurrentDataQueue_ProcessException | void | ||
DeleteFile | void | ||
EndInit | void | ||
FileWatcher_Created | void | ||
FileWatcher_Deleted | void | ||
FileWatcher_Renamed | void | ||
FindHistoricArchiveFileForRead | bool | ||
FindHistoricArchiveFileForWrite | bool | ||
GetHistoricFileInfo | Info | ||
HistoricDataQueue_ProcessException | void | ||
InsertInCurrentArchiveFile | void | ||
IsNewHistoricArchiveFile | bool | ||
MaintainMaximumNumberOfHistoricFiles | void | ||
MetadataFile_FileModified | void | ||
MoveFile | void | ||
OffloadHistoricFiles | void | ||
OffloadMaxAgedFiles | void | ||
OpenStream | void | ||
OutOfSequenceDataQueue_ProcessException | void | ||
PrepareForRollover | void | ||
ReOpen | void | ||
ReadData | IEnumerable |
||
SyncStateFile | void | ||
WriteToCurrentArchiveFile | void | ||
WriteToHistoricArchiveFile | void |
Method | Description | |
---|---|---|
ArchiveFile ( ) : System |
Initializes a new instance of the ArchiveFile class.
|
|
ArchiveFile ( IContainer container ) : System |
Initializes a new instance of the ArchiveFile class.
|
|
Close ( ) : void |
Closes the ArchiveFile if it IsOpen.
|
|
Initialize ( ) : void |
Initializes the ArchiveFile. Initialize() is to be called by user-code directly only if the ArchiveFile is not consumed through the designer surface of the IDE. |
|
LoadSettings ( ) : void |
Loads saved settings for the ArchiveFile from the config file if the PersistSettings property is set to true.
|
|
MaximumDataBlocks ( double fileSize, int blockSize ) : int |
Returns the number of ArchiveDataBlocks an ArchiveFile can have.
|
|
Open ( ) : void |
Opens the ArchiveFile for use.
|
|
ReadData ( IEnumerable |
Reads ArchiveDataPoints from the ArchiveFile.
|
|
ReadData ( IEnumerable |
Reads ArchiveDataPoints from the ArchiveFile.
|
|
ReadData ( IEnumerable |
Reads ArchiveDataPoints from the ArchiveFile.
|
|
ReadData ( IEnumerable |
Reads ArchiveDataPoints from the ArchiveFile.
|
|
ReadData ( IEnumerable |
Reads all ArchiveDataPoints from the ArchiveFile for the specified historianIDs.
|
|
ReadData ( IEnumerable |
Reads ArchiveDataPoints from the ArchiveFile.
|
|
ReadData ( IEnumerable |
Reads ArchiveDataPoints from the ArchiveFile.
|
|
ReadData ( int historianID, DateTime startTime, DateTime endTime, bool timeSorted = true ) : IEnumerable |
Reads ArchiveDataPoints from the ArchiveFile.
|
|
ReadData ( int historianID, DateTime startTime, bool timeSorted = true ) : IEnumerable |
Reads ArchiveDataPoints from the ArchiveFile.
|
|
ReadData ( int historianID, TimeTag startTime, TimeTag endTime, bool timeSorted = true ) : IEnumerable |
Reads ArchiveDataPoints from the ArchiveFile.
|
|
ReadData ( int historianID, TimeTag startTime, bool timeSorted = true ) : IEnumerable |
Reads ArchiveDataPoints from the ArchiveFile.
|
|
ReadData ( int historianID, bool timeSorted = true ) : IEnumerable |
Reads all ArchiveDataPoints from the ArchiveFile for the specified historianID.
|
|
ReadData ( int historianID, string startTime, bool timeSorted = true ) : IEnumerable |
Reads ArchiveDataPoints from the ArchiveFile.
|
|
ReadData ( int historianID, string startTime, string endTime, bool timeSorted = true ) : IEnumerable |
Reads ArchiveDataPoints from the ArchiveFile.
|
|
ReadMetaData ( int historianID ) : byte[] |
Reads MetadataRecord for the specified historianID.
|
|
ReadMetaDataSummary ( int historianID ) : byte[] |
Reads MetadataRecordSummary for the specified historianID.
|
|
ReadStateData ( int historianID ) : byte[] |
Reads StateRecord for the specified historianID.
|
|
ReadStateDataSummary ( int historianID ) : byte[] |
Reads StateRecordSummary for the specified historianID.
|
|
Rollover ( ) : void |
Performs rollover of active ArchiveFile to a new ArchiveFile.
|
|
Save ( ) : void |
Saves the ArchiveFile.
|
|
SaveSettings ( ) : void |
Saves settings for the ArchiveFile to the config file if the PersistSettings property is set to true.
|
|
SynchronizeStateFile ( ) : void |
Requests a resynchronization of the state file.
|
|
WriteData ( IDataPoint dataPoint ) : void |
Writes the specified dataPoint to the ArchiveFile.
|
|
WriteData ( IEnumerable |
Writes the specified dataPoints to the ArchiveFile.
|
|
WriteMetaData ( int historianID, byte metadata ) : void |
Writes metadata for the specified historianID.
|
|
WriteStateData ( int historianID, byte statedata ) : void |
Writes statedata for the specified historianID.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the ArchiveFile and optionally releases the managed resources.
|
|
OnDataReadException ( Exception ex ) : void |
Raises the DataReadException event.
|
|
OnDataWriteException ( Exception ex ) : void |
Raises the DataWriteException event.
|
|
OnFileFull ( ) : void |
Raises the FileFull event.
|
|
OnFutureDataReceived ( IDataPoint dataPoint ) : void |
Raises the FutureDataReceived event.
|
|
OnHistoricDataReceived ( IDataPoint dataPoint ) : void |
Raises the HistoricDataReceived event.
|
|
OnHistoricFileListBuildComplete ( ) : void |
Raises the HistoricFileListBuildComplete event.
|
|
OnHistoricFileListBuildException ( Exception ex ) : void |
Raise the HistoricFileListBuildException event.
|
|
OnHistoricFileListBuildStart ( ) : void |
Raises the HistoricFileListBuildStart event.
|
|
OnHistoricFileListUpdated ( ) : void |
Raises the HistoricFileListUpdated event.
|
|
OnMetadataUpdated ( ) : void |
Raises the MetadataUpdated event.
|
|
OnOffloadComplete ( ) : void |
Raises the OffloadComplete event.
|
|
OnOffloadException ( Exception ex ) : void |
Raises the OffloadException event.
|
|
OnOffloadProgress ( ProcessProgress |
Raises the OffloadProgress event.
|
|
OnOffloadStart ( ) : void |
Raises the OffloadStart event.
|
|
OnOrphanDataReceived ( IDataPoint dataPoint ) : void |
Raises the OrphanDataReceived event.
|
|
OnOutOfSequenceDataReceived ( IDataPoint dataPoint ) : void |
Raises the OutOfSequenceDataReceived event.
|
|
OnProcessAlarmNotification ( StateRecord pointState ) : void |
Raises the ProcessAlarmNotification event.
|
|
OnRolloverComplete ( ) : void |
Raises the RolloverComplete event.
|
|
OnRolloverException ( Exception ex ) : void |
Raises the RolloverException event.
|
|
OnRolloverPreparationComplete ( ) : void |
Raises the RolloverPreparationComplete event.
|
|
OnRolloverPreparationException ( Exception ex ) : void |
Raises the RolloverPreparationException event.
|
|
OnRolloverPreparationStart ( ) : void |
Raises the RolloverPreparationStart event.
|
|
OnRolloverStart ( ) : void |
Raises the RolloverStart event.
|
|
WaitForReadersRelease ( ) : bool |
Waits for all readers to relinquish read locks on active file.
|
Method | Description | |
---|---|---|
BeginInit ( ) : void | ||
BuildHistoricFileList ( ) : void | ||
CloseStream ( ) : void | ||
ConserveMemoryTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void | ||
CurrentDataQueue_ProcessException ( object sender, EventArgs |
||
DeleteFile ( string fileName ) : void | ||
EndInit ( ) : void | ||
FileWatcher_Created ( object sender, |
||
FileWatcher_Deleted ( object sender, |
||
FileWatcher_Renamed ( object sender, |
||
FindHistoricArchiveFileForRead ( System.ComponentModel.Info fileInfo, TimeTag startTime, TimeTag endTime ) : bool | ||
FindHistoricArchiveFileForWrite ( System.ComponentModel.Info fileInfo, TimeTag searchTime ) : bool | ||
GetHistoricFileInfo ( string fileName ) : Info | ||
HistoricDataQueue_ProcessException ( object sender, EventArgs |
||
InsertInCurrentArchiveFile ( IDataPoint items ) : void | ||
IsNewHistoricArchiveFile ( Info fileInfo, string fileName ) : bool | ||
MaintainMaximumNumberOfHistoricFiles ( ) : void | ||
MetadataFile_FileModified ( object sender, EventArgs e ) : void | ||
MoveFile ( string sourceFileName, string destinationFileName ) : void | ||
OffloadHistoricFiles ( ) : void | ||
OffloadMaxAgedFiles ( ) : void | ||
OpenStream ( ) : void | ||
OutOfSequenceDataQueue_ProcessException ( object sender, EventArgs |
||
PrepareForRollover ( ) : void | ||
ReOpen ( ) : void | ||
ReadData ( IEnumerable |
||
SyncStateFile ( object state ) : void | ||
WriteToCurrentArchiveFile ( IDataPoint items ) : void | ||
WriteToHistoricArchiveFile ( IDataPoint items ) : void |
public ArchiveFile ( IContainer container ) : System | ||
container | IContainer | |
return | System |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
return | void |
public static MaximumDataBlocks ( double fileSize, int blockSize ) : int | ||
fileSize | double | Size (in MB) of the |
blockSize | int | Size (in KB) of the |
return | int |
protected OnDataReadException ( Exception ex ) : void | ||
ex | Exception | |
return | void |
protected OnDataWriteException ( Exception ex ) : void | ||
ex | Exception | |
return | void |
protected OnFutureDataReceived ( IDataPoint dataPoint ) : void | ||
dataPoint | IDataPoint | |
return | void |
protected OnHistoricDataReceived ( IDataPoint dataPoint ) : void | ||
dataPoint | IDataPoint | |
return | void |
protected OnHistoricFileListBuildComplete ( ) : void | ||
return | void |
protected OnHistoricFileListBuildException ( Exception ex ) : void | ||
ex | Exception | |
return | void |
protected OnHistoricFileListBuildStart ( ) : void | ||
return | void |
protected OnHistoricFileListUpdated ( ) : void | ||
return | void |
protected OnOffloadException ( Exception ex ) : void | ||
ex | Exception | |
return | void |
protected OnOffloadProgress ( ProcessProgress |
||
offloadProgress | ProcessProgress |
|
return | void |
protected OnOrphanDataReceived ( IDataPoint dataPoint ) : void | ||
dataPoint | IDataPoint | |
return | void |
protected OnOutOfSequenceDataReceived ( IDataPoint dataPoint ) : void | ||
dataPoint | IDataPoint | |
return | void |
protected OnProcessAlarmNotification ( StateRecord pointState ) : void | ||
pointState | StateRecord | |
return | void |
protected OnRolloverException ( Exception ex ) : void | ||
ex | Exception | |
return | void |
protected OnRolloverPreparationComplete ( ) : void | ||
return | void |
protected OnRolloverPreparationException ( Exception ex ) : void | ||
ex | Exception | |
return | void |
protected OnRolloverPreparationStart ( ) : void | ||
return | void |
public ReadData ( IEnumerable |
||
historianIDs | IEnumerable |
Historian identifiers for which |
startTime | DateTime | Start |
endTime | DateTime | End |
timeSorted | bool | Indicates whether the data retrieved from the archive should be time sorted. |
return | IEnumerable |
public ReadData ( IEnumerable |
||
historianIDs | IEnumerable |
Historian identifiers for which |
startTime | DateTime | Start |
timeSorted | bool | Indicates whether the data retrieved from the archive should be time sorted. |
return | IEnumerable |
public ReadData ( IEnumerable |
||
historianIDs | IEnumerable |
Historian identifiers for which |
startTime | TimeTag | Start |
endTime | TimeTag | End |
timeSorted | bool | Indicates whether the data retrieved from the archive should be time sorted. |
return | IEnumerable |
public ReadData ( IEnumerable |
||
historianIDs | IEnumerable |
Historian identifiers for which |
startTime | TimeTag | Start |
timeSorted | bool | Indicates whether the data retrieved from the archive should be time sorted. |
return | IEnumerable |
public ReadData ( IEnumerable |
||
historianIDs | IEnumerable |
Historian identifiers for which |
timeSorted | bool | Indicates whether the data retrieved from the archive should be time sorted. |
return | IEnumerable |
public ReadData ( IEnumerable |
||
historianIDs | IEnumerable |
Historian identifiers for which |
startTime | string | |
timeSorted | bool | Indicates whether the data retrieved from the archive should be time sorted. |
return | IEnumerable |
public ReadData ( IEnumerable |
||
historianIDs | IEnumerable |
Historian identifiers for which |
startTime | string | |
endTime | string | |
timeSorted | bool | Indicates whether the data retrieved from the archive should be time sorted. |
return | IEnumerable |
public ReadData ( int historianID, DateTime startTime, DateTime endTime, bool timeSorted = true ) : IEnumerable |
||
historianID | int | Historian identifier for which |
startTime | DateTime | Start |
endTime | DateTime | End |
timeSorted | bool | Indicates whether the data retrieved from the archive should be time sorted. |
return | IEnumerable |
public ReadData ( int historianID, DateTime startTime, bool timeSorted = true ) : IEnumerable |
||
historianID | int | Historian identifier for which |
startTime | DateTime | Start |
timeSorted | bool | Indicates whether the data retrieved from the archive should be time sorted. |
return | IEnumerable |
public ReadData ( int historianID, TimeTag startTime, TimeTag endTime, bool timeSorted = true ) : IEnumerable |
||
historianID | int | Historian identifier for which |
startTime | TimeTag | Start |
endTime | TimeTag | End |
timeSorted | bool | Indicates whether the data retrieved from the archive should be time sorted. |
return | IEnumerable |
public ReadData ( int historianID, TimeTag startTime, bool timeSorted = true ) : IEnumerable |
||
historianID | int | Historian identifier for which |
startTime | TimeTag | Start |
timeSorted | bool | Indicates whether the data retrieved from the archive should be time sorted. |
return | IEnumerable |
public ReadData ( int historianID, bool timeSorted = true ) : IEnumerable |
||
historianID | int | Historian identifier for which |
timeSorted | bool | Indicates whether the data retrieved from the archive should be time sorted. |
return | IEnumerable |
public ReadData ( int historianID, string startTime, bool timeSorted = true ) : IEnumerable |
||
historianID | int | Historian identifier for which |
startTime | string | |
timeSorted | bool | Indicates whether the data retrieved from the archive should be time sorted. |
return | IEnumerable |
public ReadData ( int historianID, string startTime, string endTime, bool timeSorted = true ) : IEnumerable |
||
historianID | int | Historian identifier for which |
startTime | string | |
endTime | string | |
timeSorted | bool | Indicates whether the data retrieved from the archive should be time sorted. |
return | IEnumerable |
public ReadMetaData ( int historianID ) : byte[] | ||
historianID | int | Historian identifier. |
return | byte[] |
public ReadMetaDataSummary ( int historianID ) : byte[] | ||
historianID | int | Historian identifier. |
return | byte[] |
public ReadStateData ( int historianID ) : byte[] | ||
historianID | int | Historian identifier. |
return | byte[] |
public ReadStateDataSummary ( int historianID ) : byte[] | ||
historianID | int | Historian identifier. |
return | byte[] |
public WriteData ( IDataPoint dataPoint ) : void | ||
dataPoint | IDataPoint | |
return | void |
public WriteData ( IEnumerable |
||
dataPoints | IEnumerable |
|
return | void |
public WriteMetaData ( int historianID, byte metadata ) : void | ||
historianID | int | Historian identifier. |
metadata | byte | |
return | void |
public WriteStateData ( int historianID, byte statedata ) : void | ||
historianID | int | Historian identifier. |
statedata | byte | |
return | void |