Class ParameterOperations
Holds the parameter operation information like data mask, error mask, right shift and offset to calculate the correct value of the parameter.
Inheritance
System.Object
ParameterOperations
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: MAT.AtlasSessionApi
Assembly: MAT.AtlasSessionApi.dll
Syntax
public sealed class ParameterOperations
Constructors
ParameterOperations(UInt32, UInt32, Int32, Double)
Create new instance of the parameter operation.
Declaration
public ParameterOperations(uint dataMask, uint errorMask, int shiftRight, double valueOffset)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt32 | dataMask | |
| System.UInt32 | errorMask | |
| System.Int32 | shiftRight | |
| System.Double | valueOffset |
Fields
None
Declaration
public static readonly ParameterOperations None
Field Value
| Type | Description |
|---|---|
| ParameterOperations |
Properties
DataMask
Gets the mask value.
Declaration
public uint DataMask { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt32 |
ErrorMask
Gets the error mask value.
Declaration
public uint ErrorMask { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt32 |
ShiftRight
Gets the right shift operation value.
Declaration
public int ShiftRight { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
ValueOffset
Gets the offset value.
Declaration
public double ValueOffset { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | obj |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 |
Overrides
System.Object.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
System.Object.ToString()
Operators
Equality(ParameterOperations, ParameterOperations)
Are two objects equal?
Declaration
public static bool operator ==(ParameterOperations left, ParameterOperations right)
Parameters
| Type | Name | Description |
|---|---|---|
| ParameterOperations | left | |
| ParameterOperations | right |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Inequality(ParameterOperations, ParameterOperations)
Are two objects unequal?
Declaration
public static bool operator !=(ParameterOperations left, ParameterOperations right)
Parameters
| Type | Name | Description |
|---|---|---|
| ParameterOperations | left | |
| ParameterOperations | right |
Returns
| Type | Description |
|---|---|
| System.Boolean |