Вы находитесь на странице: 1из 39

:

..
..
_______________
_____________


:
:

-031

..
..


___________ _____

2006

3
1. AllFusion Process Modeler 4.1 (Bpwin 4.1)..4
1.1. IDEF04
1.2. ...13
1.2.1. (Data Flow Diagramming)14
2. AllFusion Erwin Data Modeler 4.1..19
3. ..25
4. ..28
4.1. ..28
4.2. .29
5. SQL....32
.37
38

, ,
,

, .

:
- ,
, ;
- .

. ,
, . ,
,
,
.
,
.


.
.
. .

.
,

1. AllFusion Process Modeler 4.1 (Bpwin 4.1)


- CASE- AllFusion Process Modeler (BPwin),
:
IDEF0 ( );
DFD (DataFlow Diagram);
IDEF3 (Workflow Diagram).
1.1. IDEF0

- ( AS-1S)
- , ( -).

IDEF0

- .

()
. . 1
.

6
USED A T:

AUTHOR:

DATE: 10.11.2005

WORKING

PROJECT:

REV:

DRA FT

04.05.2006

REA DER

DATE CONTEXT:

TOP

RECOMMENDED
NOTES: 1 2 3 4 5 6 7 8 9 10

PUBLICATION

0.

NODE:

TITLE:

NUMBER:

A-0

. 1 - .

( .1 ),
( , ,

),

( ) ( ,
).
,
.
.
, :

Number
Definition
Author
Status


A0



WORKING

7

Definition
Status
Author

Definition
Status
Author

WORKING


,

WORKING

Definition
Status
Author

Definition
Status
Author


WORKING


WORKING



Definition


Status
WORKING
Author

Definition

Status
Author



WORKING

Definition
Status
Author

" "
WORKING


Definition

WORKING

Status
Author


-
( ).

. ,
.

, ,
(. 2).
USED AT:

A UTHOR:

DATE: 10.11.2005

WORKING

PROJECT:

REV :

DRA FT

04.05.2006

REA DER

DATE CONTEXT:

RECOMMENDED
NOTES: 1 2 3 4 5 6 7 8 9 10

PUBLICA TION

A-0

0.


0.

0.

NODE:

TITLE:

NUMBER:

A0

. 2 - .

:
1) - ,
, ;
2) -
;

3) - .
, ,
:

Definition
Status
Author

Definition
Status
Author

Definition

WORKING


WORKING

Status
Author

WORKING


Definition
Status
Author



WORKING

Definition
Status
Author

" "
WORKING

Definition
Status
Author

Definition
Status
Author


WORKING


WORKING

10



Definition


Status
WORKING
Author


Definition
Status
Author



WORKING


Definition
Status
Author



WORKING


Definition
Status
Author



WORKING


Definition

WORKING

Status
Author

11
USED A T:

AUTHOR:

DATE: 24.11.2005

WORKING

PROJECT:

REV:

DRA FT

04.05.2006

REA DER

DATE CONTEXT:

RECOMMENDED
NOTES: 1 2 3 4 5 6 7 8 9 10

PUBLICATION

A0

0.



0.

NODE:

TITLE:

NUMBER:

A1

. 3 - .
, ,
:

Number
Definition
Author
Status

A11


WORKING


Number
Definition
Author
Status


A12


WORKING

Definition
Status
Author

" "
WORKING

12

Definition
Status
Author


Definition

WORKING

Status
Author


WORKING

Definition
Status
Author

Definition

Status
Author

Definition


WORKING

WORKING

Status
Author

WORKING


Definition
Status
Author



WORKING



Definition


Status
WORKING
Author


Definition
Status
Author



WORKING

13

Definition
Status
Author



WORKING


Definition
Status
Author



WORKING


Definition

WORKING

Status
Author
USED A T:

AUTHOR:

DATE: 22.12.2005

WORKING

PROJECT:

REV:

DRA FT

04.05.2006

REA DER

DATE CONTEXT:

RECOMMENDED
NOTES: 1 2 3 4 5 6 7 8 9 10

PUBLICATION

A0


0.

0.

NODE:

TITLE:

NUMBER:

A2

. 4 - .
, ,
:

Number
Definition
Author
Status


A21


WORKING

14

Number
Definition
Author
Status


A22


WORKING


Definition
Status
Author



WORKING


Definition
Status
Author



WORKING


Definition
Status
Author



WORKING

Definition
Status
Author

" "
WORKING


Definition
Status
Author



WORKING


Definition

WORKING

Status
Author

1.2.

, BPwin
IDEF3 DFD .

1.2.1. (Data Flow Diagramming)

15

(DFD)

. DFD
, " " " ",
( IDEF0) .
. 5 DFD
, .
USED AT:

AUTHOR:

DATE: 01.05.2006

