PlcPeripheryInputOperand Members

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The PlcPeripheryInputOperand type exposes the following members.

PlcPeripheryInputOperand(SerializationInfo, StreamingContext)

Initializes a new instance of the PlcPeripheryInputOperand class with serialized data.

C#

protected PlcPeripheryInputOperand(SerializationInfo info, StreamingContext context)


Parameters

info Serialization.SerializationInfo

The Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

context Serialization.StreamingContext

The Serialization.StreamingContext that contains contextual information about the source or destination.


Exceptions

ArgumentNullException

The info parameter is null reference (Nothing in Visual Basic).

Serialization.SerializationException

The class name is null reference (Nothing in Visual Basic) or HResult is zero (0).

Byte(Int32)

Creates a new PlcByteAddress from this PlcPeripheryInputOperand using the byteNumber specified.

C#

public PlcByteAddress Byte(int byteNumber)


Parameters

byteNumber Int32

The number of the byte to that the new PlcByteAddress refers.


Returns

PlcByteAddress

A new PlcByteAddress which refers to this operand and to the byteNumber specified.



Exceptions

ArgumentOutOfRangeException

The byteNumber is out of the bounds defined by MinByteNumber or MaxByteNumber.

CompareTo(Object)

Compares the current PlcPeripheryInputOperand with the other.

C#

public override int CompareTo(object other)


Parameters

other Object

The PlcPeripheryInputOperand to compare with this PlcPeripheryInputOperand.


Returns

Int32

A 32-bit signed integer that indicates the relative order of the objects being compared (CompareTo(Object)).

CompareTo(PlcPeripheryInputOperand)

Compares the current PlcPeripheryInputOperand with another PlcPeripheryInputOperand.

C#

public int CompareTo(PlcPeripheryInputOperand other)


Parameters

other PlcPeripheryInputOperand

The PlcPeripheryInputOperand to compare with this PlcPeripheryInputOperand.


Returns

Int32

A 32-bit signed integer that indicates the relative order of the objects being compared (CompareTo(0)).

DWord(Int32)

Creates a new PlcDWordAddress from this PlcPeripheryInputOperand using the byteNumber specified.

C#

public PlcDWordAddress DWord(int byteNumber)


Parameters

byteNumber Int32

The number of the byte to that the new PlcDWordAddress refers.


Returns

PlcDWordAddress

A new PlcDWordAddress which refers to this operand and to the byteNumber specified.



Exceptions

ArgumentOutOfRangeException

The byteNumber is out of the bounds defined by MinByteNumber or MaxByteNumber.

Equals(Object)

Determines whether the specified other is equal to this PlcPeripheryInputOperand.

C#

public override bool Equals(object other)


Parameters

other Object

The PlcPeripheryInputOperand to compare to the current PlcPeripheryInputOperand.


Returns

Boolean

The value true if the specified PlcPeripheryInputOperand is equal to the current PlcPeripheryInputOperand; otherwise the value false.

Equals(PlcPeripheryInputOperand)

Determines whether the specified other is equal to this PlcPeripheryInputOperand.

C#

public bool Equals(PlcPeripheryInputOperand other)


Parameters

other PlcPeripheryInputOperand

The PlcPeripheryInputOperand to compare to the current PlcPeripheryInputOperand.


Returns

Boolean

The value true if the specified PlcPeripheryInputOperand is equal to the current PlcPeripheryInputOperand; otherwise the value false.

GetHashCode()

Retrieves a hash code for this PlcPeripheryInputOperand.

C#

public override int GetHashCode()


Returns

Int32

An Int32 that contains the hash code for the PlcPeripheryInputOperand.

GetObjectData(SerializationInfo, StreamingContext)

Sets the Serialization.SerializationInfo with information about the exception.

C#

[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
public override void GetObjectData(SerializationInfo info, StreamingContext context)


Parameters

info Serialization.SerializationInfo

The Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

context Serialization.StreamingContext

The Serialization.StreamingContext that contains contextual information about the source or destination.



Exceptions

ArgumentNullException

The info parameter is a null reference (Nothing in Visual Basic).

Word(Int32)

Creates a new PlcWordAddress from this PlcPeripheryInputOperand using the byteNumber specified.

C#

public PlcWordAddress Word(int byteNumber)


Parameters

byteNumber Int32

The number of the byte to that the new PlcWordAddress refers.


Returns

PlcWordAddress

A new PlcWordAddress which refers to this operand and to the byteNumber specified.



Exceptions

ArgumentOutOfRangeException

The byteNumber is out of the bounds defined by MinByteNumber or MaxByteNumber.

Equality(PlcPeripheryInputOperand, PlcPeripheryInputOperand)

Returns a value indicating whether two instance of PlcPeripheryInputOperand are equal.

C#

public static bool operator ==(PlcPeripheryInputOperand left, PlcPeripheryInputOperand right)

GreaterThan(PlcPeripheryInputOperand, PlcPeripheryInputOperand)

Determines whether the first specified PlcPeripheryInputOperand object is greater than the second specified PlcPeripheryInputOperand object.

C#

public static bool operator>(PlcPeripheryInputOperand left, PlcPeripheryInputOperand right)

GreaterThanOrEqual(PlcPeripheryInputOperand, PlcPeripheryInputOperand)

Determines whether the first specified PlcPeripheryInputOperand object is greater than or equal to the second specified PlcPeripheryInputOperand object.

C#

public static bool operator >=(PlcPeripheryInputOperand left, PlcPeripheryInputOperand right)

Implicit(String to PlcPeripheryInputOperand)

Converts a string formatted as operand to an PlcPeripheryInputOperand object.

C#

public static implicit operator PlcPeripheryInputOperand(string value)


Exceptions

FormatException

The value is not a valid PLC operand.

Inequality(PlcPeripheryInputOperand, PlcPeripheryInputOperand)

Returns a value indicating whether two instances of PlcPeripheryInputOperand are not equal.

C#

public static bool operator !=(PlcPeripheryInputOperand left, PlcPeripheryInputOperand right)

LessThan(PlcPeripheryInputOperand, PlcPeripheryInputOperand)

Determines whether the first specified PlcPeripheryInputOperand object is less than the second specified PlcPeripheryInputOperand object.

C#

public static bool operator <(PlcPeripheryInputOperand left, PlcPeripheryInputOperand right)


Exceptions

ArgumentNullException

The left is a null reference (Nothing in Visual Basic).

LessThanOrEqual(PlcPeripheryInputOperand, PlcPeripheryInputOperand)

Determines whether the first specified PlcPeripheryInputOperand object is less than or equal to the second PlcPeripheryInputOperand object.

C#

public static bool operator <=(PlcPeripheryInputOperand left, PlcPeripheryInputOperand right)


Exceptions

ArgumentNullException

The left is a null reference (Nothing in Visual Basic).