. , , ,

,,,

,

91 ., 34 , 15 , , 3

, , ,

,

, , ,

, . . . . , . . , . , .

*

1. *

2. *

2.1. *

2.2. *

2.3. *

2.4. *

2.4.1. *

2.4.2. *

2.4.3. *

2.5. *

3. *

4. () *

4.1. *

4.2. *

4.3. *

4.4. *

4.5. *

4.6. *

5. () *

5.1. *

5.2. *

5.3. *

6. *

7. , *

8. *

8.1. (Control) *

8.2. (Order) *

8.3. (Datas_up) *

8.4. (Datas_Down) *

8.5. (Init) *

8.6. (Waiting) *

8.7. (Processing) *

8.8. (Interaction) *

8.9. (Get_priority) *

8.10. (Get_message) *

8.11. (Send_message) *

8.12. . *

9. *

9.1. *

9.1.1. *

9.1.2. *

9.1.3. *

9.1.4. *

9.1.5. *

9.1.6. *

9.1.7. *

9.1.8. *

9.1.9. *

9.1.10. *

9.2. *

10. *

10.1. *

10.2. *

10.3. *

10.4. *

10.5. *

*

*

1 - "". . *

2 - "". "". *

3 "". *

, ,

ID (Identification)

(Mas)

. , . /1/. . , . , , , , . , .

. 1.

, , , . , Internet . . , .

, , , , , :

;

;

;

, . .

.

, . , . , .

() , , , , . . .

1.

? . . . , , , . , , .

. , . , . , , .

, . , . . . , , , . , , .

, , . . .

:

;

, , ;

, ;

, , ;

, . , , , , ..;

, , , ;

, .. .

. . , .

2.

2.1.

, 2 . , , . , , .

, , , , , , , .

: , , , , , , , , .

2.2.

, , . , , , , , .

, , . . , . , .

. . . .

. .. . , , , .

.

, .

2.3.

, , .

. , , .

Internet. , , Internet, , . . . .

, . .

.

2.4.

2.4.1.

:

;

;

, .. ;

, , .

, .

. , . .

, , , .

, , , , , ..

.

, :

, , ;

;

;

;

, , .

, . , : .

.

.

:

, , (, , ), ;

. ( ). - ( ) "" . , , "" .

2.4.2.

IBM- .

:

Pentium 366;

64 ;

3,2 ;

;

SVGA;

.

, Windows NT, .

2.4.3.

, .. - , . .

, . : .

, . .

. .

, . , . , , , , , . , , . :

;

, .. , , , , ;

.

MS DOS, . : , , . , : , , 1 , . MS DOS , , . , , MS DOS /2/ . MS DOS Windows 3.x, , , , .

Windows 95 Microsoft, , . API Win32, , , 4 , . , . , , DDE , OLE 2 . . Windows 95 , . , , .

Windows NT 4.0 /3/ Windows 95, . , , , . . 50 , Windows NT .

. Windows NT 4.0.

. : - , - , ++, Pascal /4/.

. , . , .

Borland Delphi, Object Pascal. , , , () . Delphi .

, Delphi, -, . - , , . Borland, , . Delphi "" .

- . , , . , , , Delphi, .

++ BUILDER , . - C++ , - , ( ). . BDE (Borland Database Engine) . BDE . BDE -, SQL (Structured Query Language). ++ BUILDER.

2.5.

, , . PC Pentium 366, 64 , 3,2 , SVGA . 15 . . Windows NT. , Windows NT, 5 . .

: , , .

3.

. . , , , , , Internet /5-8/. , , , .

. /9,10/, 2.

. - "". , "".

. . , . , , , .

, "" "". "" .

;

"" ;

"".

1 "" .

"" 2.

"" 3.

, , , , , .

"" , , , , .

"" , , , , .

, "", , .

4. ()

4.1.

Init, , , . , , , , .

:

, ;

, Init , . , . Init Order;

, .

4.2.

, , .

, Datas_up. " ". 1.

1 -

Integer

Integer

Integer

Integer

Integer

Boolean 0- 1-

.

" ", "", "", " " . " " , . " " " " .

Control " " . , " ". " " Control :

" " = 01.

Control Order " ". Order " ", . , Order " " = 02 . , Order " " = 02 "" .

" " = 02.

"" = 0, Control . " " .

"" =1, "" = 1 = 60.

.

" " = 03.

"" = 0, "" " " 0.

"" =1, "" " " =1 " " " " = " " .

.

" " = 04.

"" = 1 = 60.

" " .

4.3.

Datas_down, " " . , Datas_down " " .

" " 2.

2 -

Integer

Integer

String

Integer

Boolean 0- 1-

Integer 0,1 2

Integer 60 0

.

, Control " " 02. . "" = 0, "" = 60. " " .

4.4.

, . . Waiting. , Waiting "" , 60 0. 0, "". < 3, 1 "" = 60. "" = 3, Waiting .

Processing. , . , , Processing = 06 . , , , .

" " = 06, Processing , "". , 2 (. . 3).

2-

0

0

0

0

0

0

0

0

1

0

0

0

0

0

0

0

. 3

, 1, , . , " " , .. = 1. .

4.5.

. , , , , . .

