public class Request extends Object
Constructor and Description |
---|
Request(String name,
RequestType type,
int startAddress,
int count,
long period,
long timeout,
String mainTypeName,
boolean eager,
ByteOrder dataOrder) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getCount() |
ByteOrder |
getDataOrder() |
String |
getMainTypeName() |
String |
getName() |
long |
getPeriod() |
int |
getStartAddress() |
long |
getTimeout() |
RequestType |
getType() |
int |
hashCode() |
boolean |
isEager() |
String |
toString() |
public Request(String name, RequestType type, int startAddress, int count, long period, long timeout, String mainTypeName, boolean eager, ByteOrder dataOrder)
name
- the name of the blocktype
- DISCRETE, COIL, INPUT, HOLDINGstartAddress
- in this case it is actually the modbus registercount
- number of registers to read (must no more than 250)period
- polling ratetimeout
- after timeout seconds without answer mark values as errormainTypeName
- eager
- dataOrder
- the data byte orderpublic String getName()
public boolean isEager()
public String getMainTypeName()
public long getPeriod()
public long getTimeout()
public int getStartAddress()
public int getCount()
public RequestType getType()
public ByteOrder getDataOrder()
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.