Add to PDA alert level, shift duration, instructions and ID access. Also fix uknown station name. (#15220)

* PDA update and fix

* fix alert level

* Fix color level

* Maybe this will look better

* PDA update and fix

* fix alert level

* Fix color level

* Maybe this will look better

* Now threat color is taken in the same way as for emergency lamps

* Minor improvements

* Fix alert level string

* AlertLevelChangedEvent for all PDAs

* StationAlert is also stored in PDAComponent

* Removed IdAccessLevels

* Removed Access from PDAMenu.xaml.cs and Draw time real-time

* AlertLevel updated from AlertLevelChangedEvent

* Removed garbage

* Removed garbage from PDAUpdateState.cs

* Change comp-pda-ui-station-time

* revert rename PDAOwnerInfo to PdaOwnerInfo

* remove not use short names jobs

* "ftl var should be lowercase"

* "ftl var should be lowercase" again

* transfer StationAlert to PDAIdInfoText

* transfer StationAlert to PDAIdInfoText

* Line breaks of parameter/argument lists conventions

* not randomly inline property attributes

* no broadcast AlertLevelChangedEvent

* fix cctualOwnerName

* GridModifiedEvent never called

* add alert-level-unknown-instructions

* UpdateAlertLevel for latejoin

* Add alert-level-unknown

* Revert "GridModifiedEvent never called"

This reverts commit fa7d1620

* remove garbage and fix quite long
This commit is contained in:
Daniil Sikinami
2023-05-17 23:35:40 +03:00
committed by GitHub
parent 5da40f0d88
commit 7ca7272a80
8 changed files with 128 additions and 26 deletions

View File

@@ -2,11 +2,11 @@
### UI
# For the PDA screen
comp-pda-ui = ID: [color=white]{$Owner}[/color], [color=yellow]{$JobTitle}[/color]
comp-pda-ui = ID: [color=white]{$owner}[/color], [color=yellow]{$jobTitle}[/color]
comp-pda-ui-blank = ID:
comp-pda-ui-owner = Owner: [color=white]{$ActualOwnerName}[/color]
comp-pda-ui-owner = Owner: [color=white]{$actualOwnerName}[/color]
comp-pda-io-program-list-button = Programs
@@ -24,7 +24,13 @@ pda-bound-user-interface-lock-uplink-description = Prevent anyone from accessing
comp-pda-ui-menu-title = PDA
comp-pda-ui-station = Station: [color=white]{$Station}[/color]
comp-pda-ui-station = Station: [color=white]{$station}[/color]
comp-pda-ui-station-alert-level = Alert Level: [color={ $color }]{ $level }[/color]
comp-pda-ui-station-alert-level-instructions = Instructions: [color=white]{ $instructions }[/color]
comp-pda-ui-station-time = Shift duration: [color=white]{ $time }[/color]
comp-pda-ui-eject-id-button = Eject ID