com.github.wshackle.fanuc.robotserver.IIOSignals Maven / Gradle / Ivy
package com.github.wshackle.fanuc.robotserver ;
import com4j.*;
/**
* This object is used to access all I/O signals for a particular I/O type.
*/
@IID("{59DC16F7-AF91-11D0-A072-00A02436CF7E}")
public interface IIOSignals extends com.github.wshackle.fanuc.robotserver.IRobotObject,Iterable {
// Methods:
/**
*
* Getter method for the COM property "_NewEnum"
*
*/
@DISPID(-4) //= 0xfffffffc. The runtime will prefer the VTID if present
@VTID(8)
java.util.Iterator iterator();
/**
*
* Returns a specific signal from the collection.
*
*
* Getter method for the COM property "Item"
*
* @param logicalNum Optional parameter. Default value is com4j.Variant.getMissing()
* @param index Optional parameter. Default value is com4j.Variant.getMissing()
* @return Returns a value of type com.github.wshackle.fanuc.robotserver.IIOSignal2
*/
@DISPID(0) //= 0x0. The runtime will prefer the VTID if present
@VTID(9)
@DefaultMethod
com.github.wshackle.fanuc.robotserver.IIOSignal2 item(
@Optional @MarshalAs(NativeType.VARIANT) java.lang.Object logicalNum,
@Optional @MarshalAs(NativeType.VARIANT) java.lang.Object index);
/**
*
* Returns the number of signals contained in the collection.
*
*
* Getter method for the COM property "Count"
*
* @return Returns a value of type int
*/
@DISPID(101) //= 0x65. The runtime will prefer the VTID if present
@VTID(10)
int count();
/**
*
* Returns the parent object.
*
*
* Getter method for the COM property "Parent"
*
* @return Returns a value of type com.github.wshackle.fanuc.robotserver.IIOType
*/
@DISPID(102) //= 0x66. The runtime will prefer the VTID if present
@VTID(11)
com.github.wshackle.fanuc.robotserver.IIOType parent();
/**
*
* Returns True if monitoring is enabled, False if not.
*
*
* Getter method for the COM property "IsMonitoring"
*
* @return Returns a value of type boolean
*/
@DISPID(103) //= 0x67. The runtime will prefer the VTID if present
@VTID(12)
boolean isMonitoring();
/**
*
* Returns/sets the ?block-read? status for the collection.
*
*
* Getter method for the COM property "NoRefresh"
*
* @return Returns a value of type boolean
*/
@DISPID(104) //= 0x68. The runtime will prefer the VTID if present
@VTID(13)
boolean noRefresh();
/**
*
* Returns/sets the ?block-read? status for the collection.
*
*
* Setter method for the COM property "NoRefresh"
*
* @param noRefresh Mandatory boolean parameter.
*/
@DISPID(104) //= 0x68. The runtime will prefer the VTID if present
@VTID(14)
void noRefresh(
boolean noRefresh);
/**
*
* Starts the monitoring of the I/O signals collection for changes.
*
* @param latency Mandatory int parameter.
*/
@DISPID(150) //= 0x96. The runtime will prefer the VTID if present
@VTID(15)
void startMonitor(
int latency);
/**
*
* Stops the monitoring of the I/O signals collection for changes.
*
*/
@DISPID(151) //= 0x97. The runtime will prefer the VTID if present
@VTID(16)
void stopMonitor();
/**
*
* Refreshes the I/O Signal data when the NoRefresh property is true.
*
*/
@DISPID(152) //= 0x98. The runtime will prefer the VTID if present
@VTID(17)
void refresh();
// Properties:
}