Power Monitoring Console (#7849)

This commit is contained in:
20kdc
2022-05-04 18:59:40 +01:00
committed by GitHub
parent 3d606f4316
commit 70cd3d18ca
9 changed files with 299 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
power-monitoring-window-title = Power Monitoring Console
power-monitoring-window-tab-sources = Sources
power-monitoring-window-tab-loads = Loads
power-monitoring-window-total-sources = Total Sources:
power-monitoring-window-total-loads = Total Loads:
power-monitoring-window-value = { POWERWATTS($value) }
power-monitoring-window-show-inactive-consumers = Show Inactive Consumers

View File

@@ -66,6 +66,14 @@
- type: ComputerBoard
prototype: ComputerSupplyRequest
- type: entity
parent: BaseComputerCircuitboard
id: PowerMonitoringComputerCircuitboard
name: power monitoring computer board
components:
- type: ComputerBoard
prototype: ComputerPowerMonitoring
- type: entity
parent: BaseComputerCircuitboard
id: ResearchComputerCircuitboard

View File

@@ -75,6 +75,19 @@
color: "#c9c042"
- type: Computer
board: PowerComputerCircuitboard
- type: PowerMonitoringConsole
- type: NodeContainer
examinable: true
nodes:
hv:
!type:CableDeviceNode
nodeGroupID: HVPower
- type: ActivatableUI
key: enum.PowerMonitoringConsoleUiKey.Key
- type: UserInterface
interfaces:
- key: enum.PowerMonitoringConsoleUiKey.Key
type: PowerMonitoringConsoleBoundUserInterface
- type: entity
parent: ComputerBase