Show / Hide Table of Contents

Class PointSource<T>

A simple implementation of the point source. All registers are.

Inheritance
System.Object
PointSource<T>
Implements
IPointSource<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: NModbus.Data
Assembly: NModbus.dll
Syntax
public class PointSource<T> : IPointSource<T> where T : struct
Type Parameters
Name Description
T

Constructors

| Improve this Doc View Source

PointSource()

Declaration
public PointSource()

Methods

| Improve this Doc View Source

ReadPoints(UInt16, UInt16)

Declaration
public T[] ReadPoints(ushort startAddress, ushort numberOfPoints)
Parameters
Type Name Description
System.UInt16 startAddress
System.UInt16 numberOfPoints
Returns
Type Description
T[]
| Improve this Doc View Source

WritePoints(UInt16, T[])

Declaration
public void WritePoints(ushort startAddress, T[] points)
Parameters
Type Name Description
System.UInt16 startAddress
T[] points

Events

| Improve this Doc View Source

AfterWrite

Declaration
public event EventHandler<PointEventArgs> AfterWrite
Event Type
Type Description
System.EventHandler<PointEventArgs>
| Improve this Doc View Source

BeforeRead

Declaration
public event EventHandler<PointEventArgs> BeforeRead
Event Type
Type Description
System.EventHandler<PointEventArgs>
| Improve this Doc View Source

BeforeWrite

Declaration
public event EventHandler<PointEventArgs<T>> BeforeWrite
Event Type
Type Description
System.EventHandler<PointEventArgs<T>>

Explicit Interface Implementations

| Improve this Doc View Source

IPointSource<T>.ReadPoints(UInt16, UInt16)

Declaration
T[] IPointSource<T>.ReadPoints(ushort startAddress, ushort numberOfPoints)
Parameters
Type Name Description
System.UInt16 startAddress
System.UInt16 numberOfPoints
Returns
Type Description
T[]
| Improve this Doc View Source

IPointSource<T>.WritePoints(UInt16, T[])

Declaration
void IPointSource<T>.WritePoints(ushort startAddress, T[] points)
Parameters
Type Name Description
System.UInt16 startAddress
T[] points

Implements

IPointSource<TPoint>
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX