Skip to content

michaeltyur/FlightTerminalSimulator

Repository files navigation

FlightTerminalSimulator

Asp.net core, signalR based project + angular clients + adaptive mobile design

Live server link: https://live-project.space

--Desktop alt text alt text

--Mobile
alt text alt text
alt text

The purpose of the application: airport simulation.

  1. Clients : a) Flights generator (client) – ui for outgoing flights, based on angular b) Flights receiver (client) – ui for outgoing flights, based on angular
  2. Server – director of the connection between parts, based on Asp.net core
  3. Dal – logic of airport simulation.
  4. Models – entities of project instances
  5. TerminalDb - creates and performs recording whit local sql data base

Flights generator: allows you to start the generation of flights, stop it and change the intensity of generation.
Flights receiver: displays information of the terminal in all its parts and in the air.
Allows you to see the number of flights in each part of the terminal.
Allows you to get detailed information about each flight by clicking on the object of interest.
Dal: main idea of simulation - that each flight is performed by a separate task, which allows for multitasking, depending on the flight, the task gets priority.
Flights are stored in thread-safe collection that allows you to perform safe manipulations of reading and writing in multi-thread mode.
The terminal is divided into sections, the time spent on each depends on the following factors: speed, length of section, number of passengers.
In some areas, by condition, there may be a limited number of aircraft, in the project it is implemented by the SemaphoreSlim Class.
TerminalDb: Manages the work with the database. Сreates a database, writes data and deletes it.

How to run project

Requirements: Visual Studio or IIS installed.
In Visual Studio – select FlightControl.Core, press IIS Express button.
Clients - open with visual studio code (recommend) following folders:
angular-client (flights receiver) and
fly-generator (flights generator), go to terminal
Enter: ctrl+`
In terminal enter: ng serve –o
Flights generator: for start generation press Start button.
For stop press Stop button.
For change generation interval select the required interval and press Set timer button (min 2 - max 10 second).
In case of loss of connection with the server, the application tries to reconnect

About

Asp.net core, signalR based project + angular clients

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published