31 lines
1020 B
Java
31 lines
1020 B
Java
package org.hwo.pulscounter;
|
|
|
|
import org.hwo.bitfields.BitField;
|
|
import org.hwo.io.SerialPortExeption;
|
|
|
|
public interface IPulsCounter {
|
|
|
|
public String[] getDeviceName();
|
|
|
|
public void close();
|
|
|
|
public int getChannels() throws SerialPortExeption;
|
|
|
|
public String getChannelName(Integer channel) throws SerialPortExeption;
|
|
public void setChannelName(Integer channel,String name) throws SerialPortExeption;
|
|
|
|
public int[] getChannelCounters() throws SerialPortExeption;
|
|
public void setChannelCounter(Integer channel,Integer count) throws SerialPortExeption;
|
|
|
|
public int[] getChannelOffsets() throws SerialPortExeption;
|
|
public void setChannelOffset(Integer channel,Integer offset) throws SerialPortExeption;
|
|
|
|
public String getPhysicalInterfaceName() throws SerialPortExeption;
|
|
public void setPhysicalInterfaceName(String interfaceName) throws SerialPortExeption;
|
|
|
|
public String[] getPhysicalInterfaceNames() throws SerialPortExeption;
|
|
|
|
public Integer getPhysicalInputs() throws SerialPortExeption;
|
|
|
|
}
|