34 lines
641 B
Plaintext
34 lines
641 B
Plaintext
@startuml
|
|
start
|
|
:check user authorization;
|
|
if (Authorized?) then (yes)
|
|
:check number of imports;
|
|
if (number?) equals (2) then
|
|
:check stops in storage;
|
|
if (Stop storage available?) then (yes)
|
|
:check stops from import;
|
|
if (Is stop import empty?) then (yes)
|
|
end
|
|
else (no)
|
|
:check zones from import;
|
|
if (Is zone import empty?) then (yes)
|
|
end
|
|
else (no)
|
|
:process zones from import;
|
|
:process stops from import;
|
|
:delete obsolete records in storage;
|
|
:return all records from storage;
|
|
endif
|
|
endif
|
|
else (no)
|
|
end
|
|
endif
|
|
else (no)
|
|
end
|
|
endif
|
|
else (no)
|
|
end
|
|
endif
|
|
end
|
|
@enduml
|