Structures

Top  Previous  Next

Data bank

In the system exactly one data bank ordinarily exists. Of this Trading is stored in a global variable and should not be changed. In the data bank internal administrative information is stored which is necessary to the company of the system, thus, e.g., of file trade with which the communication will maintain to the window surroundings. The user's formations are in the data bank in him To segments, Signature tables and to him Data bank origin stored.

Segment

Segments are the containers for all graphic and non-graphic information in the data bank. Every segment becomes from all others by an ID, a number between 1 and 65535 distinguished and the Id's of 65000 to 65535 are booked by the system. A segment is to be understood as a transparent foil, on the real information of the data bank interrupted are. All segments lie on top of each other. The segments contain Plans and Objects. Further is noted in the segments which resolution is used with the memory (resolution) and in which graduation the texts and symbols should be indicated (textScale). A segment can own the state "isSelectable". Then the data contained in this segment can become a selected, i.e. be taken up in the amount of the objects to be worked on.

Plans

The co-ordinate space of a segment is divided by the plans in rectangular subfields. These surfaces can overlap, did not have to do it, nevertheless, possibly or only slightly. The plans which cover themselves completely are better lifted in different segments. The plans contain the objects and every object compelling to a plan must not be assigned.

Every plan has a name, a version number, 4 corner co-ordinates, a graduation, an ID and a path from which he was loaded.

The name is at the same time the file name and is used to the store and memories.

With the version number it is made sure that older versions about newer ones are not written.

The corner co-ordinates determine the cutting which is covered by this plan. The objects which are included in this plan may stretch beyond this area. However, only such objects should exist in this plan which are connected with the co-ordinates of the plan.

The graduation is redundant to the graduation which is given in the segment, however, headlines this information.

The ID identifies him within the segment unambiguously.

Further it is noted whether the plan was changed whether he may be changed, and whether he may be protected.

It is not possible to load a plan in another segment.

Objects

Objects are a hierarchy step which Even only the object keys contain as information, all other benefit information is in him To elements arranged, which to an object belong. An object key assigns to an object a class with which his function is determined. Such classes can be, e.g., a house, sidewalk limitation, lantern.... An object is able to do several Object key receive. The meaning of the keys must be fixed before the working beginning carefully. Then in a future version these keys will also receive real names. The appearance of the objects is also determined by these keys. The first key of an object determines the table, with for this object to belonging ones Elements to the colours and line kinds are assigned. Elements contribute her sign key which is used as an index in this table.

Elements

Object key

Signature table

Data bank origin