Inquiry. . Inquiry .

Diagnostics. " " = 03 . Diagnostics, , , 4 . .. 3 60 , Waiting. 4 Diagnostics . Diagnostics . , . , .

Application. Application .

Work_DB , .

4.6.

, "" . Datas_up2, , . 3.

3 -

Integer

String

String

String

Boolean 0- 1-

Boolean 0- 1-

Integer

Integer

Integer

, .. . " " " " .

5 , Interaction. .

Interaction. " " . , , Interaction " " .

" " = 05.

Interaction " " () , "". , , Interaction 05. "" , 0, "", "" .

" " , " " 05. "" 1. " " "", "" .

" " , "", Interaction , "" 2. " " "" "".

4.

4 -

Integer

String

String

Integer

Integer

Boolean 0- 1-

Integer

Integer

5 "".

" " = 06.

"" "", Interaction , .

" " = 07.

"" , "" " ", .. 07.

" " =08.

"" . Interaction , , " " = 08.

5. ()

5.1.

, , . , , " " "" .

"" "" " " = 05. Get_priority. " " "". "".

Get_priority " " "" , "". "", , .

"" Get_priority , " " . 5.

5 -

Integer

String

String

String

Boolean 0- 1-

Integer

Integer

Integer

Datas_down3 , , 3.

5.2.

Send_message. , . "", . = 06. " " .

.

, Send_message " " 08.

5.3.

, "" " 3". , Datas_up 3. . " " . . , " " . " " 6.

6 -

Integer

String

String

Integer

Integer

Boolean 0- 1-

Integer

Boolean

Get_message. " " . , " " .

" " = 05.

Get_message "" . "" = 0, , " " "" . "" =1, , " " . "" = 2, . " " "" . "" .

" " = 06.

" " = 0, , .

0, . , , .

" " = 07.

"" , , . Get_message .

" " = 08.

"" Get_message . .

6.

, , . , . /11/, . , , .. , , " ". , , .

, , , . , , , . , , /12/.

. 4.

(. . 5), , . , .

1

(. . 6) , , . - .

(. . 7) . .

, , .

. , , . , .

, . , . , , , . , . , . : , , , .

. . , . , , .

7. ,

8 , .

. 8

" " " " .

" " , .

" " , .

" " "".

"" .

" " . " ", " ", " " "". , .

.

01 , , , , . "" .

02 , 2 , , . "" = 0 .

, , . "" 1 . = 0, . = 1, .

03 . "" .

. "" 3 . = 0, , 2 3 = 0. = 1, , .

04 , . "" .

05 . "" 20 , 10 " " , 10 .

"" . 13 .1 , 0 - , 1 - , 2 - , . 10 " ", 2 .

06 "" "" , . "" 2 , 2 , 2 , .

"C". "" 2 . = 0, . = 0 1 .

07 "" , . "" .

08 "" . "" .

. "" 1 , 1 . 2 , .200 , , , 16. .

8.

8.1. (Control)

/13,14/ 9 - 12.

(Control)

. 9

. .

:

i ( );

id[i]() " " ;

id[i]() " " ;

n .

. 10

. 11

. 12

8.2. (Order)

, , , . .. , , . " ". Order , . , .

:

i (" ").

13.

(Order)

. 13

8.3. (Datas_up)

. " ". , .

:

N " " ( ).

14.

(Datas_up)

. 14

8.4. (Datas_Down)

(. . 15). , , .

. :

N ; 1 - " "; 2 - " "; 3 - " "; 4 - " "; 5 - ""; 6 - " "; 7 - " ".

(Datas_Down)

. 15

8.5. (Init)

16.

(Init)

. 16

8.6. (Waiting)

17.

(Waiting)

. 17

8.7. (Processing)

. Processing (. . 18 - 21) ( ). , . , .. , .

:

, 16 . 1- " " 2 " ". 1- , , ;

J ;

- ;

;

.

(Processing)

. 18

. 19

. 20

. 21

8.8. (Interaction)

22 - 26.

:

Mas1= ;

Mas2= ;

Mas= .

(Interaction)

. 22

=07

. 23

=05

. 24

. 25

. 26

8.9. (Get_priority)

27.

:

Mas1= ;

Mas2= .

(Get_priority)

. 27

8.10. (Get_message)

28 - 31.

(Get_message)

. 28

. 29

. 30

. 31

8.11. (Send_message)

(Send_message)

32.

8.12.

Datas_up2, Datas_up3, Datas_Down2 Datas_Down3 Datas_up Datas_Down, . .

33.

. 33

9.

9.1. ""

, , . .

9.1.1.

" " 7.

7 -

Status_bar

Integer

Time_B

Data

Text

Blob

Priority

Integer

Login

String

" " - , . , , .

9.1.2.

. , . 8.

8 -

Integer

Boolean

Integer

. . "" . "" " " , .

9.1.3.

, 60 . . . , , , .

9.1.4.

, , . .

9.1.5.

, String . 100 . 100 , . .

9.1.6.

.

9.1.7.

, 7. 5 . .. , , , . , " ".

9.1.8.

, . 9.

9 -

Integer



91 ., 34 , 15 , , 3 , , , , , , ,

 

 

 

! , , , .
. , :