Transcript

PowerPoint

- 2011732014 2009730186 2011732022 - 1 - .

10.

1) : , , ,

2) : --

3) : - ....- ,

, .0. - 2 -1.

2.

3.

4.

5. Flow Diagram

6.

7. - 3 -1.

#- .- .

- .

#

.- 4 --War Ship , , .

#memberLengthWidthLocationDirectionTravel_RangeCurrent_Velocity#methodShipMovement()ShipControl(string cmd, int T)ReadTravelRange()GetShipState()2. - 5 --Flow Manager . , . #memberList CmdpartsFMStateShipState#methodInterpret(string cmd)SendFMState(string FMstate)SendShipSate(State ShipState) 3. Go ChangeAV + ( )

ChangeV + ( ) AddAV + () AddVelocity + () Stop Set +() .SendShipState - 6 -4.

Client with Server Flow ManagerInterpret( )- ShipControl(string cmd, int T) , .

ShipMovement() Client Form 2 . .EventShipMovement()ShipMovement()ShipMovement()ShipMovement()TimerServerClient FormFlow Manager5. Flow DiagramGO Length : 25Width : 50Location : Point(23,400)Direction : 45 degreeTravel_Range : 0 ->> 40Current_Velocity : 10/sShipControl(cmd, T)- .

- .- 7 - NetWorkcTimerRoutineTimerRoutineTimerRoutineTimerRoutineTimerServerClient FormFlow Manager#1 .#2 . .

Client with Server# - - - -

6.

- 8 -7. - 9 -1231. 2. -WarShip -FlowManager - -Flow Diagram -3. - - 4. 5. Thank you- 10 -