Version: $Id: package.html 39095 2010-08-30 14:53:57Z walla $

The definition of different interfaces are defined here, most of it are to inherit with a final enumeration class. The root interface of all enumeration classes is called IEEnum which every enumeration interface inherits. Each concrete enumeration will implement one of the interfaces (except the IEEnum) and implement the methods. But here also exists different classes, one to implement a runnable and a utility class with different static methods which can be used by every concrete project class.

So I have defined the following enumeration interfaces with different proposes:

Moreover here also exists the Observer Design Pattern. This is include in the interfaces of IObserver and IDeviceSubject.

Adjustment of Values in IEData

The adjustment of component values was delivered in the enumeration interface of IEData. There exists on method which tell the caller if this component is adjusted or not. With adjustment I mean that you drag the component by pressing down a mouse button and then moving it to the position you want it. After doing so, you leaf the mouse button. During the hole dragging of the component the adjustment method will return a true value.

The solution to put this information into an enumeration interface was not a good one. You should find a better one. Explicitly that I set the adjustment in the enumeration type sounds for my ears very bat. But its works very good.

Fire Event in IEData

Normally all elements of these enumeration interface will fire an event to modified it in the CDI server and therefore in the hardware and not only on screen. This is currently done if this method returns a true value. If not it will return a false.

You can also set this value by calling the method of putFireEvent(boolean) which will set corresponding boolean value of the firing event behavior.

Send Pre Values to the Server

Some transmitters need to send values to the server before returning the current ones to the client application. For setting these values there exists in this library the interface of {@code de.desy.mst.libs.accelerator.IESendValue} which returns the pre set values with the method of {@code IESendValue.preSendValue():int[]}. If you need this method in the interface you only need to implement this interface in the concrete enumeration.

The concrete values are set in the enumeration constructor and delclared by each enumeration element.

CHANGES

TODO