|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.requestModel.AbstractRequest
com.kuka.roboticsAPI.requestModel.WriteIORequest
public class WriteIORequest
Request for writing IO values to a controller.
| Constructor Summary | |
|---|---|
WriteIORequest(String ioGroup,
String ioName,
boolean value)
Creates a request for writing an boolean IO value. |
|
WriteIORequest(String ioGroup,
String ioName,
double value)
Creates a request for writing analog IO values. |
|
WriteIORequest(String ioGroup,
String ioName,
com.kuka.roboticsAPI.ioModel.IOTypes ioType,
int bitSize,
Number value)
Creates a request for writing digital IO value. |
|
| Method Summary | |
|---|---|
int |
getBitSize()
Gets the bit size of the IO. |
String |
getIOGroupName()
Gets the name of the IO group. |
String |
getIOName()
Gets the full name of the IO. |
com.kuka.roboticsAPI.ioModel.IOTypes |
getIOType()
Gets the type of the IO. |
Number |
getIOValue()
Returns the Value of the IO. |
Object |
getResult()
Gets the result of the request. |
boolean |
hasResult()
Returns true if getResult is not null. |
void |
setSucceeded()
Indicates if this request has succeeded. |
| Methods inherited from class com.kuka.roboticsAPI.requestModel.AbstractRequest |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WriteIORequest(String ioGroup,
String ioName,
com.kuka.roboticsAPI.ioModel.IOTypes ioType,
int bitSize,
Number value)
ioGroup - name of the IO-groupioName - name of the IOioType - type of the IObitSize - bitSize of the IOvalue - The digital value to write. Must be of following type:
Integer with values 0 or 1
Long within the allowable range for the IO type
Double
public WriteIORequest(String ioGroup,
String ioName,
boolean value)
ioGroup - name of the IO-groupioName - name of the IOvalue - boolean value to set
public WriteIORequest(String ioGroup,
String ioName,
double value)
ioGroup - name of the IO-groupioName - name of the IOvalue - analog value to write| Method Detail |
|---|
public Object getResult()
public boolean hasResult()
null. May be overridden by subclasses to
determine if the request has a result in a different way.
hasResult in interface IRequesthasResult in class AbstractRequestpublic void setSucceeded()
public String getIOGroupName()
public String getIOName()
public com.kuka.roboticsAPI.ioModel.IOTypes getIOType()
public Number getIOValue()
Integer with values 0 or 1
Long within the allowable range for the IO type
Double
public int getBitSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||