.


:




:

































 

 

 

 





.

.

C#.

, , :

, , , , , , .

, , , ( )

, , .

, ,

, , , , , , , . ,

.

1.

, .

:

:

o : , , ;

o ;

o , ;

;

;

;

:

o : λ, , , ;

;

;

, ;

;

;

c ;

()

:

o ;

o ;

o ;

, , ( 1).

. 1

4 :

Project

Artifact

Member

Controller ,

 

 

Controller

 

Controller, , . Controller

 

Project :

Name

Deadline

Budget

artifactList ()

memberList ()

 

:

ChangeProject

 

Artifact :

Name

View

Size

Version

artInfList () ArtifactInfo,

 

:

Artifact

ChangeArtifact

CreateInfoList ()

 

ArtifactInfo 2 :

newSize ,

newVersion - ,

 

Member :

Surname

Role

Priviligies

ContactInformation

 

:

Member

ChangeMember

 

, Controller, Controller, :

PathList ()

ProjectDirAbsPath

ArtifactFileName ,

ArtifactChangeFileName ,

MemberFileName ,

project

 

:

ReadInfo

ReadProjectFromFile

ReadArtifactFromFile

ReadMemberFromFile

ReadInfoListFromFile

AddProject

WriteArtifactToFile

WriteMemberToFile

AddInfoArtifact

SaveInfo

 

(. 2).

.2

 

Project , , (). , .

Member ChangeMember.

Artifact . () : - ; . / . , .

Controller . . . , , .

.

Project Member . , , , , . (, , , .)

Project Artifact . , , .

Project Controller , . Controller Project. 1 Controller. .

 

:

.

 

 

, MS Visual Studio, .

, List.

Controller, .

. Atrifact Member. CreateInfoList Artifact, ArtInfList . .

() , , DataGridView

 

, . , .

. 3

 
 

. , .

Open project .

, ,

Form2(. 4)

. 4

Name , Budget . .

Add artifact , , Artifacts.

Add member , , Members.

Change member Change artifact . .

View all artifact changes .

Save /

Close

 

. , . , . , :

,

,

//

, , .

 

 

2.

. , , , .

:

: ,

( , , , )

Journal 7 , .

.

:

 

Project :

MaxMemberID Id

comList ()

journal

 

:

AddMember () ( )

 

Artifact :

artInfList () ArtifactInfo,

LastChangeDate artInfList

ArtifactInfo, Journal.

 

:

CreateInfoList ()

 

Member :

Id

 

 

Controller :

ReadInfoListFromFile , Journal.

AddProject WriteProjectToFile

AddInfoArtifact () , Journal.

 

:

SearchMember

ReadJournalFromFile

SaveJuornal

WriteCommunicationToFile

ReadCommunicationFromFile

 

:

 

Communication :

Type

Date

Lasting

Place

ComMembList ()

 

:

Communications

EndTime

 

Journal :

CountOfRecords

changeProjList () ProjectChange,

changeArtList () ArtifactChange,

addArtList () ArtifactAdd,

deleteArtList () ArtifactDelete,

changeMembList () MemberChange,

deleteMembList () MemberDelete,

addCommList () CommunicationAdd,

 

:

AddRecord ( )

 

ProjectChange :

No

chName

Description

 

ArtifactChange :

No

Name

View

newSize

newVersion

Author

Description

 

ArtifactAdd :

No

Name

View

newSize

newVersion

Author

 

DeletedArtifact :

No

Name

View

Reason

 

MemberChange :

No

Name

chName

Reason

 

ExcludedMember :

No

Name

Reason

 

MakeComm :

No

Type

Organizer

Purpose

 

Creator

 

, Member, Artifact, Communication, Journal. Project,

(. 5).

. 5

 

Journal .

Communication .

Project Communication . , , .

Project Journal . , , .

Controller Project . ,

Communication Member . . . .

:

. .

Project comList List Communication. Add List, Communication.

, ( 6). . , .

. , , .

( ExcludedMember). Description .

.

.

Show Journal , TextComboBox .

Delete project, .

. 6.

. . 6

Communication (. 7).

. . 7

Type, Lasting, Place, Purpose , , .

, .

.

. , .

, , , , . ,
(1, 3, 6 1, 2, 3)   .

 

..

, , 20 .

 

 

3.

. , .

:

,

, /

, , ,


. .

Project:

, , MaxID Controller.

OneDayPay .

ArtCountPerDay , .

Artifact:

LastChangeDate

Journal:

AddByID ChByID .

Controller:

ConvertToUnixTimestamp DateTime , OneDayPay ArtCountPerDay Project, .

SearchProject ps , id

(. 8).

 

. 8

. .

:

o

o

 

, , / (. 11, . 12). : SearchProject Controller, AddByID CnByID Journal.

.

, .

:

. 9 ( : )

. 10 ( : )

(. 11)

. . . 11

. , , (. 12)

. . . 12

. , , .

.

. , . , :

o

o

o

(MS Visual Studio), , .

. , , . :

( ) ( )
$. : .
. :
.
, .pvr. .pvr. .
, : !
: ... .
: ... . .
. . .
. . ID.
, , . . . , . .

:

, , , , ( ). .
, , . id
, , id .
. .  
, . , . .
, . , , . . .
2 , . 1

 





:


: 2016-09-06; !; : 559 |


:

:

! . .
==> ...

1824 - | 1628 -


© 2015-2024 lektsii.org - -

: 0.166 .