WORKING

PROJECT:

REV:

DRAFT

04.05.2006

READER

DATE CONTEXT:

RECOMMENDED
NOTES: 1 2 3 4 5 6 7 8 9 10

PUBLICATION

A2

0.

0.

NODE:

TITLE:

NUMBER:

A22

. 5 - DFD .
,
.
, ,
:

Number
Definition
Author
Status


A221


WORKING

16

Number
Definition
Author
Status


Definition
Status
Author



WORKING


Definition
Status
Author



WORKING


Definition
Status
Author



WORKING


Definition
Status
Author

WORKING

Definition
Status
Author

" "
WORKING

A222


WORKING

17
USED AT:

AUTHOR:

DATE: 24.11.2005

WORKING

PROJECT:

REV:

DRAFT

04.05.2006

READER

DATE CONTEXT:

RECOMMENDED
NOTES: 1 2 3 4 5 6 7 8 9 10

PUBLICATION

A0

0.

NODE:

TITLE:

NUMBER:

A3

. 6 - DFD .
, ,
:

Number
Definition
Author
Status


A31


WORKING

Definition
Status
Author

" "
WORKING


Definition
Status
Author



WORKING


Definition
Status
Author



WORKING

18

Definition
Status
Author



WORKING


Definition
Status
Author

WORKING


Definition
Status
Author



WORKING

Definition
Status
Author


WORKING


Number
Definition
Author
Status


2


WORKING


,
.
. 7 :

19

. 7 - .
- 1- ;
-

2- ;
-

3- ;
-
4- .

20

2. AllFusion Erwin Data Modeler 4.1


IDEF1X
CASE ERWin.
-
, (. 8, 9).


(FK)
(FK)
(FK)
(FK)




" "
3- -031
..

(FK)


(FK)
(FK)

(FK)
(FK)
(FK)
(FK)


(FK)
(FK)

. 8 - IDEF1X ( )

21

" "
3- -031
..

: CHAR
: CHAR(20)
: DATE
: CHAR(20)
: DATE
: LONG
: LONG
: LONG
: LONG
: LONG

: CHAR(20)
: DATE

: CHAR(20)
: DATE

: CHAR(60)
: CHAR(30)
: CHAR(3)
: LONG
: LONG
: CHAR(1)
: CHAR(3)
: INTEGER
: LONG

: CHAR(30)
: CHAR(20)
: MONEY
: LONG
: INTEGER
: LONG

: CHAR


: CHAR(20)
: DATE

: CHAR(20)
: DATE
: CHAR(20)
: DATE

: CHAR(1)
: CHAR(3)
: CHAR(3)
: LONG
: CHAR(30)
: LONG

: CHAR(20)
: DATE
: LONG
: LONG
: CHAR(18)

. 9 - IDEF1X ( )
,
.

.
.
.
(, , ),
, .
.

. IDEF1X .
.
( )
( ) .
.

22

.
.

,
.
.
,
( ).
-
, .
,

()
().


.
.
- (FK).
,


. 10:

23

. 10 -

( . 11),
Tools/Data Browser/Erwin Repots.
Name

Name

Entity
Definition

, ,

Attribute
Definition





Logical Only
No
No
No
No
No
No

Required Is PK
Yes
Yes
Yes

Yes

No
No
No

No
No
No

No
No
No

No
No
No

24
Name

Attribute
Definition



Required Is PK
Yes

Yes

Yes

Yes

No
No
No

No
No
No

Yes

Yes

Yes

Yes

Yes
No
No
No

No
No
No
No

No
No
Yes
Yes

No
No
Yes
Yes

Yes

Yes

Yes

Yes

Yes

Yes

No

No

,

,

No

No

No

No

No

No

No

No

Yes
Yes

Yes
No

Yes

No

Yes

No

Yes

No

25
Name

Attribute
Definition


Required Is PK
Yes

Yes

Yes

Yes

No
No

No
No

No

No

No
No
No
No
No
No

No
No
No
No
No
No

26

3.
.
, :
Microsoft Visual FoxPro

Microsoft Visual FoxPro, , Visual
FoxPro 7.0, ,
. Visual FoxPro ,
, .
Visual FoxPro ,
, , ,
.
, .
DBF.

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

27


.
.
Microsoft Access
Microsoft Access , ,

, .
Microsoft Access
Microsoft Office (desktop)
. , Access
, .
, ,
.
Access :

, , );

, , ;
Microsoft Office.
, Access ,
:
, ,
, ,
.
Database Desktop Borland C++ Builder

. ,
.
) ,
, .

28

) ,
(Database Desktop
, Borland C++ Builder
).
) .

Database
Desktop Borland C++ Builder.

29

4.
4.1.
:
1. ;
2. .
:
1. ; ;
.
2. ; ;
; ; ; ; ;
; .
:
. ,
11 12:

