|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.ioModel.IOGroupClassGenerator
public class IOGroupClassGenerator
Java class generator for IO-group implementations.
| Constructor Summary | |
|---|---|
IOGroupClassGenerator()
Creates a new IO-group class generator. |
|
| Method Summary | |
|---|---|
void |
addAnalogInput(String name,
String description,
IecType dataType,
int usedBitWidth,
double rangeStart,
double rangeEnd,
boolean isConnected)
Method to add an analog input to the code generator instance of the current I/O group. |
void |
addAnalogOutput(String name,
String description,
IecType dataType,
int usedBitWidth,
double rangeStart,
double rangeEnd,
boolean isConnected)
Method to add an analog output to the code generator instance of the current I/O group. |
void |
addDigitalInput(String name,
String description,
IecType dataType,
int usedBitWidth,
boolean isConnected)
Method to add an digital input to the code generator instance of the current I/O group. |
void |
addDigitalOutput(String name,
String description,
IecType dataType,
int usedBitWidth,
boolean isConnected,
boolean isReserved)
Method to add an digital output to the code generator instance of the current I/O group. |
void |
create(String ioGroupName,
String ioGroupDescription)
Method to start the code generation for a specific I/O group. |
File |
finish(File targetFolder,
String namespace)
Method to finish the code generation for a specific I/O group. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IOGroupClassGenerator()
| Method Detail |
|---|
public void create(String ioGroupName,
String ioGroupDescription)
ioGroupName - Name of the I/O groupioGroupDescription - User defined description for the I/O group.
public File finish(File targetFolder,
String namespace)
targetFolder - Target folder for the Java code file to be generated.namespace - The Java namespace / package for the generated Java code file.
public void addAnalogOutput(String name,
String description,
IecType dataType,
int usedBitWidth,
double rangeStart,
double rangeEnd,
boolean isConnected)
name - Name of the output.description - User defined description for the output.dataType - IEC data type of the output.usedBitWidth - Used bit width for the output on the field bus.rangeStart - Start of the value range of the analog output.rangeEnd - End of the value range of the analog output.isConnected - Flag, signalizing whether the output is assigned to a field bus address.
IllegalArgumentException - If no name for the analog output is specified, this exception will be thrown.
public void addAnalogInput(String name,
String description,
IecType dataType,
int usedBitWidth,
double rangeStart,
double rangeEnd,
boolean isConnected)
name - Name of the input.description - User defined description for the input.dataType - IEC data type of the input.usedBitWidth - Used bit width for the input on the field bus.rangeStart - Start of the value range of the analog input.rangeEnd - End of the value range of the analog input.isConnected - Flag, signalizing whether the input is assigned to a field bus address.
IllegalArgumentException - If no name for the analog input is specified, this exception will be thrown.
public void addDigitalOutput(String name,
String description,
IecType dataType,
int usedBitWidth,
boolean isConnected,
boolean isReserved)
name - Name of the output.description - User defined description for the output.dataType - IEC data type of the output.usedBitWidth - Used bit width for the output on the field bus.isConnected - Flag, signalizing whether the output is assigned to a field bus address.isReserved - Specifies whether the output is reserved for a station state.
IllegalArgumentException - If no name for the digital output is specified, this exception will be thrown.
public void addDigitalInput(String name,
String description,
IecType dataType,
int usedBitWidth,
boolean isConnected)
name - Name of the input.description - User defined description for the input.dataType - IEC data type of the input.usedBitWidth - Used bit width for the input on the field bus.isConnected - Flag, signalizing whether the input is assigned to a field bus address.
IllegalArgumentException - If no name for the digital input is specified, this exception will be thrown.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||