Class DummyConnector
Provides a connector without real target system connections.
Inherited Members
Namespace: AXSharp.Connector
Assembly: AXSharp.Connector.dll
Syntax
public class DummyConnector : Connector, ITwinObject, ITwinElement, INotifyPropertyChanged
Methods
| Edit this page View SourceBuildAndStart()
This method does not have effect on DummyConnector
Declaration
public override Connector BuildAndStart()
Returns
Type | Description |
---|---|
Connector |
Overrides
| Edit this page View SourceReadBatchAsync(IEnumerable<ITwinPrimitive>)
Reads batch of value items from the plc.
Declaration
public override Task ReadBatchAsync(IEnumerable<ITwinPrimitive> primitives)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<ITwinPrimitive> | primitives | Value items to be read. |
Returns
Type | Description |
---|---|
Task |
Overrides
| Edit this page View SourceReloadConnector()
This method does not have effect on dummy connector.
Declaration
public override void ReloadConnector()
Overrides
| Edit this page View SourceWriteBatchAsync(IEnumerable<ITwinPrimitive>)
Writes batch of value items to the plc.
Declaration
public override Task WriteBatchAsync(IEnumerable<ITwinPrimitive> primitives)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<ITwinPrimitive> | primitives | Value items to be written. |
Returns
Type | Description |
---|---|
Task |