. 11 -

30

. 12 -
4.2.
13 ,
.

31

.13 -
.
8 :
1. ;
2....;
3. ;
4.;
5.;
6.;
7.;
8..

32

.14 -

..

.15 - ..

33

5. SQL
SQL . ,

,
.
,
, ,

.
, , , , ,

, , .
,
, ,

.
,

, SQL,
, . ,
, 90- SQL.

SQL

ANSI

) ISO
( ). ,
SQL
ANSI, , ,
, .
,

34

""
.
,

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

6 . ,
( (A-Z), ,
0), , ,
.
SQL .

SQL-

, SQL-
, SELECT .

void __fastcall TForm1::SKChange(TObject *Sender) //
{ Table1->Active=false;
Table1->Active=false;
if(SK->Position == 0)
{ Table2->Active=false;
DB->DataSource=DataSource1;
DBN->DataSource=DataSource1;
Table1->Active=true; }

35

if(SK->Position == 1)
{ Table1->Active=false;
DB->DataSource=DataSource2;
DBN->DataSource=DataSource2;
Table2->Active=true; }
}
//--------------------------------------------------------------------------void __fastcall TForm1::CBChange(TObject *Sender) //

{
DB->DataSource=DataSource3;
Table1->Active=false;
Table2->Active=false;
if (CB->ItemIndex == 0) //
.
{
Query1->Active = false; // Query -false ()
Query1->SQL->Clear();// SQL-
/* . SQL - */
Query1->SQL->Append("SELECT KOD_ORG as
_,FIO as ,DATA_ROG as _,POL as
,OBRAZOV as ,SPEC as ,RAION as
FROM ORG2 ORDER BY KOD_ORG");
Query1->Active = true;} // Query -true ()
else if (CB->ItemIndex == 1) //
.
{

36

Query1->Active = false;
Query1->SQL->Clear();
Query1->SQL->Append("SELECT KOD_ORG as
_,FIO as ,DATA_ROG as _,POL
as ,OBRAZOV as ,SPEC as ,RAION as
FROM ORG2 ORDER BY FIO");
Query1->Active = true;}
else if (CB->ItemIndex == 2)
{
Query1->Active = false;
Query1->SQL->Clear();
Query1->SQL->Append("SELECT KOD_ORG as
_,FIO as ,DATA_ROG as _,POL
as ,OBRAZOV as ,SPEC as ,RAION as
FROM ORG2 ORDER BY DATA_ROG");
Query1->Active = true;}
else if (CB->ItemIndex == 3)
{
Query1->Active = false;
Query1->SQL->Clear();
Query1->SQL->Append("SELECT KOD_ORG as
_,FIO as ,DATA_ROG as _,POL
as ,OBRAZOV as ,SPEC as ,RAION as
FROM ORG2 ORDER BY POL");
Query1->Active = true;}
else if (CB->ItemIndex == 4)
{

37

Query1->Active = false;
Query1->SQL->Clear();
Query1->SQL->Append("SELECT KOD_ORG as
_,FIO as ,DATA_ROG as _,POL
as ,OBRAZOV as ,SPEC as ,RAION as
FROM ORG2 ORDER BY OBRAZOV");
Query1->Active = true;}
else if (CB->ItemIndex == 5)
{
Query1->Active = false;
Query1->SQL->Clear();
Query1->SQL->Append("SELECT KOD_ORG as
_,FIO as ,DATA_ROG as _,POL
as ,OBRAZOV as ,SPEC as ,RAION as
FROM ORG2 ORDER BY SPEC");
Query1->Active = true;}
else if (CB->ItemIndex == 6)
{
Query1->Active = false;
Query1->SQL->Clear();
Query1->SQL->Append("SELECT KOD_ORG as
_,FIO as ,DATA_ROG as _,POL
as ,OBRAZOV as ,SPEC as ,RAION as
FROM ORG2 ORDER BY RAION");
Query1->Active = true;}
}
//---------------------------------------------------------------------------

38


.
,
,
.
,
:
-

..;
- ;
- ;
- ,

;
- .

,

, , ,

, .

39


1. .. AllFusion Modeling
Suite. .: , 2002. 224.
2. .. BPWin ERWin. CASE
. .: , 1992. 256.
3. .. (SQL). .:
, 1994. 80 .
4. ., . . .:
, 1985. 344 .
5. . . .:
, 1993. 320 .
6.

..,

..

. .: , 1999. 351 .
7. . DB2. .:
, 1998. 320 .
8. .. (SQL). .: ,
1994. 80 .
9. . . .:
, 1994. 196 .
10. . . .: , 1997. 608 .
11. , . : ,
.--:-,2004.-1024 .
12. .. C++Builder6.: ,2003.1151.

Оценить