You are on page 1of 2

Framework preparation and concept of Proof:Introduction :Simplicity Shell HMI Manager :The HMI Manager application which will

have the following Calls for the components mentioned Below :Basically HMI Manager uses interaction with the simplicity Cell. It needs the following APIs for Creating the GUI. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. DeskTop Layer View Image Static Text Editor Line Rectangle Circle File

All objects will be defined by its JSON descriptions. Every object will have the UID values. Binary data are converted to plain text and passed through the Serverado engine uses Base 64 coding for values. The basic assumption is all the components will be designed as tetrad. The values will be represented by the Base 64 . Each view is represented as unsigned integer values coding. All objects are defined by the JSON descriptions. Every Object in the system will have the UID. So all the objects going to be created will have the unique Id as one field. When the Object can be drawn, it can be on or off. Object will be created by the type and placement. The JSON description will be used to define the set of Objects which need to be created. For the Change object, the Change description message will be sent and then only the new object will be created. Remove request will be sent to remove the Object from the layer.

Layer will have new UID and Type will be Layer Content will be array of contained Objects and Boundary will be set. View also had been done in the same way. File Object will be having Binary contents. The file types are TIFF , PNG, TTF, BINARY. SHA1 code will be used as the Hash code. Static Text needs to be created with UID, font name and the font size. Editor will have the values of UID, Type as Editor and Editor type as Single or Multiline. Line will be created by the start and end values and the Color as RGBA color. Rectangle will be created with the values of boundary and filled with the corresponding color. Circle will be used to create the UID and corresponding Border and fill colors. Retrieve Object coordinates needs to get the values of the Object coordinates. When we return the values of the Object coordinates, we need to get the values of Owner and Object Id and corresponding Parameter values. For every layer or view, the corresponding objects belong to that Layer. Desktop can also be supported by HMI manager.

The future extensions Javascript styled expressions, animation , Addition image formats and Transitions when Object is changed. A mouse click can send the message, Mouse double click, Mouse button press, Mouse button release, Mouse movement and Editor Input. They can be used to get the Object Id, Type of HMI, input type, x, y and button click values.

The Mouse click and Touch screen effects can be learned about the object Id and the X, Y coordinates. Methods to Implement :-

DE message changes/.

void setMouseClickValues(string reqRespType, string userInput, string objectUID, string objectType, string inputType, string coordinates[], string button); void setMouseDoubleClickValues(string reqRespType, string userInput, string objectUID, string objectType, string inputType, string coordinates[], string button); void setMouseButtonPressValues(string reqRespType, string userInput, string objectUID, string objectType, string inputType, string coordinates[], string button); void setMouseButtonReleaseValues(string reqRespType, string userInput, string objectUID, string objectType, string inputType, string coordinates[], string button); void setMouseMoveValues(string reqRespType, string userInput, string objectUID, string objectType, string inputType, string coordinates[], string button); void setEditorValues(string reqRespType, string userInput, string objectUID, string objectType, string inputType, string text); Object Methods to be implemented :void setObjectLayer(string objectUID, string layer, string content[], string bounds[]); void setObjectView(string objectUID, string view, string content[], string bounds[]); void setFileValue(string objectUID, string type, string fileContent, string fileType, string hashCode); void setImageValue(string objectUID, string objectType, string fileUID); void setStaticText(string objectUID, string staticText, string content, string fontName, string fontSize); void setEditorValues(string objectUID, string objectType, string content, string fontName, string fontSize, string editor_type); void setLineValue(string objectUID, string objectType, string startPos[], string endPos[], string lineColor[]); void setRectangle(string objectUID, string objectType, string objectBounds[], string objectBorder[], string objectFill[]); void setCircle(string objectUID, string objectType, string objectCenter[], int objectRadius, string objectBorder[], string objectFill[]); void setOwnerShip(string reqRespType, string changeOwnership, string objectUID, string objectType, string ownerUID);

You might also like