Framework Preparation and Concept of Proof

Embed Size (px)

Citation preview

  • 7/31/2019 Framework Preparation and Concept of Proof

    1/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. DeskTop2. Layer 3. View4. Image5. Static Text6. Editor 7. Line8. Rectangle9. Circle

    10. File

    All objects will be defined by its JSON descriptions. Every object will have the UID values. Binary data areconverted 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 theBase 64 . Each view is represented as unsigned integer values coding. All objects are defined by the JSONdescriptions. Every Object in the system will have the UID. So all the objects going to be created will have theunique Id as one field. When the Object can be drawn, it can be on or off. Object will be created by the type andplacement. The JSON description will be used to define the set of Objects which need to be created. For theChange 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 beset. 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 bythe 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 usedto 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 theObject 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 HMImanager.

    The future extensions Javascript styled expressions, animation , Addition image formats and Transitions whenObject is changed.

    A mouse click can send the message, Mouse double click, Mouse button press, Mouse button release, Mousemovement and Editor Input. They can be used to get the Object Id, Type of HMI, input type, x, y and button clickvalues.

  • 7/31/2019 Framework Preparation and Concept of Proof

    2/2

    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, stringuserInput, string objectUID, string objectType, string inputType, stringcoordinates[], string button);

    void setMouseDoubleClickValues(string reqRespType, stringuserInput, string objectUID, string objectType, string inputType, stringcoordinates[], string button);

    void setMouseButtonPressValues(string reqRespType, stringuserInput, string objectUID, string objectType, string inputType, stringcoordinates[], string button);

    void setMouseButtonReleaseValues(string reqRespType,string userInput, string objectUID, string objectType, string inputType, stringcoordinates[], string button);

    void setMouseMoveValues(string reqRespType, stringuserInput, string objectUID, string objectType, string inputType, stringcoordinates[], 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, stringfileContent, 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);