|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--vib.servers.SimpleDataSource | +--vib.servers.DaliDataSourceSuper | +--vib.servers.DIOOutputBit
DIOOutputBit class provides DIO Output Bit data source. Runs on trigger only. Takes in a bit and outputs to DIO port's specified bit
Field Summary | |
boolean |
authen
|
int |
bit
|
int |
channel
|
byte |
diovalue
|
java.lang.String |
label
|
java.lang.String |
Password
|
java.lang.String |
ServerURL
|
java.lang.String |
Username
|
Fields inherited from class vib.servers.SimpleDataSource |
alwaysSend, authGroups, autoKill, autoSuspend, colorHi, colorHiHi, colorLo, colorLoLo, currentColor, currentValue, customTimer, deadband, dontConnect, groups, initialValue, interlock, lastSentValue, myListeners, myRequiresSyncWrite, mySyncWriteTimeout, priority, requiresSyncWrite, sendColors, sendIfQualityIsBetterThan, sendIfQualityIsBetterThen, sharedTimer, started, suspended, syncTime, syncUserName, syncWriteTimeout, tagAgent, theEventHandler, theTagController, timebase, useInitialValue, valueHi, valueHiHi, valueLo, valueLoLo |
Fields inherited from interface vib.servers.DataSourceInterface |
INITIALVALUE, REQUESTCURRENTVALUE, REQUESTHISTORICAL |
Fields inherited from interface vib.utils.VIBEventProducer |
ACTIVEGRAPHIC_STOPPED, CLIENT_ATTACHED, CLIENT_REMOVED, SERVER_DISCONNECTING, SERVER_RESUMED, SERVER_STOPPED, SERVER_SUSPENDED, TAG_NAME_CREATED, TAG_NAME_UPDATED, UPDATE_FAILED |
Constructor Summary | |
DIOOutputBit()
DIOOutputBit Contructor. |
Method Summary | |
boolean |
getAuthen()
Gets value of whether Authentication is used |
int |
getBit()
Gets the current bit |
int |
getChannel()
Gets the current channel value |
byte |
getDIOValue()
Gets the value to output to bit |
java.lang.String |
getLabel()
This will return the current label without any characters switched. |
java.lang.String |
getPassword()
Gets password |
java.lang.String |
getServerURL()
Gets current Dali Server URL |
java.lang.String |
getUsername()
Gets Username |
void |
setAuthen(boolean newAuthen)
Sets true or false as to whether to use Authentication |
void |
setBit(int newBit)
Sets the bit to be written to |
void |
setChannel(int newChannel)
Sets the channel value |
void |
setDIOValue(byte newValue)
Sets the DIO value to output to bit |
void |
setLabel(java.lang.String newValue)
This will update (change) the string being displayed as a marquee output. |
void |
setOption(java.lang.String newValue)
This method is called for every single entry in the parameter list. |
void |
setPassword(java.lang.String newPassword)
Sets password for authentication |
void |
setServerURL(java.lang.String newURL)
Sets the Dali Server URL. |
void |
setUsername(java.lang.String newUsername)
Sets username for authentication |
void |
setValueObject(vib.utils.ValueObjectInterface newValue)
Upon external trigger will perform a Dali Java call of DIOOutputBit. |
Methods inherited from class vib.servers.SimpleDataSource |
addListener, addListenerForId, addValueChangedListener, authenticatedClientRequest, authenticatedValueChanged, clientRequest, finalize, forceUpdate, getAlwaysSend, getBoolValue, getByteValue, getCharValue, getColorHi, getColorHiHi, getColorLo, getColorLoLo, getCurrentColor, getCustomTimer, getDataSource, getDeadband, getDoubleValue, getFloatValue, getGroups, getInitialValue, getInterlock, getIntValue, getLongValue, getPriority, getRequiresSyncWrite, getSendColors, getSendIfQualityIsBetterThan, getSerializableObject, getServerList, getShortValue, getStaticLocationFor, getStringValue, getSyncWriteTimeout, getTagAgent, getTagName, getTimebase, getValueHi, getValueHiHi, getValueLo, getValueLoLo, getValueObject, getValueObject, getWritableDataSource, isAutoSuspend, isSuspended, isUseInitialValue, passesDeadband, refreshCurrentValue, registerTagName, removeListener, removeListenerForId, removeValueChangedListener, requestSyncWrite, resume, setAlwaysSend, setAutoSuspend, setBoolValue, setBoolValueInternal, setByteValue, setByteValueInternal, setCharValue, setCharValueInternal, setColorHi, setColorHiHi, setColorLo, setColorLoLo, setCustomTimer, setDeadband, setDoubleValue, setDoubleValueInternal, setFloatValue, setFloatValueInternal, setGroups, setInitialValue, setInitialValueObject, setInterlock, setIntValue, setIntValueInternal, setLongValue, setLongValueInternal, setParameters, setPriority, setRequiresSyncWrite, setSendColors, setSendIfQualityIsBetterThan, setSerializableObject, setSerializableObjectInternal, setServerList, setShortValue, setShortValueInternal, setStringValue, setStringValueInternal, setSuspended, setSuspendedInternal, setSyncWriteTimeout, setTagAgent, setTagName, setTimebase, setUseInitialValue, setValue, setValueHi, setValueHiHi, setValueLo, setValueLoLo, setValueObjectInternal, stop, suspend, tick, toString, unregisterTagName, updateColor, updateCurrentColor, updateListener, updateListeners, valueChanged, valueChanged |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.String label
public java.lang.String ServerURL
public java.lang.String Username
public java.lang.String Password
public boolean authen
public byte diovalue
public int channel
public int bit
Constructor Detail |
public DIOOutputBit()
Method Detail |
public void setValueObject(vib.utils.ValueObjectInterface newValue) throws vib.utils.VIBUpdateFailedException
setValueObject
in class vib.servers.SimpleDataSource
newValue
- bit value to outputpublic void setOption(java.lang.String newValue)
newValue
- the new String value to displaypublic void setLabel(java.lang.String newValue)
newValue
- the string being displayed as a marquee outputgetLabel()
public java.lang.String getLabel()
setLabel(java.lang.String)
public void setChannel(int newChannel)
newChannel
- the new channel value to be setpublic int getChannel()
public void setBit(int newBit)
newBit
- the new bit value to be setpublic int getBit()
public void setDIOValue(byte newValue)
newValue
- the value to output to bitpublic byte getDIOValue()
public void setServerURL(java.lang.String newURL)
An example URL is the following: "http://192.168.1:444/dali/soap/prom
newURL
- the Dali Server url to setpublic java.lang.String getServerURL()
public void setAuthen(boolean newAuthen)
newAuthen
- boolean value of whether to use authenticationpublic boolean getAuthen()
public void setUsername(java.lang.String newUsername)
newUsername
- username to setpublic java.lang.String getUsername()
public void setPassword(java.lang.String newPassword)
newPassword
- password to setpublic java.lang.String getPassword()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |