Commit Graph

207 Commits

Author SHA1 Message Date
Mikayla Fischler
67872a1053 updated graphics touch events to be mouse events 2023-04-08 21:33:54 -04:00
Mikayla Fischler
4aad591d3a #182 linked up PLC front panel indicators, cleaned up panel display and added flashing to RPS trip 2023-04-08 16:49:54 -04:00
Mikayla Fischler
6ea530635f #182 WIP PLC front panel 2023-04-06 22:10:33 -04:00
Mikayla Fischler
38ac552613 #118 graphics cleanup 2023-02-24 19:50:01 -05:00
Mikayla Fischler
2babd67198 #162 #168 status indicator for emergency coolant, display number of connected RTUs, added RCS hardware fault and radiation warning indicators 2023-02-15 19:52:28 -05:00
Mikayla Fischler
1fe2acb5c5 #144 added radiation monitor integration; displays, unit alarms, connection states, other bugfixes 2023-02-13 22:11:31 -05:00
Mikayla Fischler
fe71615c12 #101 #102 work on bugfixes; disable unit controls while in auto mode 2023-02-01 21:55:02 -05:00
Mikayla Fischler
e9562a140c #143 #103 #101 #102 work in progress auto control, added coordinator controls, save/auto load configuration, auto enable/disable on reactor PLC for auto control (untested) 2023-01-26 18:26:26 -05:00
Mikayla Fischler
8abac3fdcb refactoring and adjusted spinbox and hazard button elements 2023-01-23 15:10:41 -05:00
Mikayla Fischler
4145949ba7 #141 setting unit limits with coordinator 2023-01-15 13:11:46 -05:00
Mikayla Fischler
93a0dedcb1 #24 GUI for unit displays to set unit group 2022-12-13 15:18:29 -05:00
Mikayla Fischler
a591cab338 color reactor coolant bars based on coolant type 2022-12-11 10:51:45 -05:00
Mikayla Fischler
a633f5b4c3 #132 expanded unit displays to use 4x4 monitors 2022-12-10 23:56:07 -05:00
Mikayla Fischler
6517f78c1c #129 induction matrix view 2022-12-10 15:44:11 -05:00
Mikayla Fischler
c23ddaf5ea #135 added clock and supervisor trip time to coordinator main view 2022-12-06 11:40:13 -05:00
Mikayla Fischler
6bdde02268 #131 start of unit status text, added updating coordinator waste processing option on reconnect 2022-12-05 16:17:09 -05:00
Mikayla Fischler
4030fdc5c9 #77 alarm sounder 2022-12-04 13:59:10 -05:00
Mikayla Fischler
d4ae18eee7 #10 #133 alarm system logic and display, change to comms to support alarm actions, get_x get_y to graphics elements, bugfixes to coord establish and rtu establish, flashing trilight and alarm light indicators 2022-11-26 16:18:31 -05:00
Mikayla Fischler
f68c38ccee cleanup of requires 2022-11-24 22:49:35 -05:00
Mikayla Fischler
5628df56a2 removed hardcoded push button padding 2022-11-24 14:20:11 -05:00
Mikayla Fischler
29793ba7c4 #128 element changes and show number after setting min/max for spinbox 2022-11-17 12:00:00 -05:00
Mikayla Fischler
9c32074b56 #128 limit max burn rate control to actual max burn rate 2022-11-17 11:58:14 -05:00
Mikayla Fischler
ffeff86507 adjusted containment integrity to just be damage percent, moved up radiation indicator 2022-11-11 16:32:14 -05:00
Mikayla Fischler
806b217d58 #100 interactive reactor controls (start, scram, reset) 2022-11-06 18:41:52 -05:00
Mikayla Fischler
c620310e51 #113 power formatting on turbine energy in main overview 2022-11-02 14:47:18 -04:00
Mikayla Fischler
d87dfb9ebd #112 fixed bug with flasher 2022-11-02 12:02:52 -04:00
Mikayla Fischler
a02fb6f691 #110 periodically call unserviced TCD callbacks 2022-10-23 12:21:17 -04:00
Mikayla Fischler
307bf6e2c8 added util timer functions, tweaks to flasher and some debug prints for #110 2022-10-23 01:41:02 -04:00
Mikayla Fischler
d202a49011 #108 resolved TCD race condition 2022-10-21 15:15:56 -04:00
Mikayla Fischler
788fae44aa #105 single coordinator configuration 2022-10-20 13:53:39 -04:00
Mikayla Fischler
1bf8fe557c flasher callback now private function 2022-10-20 12:23:00 -04:00
Mikayla Fischler
6d5af98310 graphics element enable/disable, click indication on hazard buttons 2022-10-20 12:22:45 -04:00
Mikayla Fischler
bfa87815fa #90 flashing GUI indicator lights 2022-10-12 16:37:11 -04:00
Mikayla Fischler
529951f998 automatically show current burn rate in burn rate spinbox 2022-10-07 11:21:17 -04:00
Mikayla Fischler
d4da6a7f3a fixed up types/names for hazard button 2022-10-07 10:28:46 -04:00
Mikayla Fischler
9d60777223 #93 added reset RPS command to iocontrol/gui 2022-10-07 10:19:37 -04:00
Mikayla Fischler
c02479b52e #99 updating/sending builds 2022-10-02 21:17:13 -04:00
Mikayla Fischler
36557fc345 code cleanup, type hints, bugfixes, and #98 removal of support for mek 10.0 RTU peripherals 2022-09-21 15:53:51 -04:00
Mikayla Fischler
70d9da847e graphics elements comments 2022-09-12 15:58:43 -04:00
Mikayla Fischler
1bf21564f9 #91 recoloring of horizontal and vertical bar indicators 2022-09-12 14:43:01 -04:00
Mikayla Fischler
cd6bb7376d #91 adjusted resizing logic for core map 2022-09-12 14:38:48 -04:00
Mikayla Fischler
e0ab2ade89 #91 support resizing core map per reactor dimension updates 2022-09-12 13:53:39 -04:00
Mikayla Fischler
10c53ac4b3 #91 get and set values for all controls/indicators and textbox 2022-09-12 12:59:28 -04:00
Mikayla Fischler
98c826e762 start/stop animations with show/hide and pass show/hide down children 2022-09-10 15:14:48 -04:00
Mikayla Fischler
dcf275784c removed debug print 2022-09-10 10:43:48 -04:00
Mikayla Fischler
6f3405949d #88 hold on rendering unit detail view until we get a status, added waiting animation 2022-09-10 10:42:56 -04:00
Mikayla Fischler
c5ba95449f bugfix to trilight, change to test code in unit view 2022-09-08 10:22:11 -04:00
Mikayla Fischler
e084ae1eea removed redundant c_off from trilight 2022-09-07 10:42:12 -04:00
Mikayla Fischler
49605e5966 added tri-state indicator light 2022-09-07 10:39:51 -04:00
Mikayla Fischler
c985e90ec3 #73 test unit view completed, additional features held for after data integration is set 2022-08-28 11:52:43 -04:00
Mikayla Fischler
8dac59fba4 #73 waste selection 2022-08-16 11:22:58 -04:00
Mikayla Fischler
7f011369c4 util pad function 2022-08-16 11:22:06 -04:00
Mikayla Fischler
3c2f631451 #73 additional indicators next to core map 2022-08-09 00:40:50 -04:00
Mikayla Fischler
02c3c5c53c fixed bug with textbox alignment 2022-08-09 00:40:02 -04:00
Mikayla Fischler
252c48a02c #73 core map changes 2022-08-02 11:46:21 -03:00
Mikayla Fischler
826114e5bf #73 core map and bugfixes 2022-08-01 13:05:39 -03:00
Mikayla Fischler
17dd35e6de bugfixes to tiling element 2022-08-01 10:30:53 -03:00
Mikayla Fischler
f5c703a8b3 fixed push button touch redraw 2022-07-28 11:42:22 -04:00
Mikayla Fischler
14b24678f9 #84 auto-incrementing x with line break function, removed need for get_offset by having parent prepare child template 2022-07-28 11:17:34 -04:00
Mikayla Fischler
f4f36b020b #84 recursive get element by id 2022-07-28 10:15:12 -04:00
Mikayla Fischler
f1a50990f2 #84 improved element creation process for adding children 2022-07-28 10:09:34 -04:00
Mikayla Fischler
01a364b5cf fixed bug with spinbox 2022-07-23 20:08:52 -04:00
Mikayla Fischler
fc14141321 #73 unit overview parent/child setup, fixed touch events by setting up children for elements 2022-07-23 20:08:37 -04:00
Mikayla Fischler
c3d6d900a1 bugfixes to graphics elements 2022-07-16 13:25:07 -04:00
Mikayla Fischler
bd1ab11686 #79 water cooling only support, dynamic height, changed 2 turbine 1 boiler layout 2022-07-14 13:47:39 -04:00
Mikayla Fischler
8704d845bd fixed bug with cpair blit_a/blit_b colors 2022-07-14 13:45:40 -04:00
Mikayla Fischler
ea17ba41fe #74 supervisor-coordinator comms establish 2022-07-07 00:34:42 -04:00
Mikayla Fischler
3048fbed8b moved pipenet to be basic element not an indicator 2022-07-02 15:09:35 -04:00
Mikayla Fischler
35c408883a fixes to pipes/pipenet 2022-07-02 15:08:24 -04:00
Mikayla Fischler
ef73c52417 pipenet indicator instead of pipe indicator 2022-06-29 17:40:08 -04:00
Mikayla Fischler
01caf3d914 pipe indicator graphics element 2022-06-26 16:36:21 -04:00
Mikayla Fischler
e137953f93 fixed vbar bugs 2022-06-25 16:20:58 -04:00
Mikayla Fischler
316b255a04 fixed hbar percentage position 2022-06-25 14:51:59 -04:00
Mikayla Fischler
6397f29d4f fixed offsets/inner width for real this time 2022-06-25 14:51:38 -04:00
Mikayla Fischler
47599b8ff6 fixes to offsets and width calculations, init hbar to 0 2022-06-25 14:27:15 -04:00
Mikayla Fischler
d3f28a6882 #75 handle edge case on rectangle border width, renamed inner_* to offset_* 2022-06-19 11:35:17 -04:00
Mikayla Fischler
15595ca81b #75 offset children of rectangles with borders 2022-06-19 11:20:09 -04:00
Mikayla Fischler
e4b7f807fe commas in data indicators 2022-06-18 02:14:48 -04:00
Mikayla Fischler
9bd2229e27 improvements to rectangle graphics element even rendering 2022-06-18 01:33:45 -04:00
Mikayla Fischler
27038f64f7 SCRAM button graphics element 2022-06-16 12:17:41 -04:00
Mikayla Fischler
6980e73658 default to not even border 2022-06-16 11:31:52 -04:00
Mikayla Fischler
ea9e9288f7 bugfix to hbar 2022-06-16 11:29:47 -04:00
Mikayla Fischler
7f007e032d #62, #72 work on main layout, not using layout class, refactoring and bugfixes 2022-06-16 11:24:35 -04:00
Mikayla Fischler
971657c3d2 graphics library refactoring and bugfixes 2022-06-16 11:19:32 -04:00
Mikayla Fischler
2e4a533148 comments 2022-06-14 12:05:49 -04:00
Mikayla Fischler
13513a9ce6 #62 graphics layouts 2022-06-14 12:02:42 -04:00
Mikayla Fischler
7dbc5594b0 #63 div graphics element 2022-06-11 17:09:14 -04:00
Mikayla Fischler
89437b2be9 #63 cleanup and assertions 2022-06-11 17:06:32 -04:00
Mikayla Fischler
4488a0594f #63 numeric spinbox element 2022-06-11 16:44:31 -04:00
Mikayla Fischler
3004902ce5 #63 bugfixes 2022-06-11 16:38:15 -04:00
Mikayla Fischler
0950fc045d #63 new indicators and fixed up old ones 2022-06-11 12:21:14 -04:00
Mikayla Fischler
dc867095fd util spaces function 2022-06-11 12:20:49 -04:00
Mikayla Fischler
1fa87132d6 #63 allow hbar to have variable height, other bar improvement 2022-06-09 11:59:55 -04:00
Mikayla Fischler
11e4d89b1d #63 vertical fill bar indicator 2022-06-09 10:18:37 -04:00
Mikayla Fischler
307883e6e7 #63 use util string wrap and support text alignment 2022-06-08 18:53:24 -04:00
Mikayla Fischler
bc844d21bd #63 use util.strrep where appropriate 2022-06-08 17:22:20 -04:00
Mikayla Fischler
d8bbe4b459 #63 added indicator icon/light, added util.strrep string repeater 2022-06-08 17:16:53 -04:00
Mikayla Fischler
6f645579f8 #63 removed gframe as an argument to buttons 2022-06-08 16:52:41 -04:00
Mikayla Fischler
ac607f9dc6 #63 latching button in addition to pushbutton 2022-06-08 16:21:49 -04:00
Mikayla Fischler
15bc816d7e #63 button control element 2022-06-08 14:48:17 -04:00
Mikayla Fischler
9d107da8d9 #63 horizontal fill bar indicator 2022-06-08 14:16:05 -04:00
Mikayla Fischler
b99f57e480 #62 redrawing 2022-06-08 14:15:34 -04:00
Mikayla Fischler
2ac9bab92e #63 basketweave tiling pattern element 2022-06-08 13:18:14 -04:00
Mikayla Fischler
29c4c39d23 #62 uneven border support because rectangular pixels 2022-06-08 13:08:48 -04:00
Mikayla Fischler
8002698dd0 #63 rectangle construct asserts 2022-06-08 12:29:53 -04:00
Mikayla Fischler
ce227a175a #63 rectangle element 2022-06-08 12:27:28 -04:00
Mikayla Fischler
8ea75b9501 #62, #63 graphics primatives and added display boxes to renderer 2022-06-06 15:42:39 -04:00