Click or drag to resize

PacketType2 Class

Represents a packet to be used for sending single time (expanded format) series data point to a historian for archival.
Inheritance Hierarchy
SystemObject
  GSF.Historian.PacketsPacketBase
    GSF.Historian.PacketsPacketType2

Namespace: GSF.Historian.Packets
Assembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.181-beta
Syntax
public class PacketType2 : PacketBase
View Source

The PacketType2 type exposes the following members.

Constructors
 NameDescription
Public methodPacketType2 Initializes a new instance of the PacketType2 class.
Public methodPacketType2(Byte, Int32, Int32) Initializes a new instance of the PacketType2 class.
Top
Properties
 NameDescription
Public propertyAllowQueuedPublication Gets flag that determines if frame image can queued for publication or should be processed immediately.
(Inherited from PacketBase)
Public propertyArchive Gets or sets the current IArchive.
(Inherited from PacketBase)
Public propertyBinaryLength Gets the length of the PacketType2.
(Overrides PacketBaseBinaryLength)
Public propertyCommonHeader Gets or sets the PacketCommonHeader for the packet.
(Inherited from PacketBase)
Public propertyDay Gets or sets the day-part of the time.
Public propertyGmtOffset Gets or sets the difference, in hours, between the local time and Greenwich Mean Time (Universal Coordinated Time).
Public propertyHistorianID Gets or sets the historian identifier of the time-series data.
Public propertyHour Gets or sets the hour-part of the time.
Public propertyMillisecond Gets or sets the millisecond-part of the time.
Public propertyMinute Gets or sets the minute-part of the time.
Public propertyMonth Gets or sets the month-part of the time.
Public propertyPreProcessHandler Gets or sets the Delegate that pre-processes the packet.
(Inherited from PacketBase)
Public propertyProcessHandler Gets or sets the Delegate that processes the packet.
(Inherited from PacketBase)
Public propertyQuality Gets or sets the Quality of the time-series data.
Public propertySecond Gets or sets the second-part of the time.
Public propertySource Gets or sets the data source identifier of the frame image.
(Inherited from PacketBase)
Public propertyTypeID Gets or sets the numeric identifier for the packet type.
(Inherited from PacketBase)
Public propertyValue Gets or sets the value of the time-series data.
Public propertyYear Gets or sets the year-part of the time.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExtractTimeSeriesData Extracts time-series data from PacketType2.
(Overrides PacketBaseExtractTimeSeriesData)
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 methodGenerateBinaryImage Generates binary image of the PacketType2 and copies it into the given buffer, for BinaryLength bytes.
(Overrides PacketBaseGenerateBinaryImage(Byte, Int32))
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodParseBinaryImage Initializes PacketType2 from the specified buffer.
(Overrides PacketBaseParseBinaryImage(Byte, Int32, Int32))
Protected methodPreProcess Pre-processes PacketType2.
Protected methodProcess Processes PacketType2.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberFixedLength Specifies the number of bytes in the binary image of PacketType2.
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