Apc device network and apc based light switch (#4908)
* Remove WireNet node group from cables Implement extension cable components and system Remove connection over distance logic from ApcPower... components * Add extension cable components to prototypes * Implement ApcNetwork Implement ApcNetSwitch * Fix ignoredComponents.cs * Add friend attribute to new components * Add construction graph for a light switch * Address reviews * Fix broken test * Move ConnectionType enum to DeviceNetworkComponent Change netId data definition to use the ConnectionType enum values Co-authored-by: Julian Giebel <j.giebel@netrocks.info>
This commit is contained in:
@@ -28,7 +28,7 @@ namespace Content.IntegrationTests.Tests.DeviceNetwork
|
||||
id: DummyWiredNetworkDevice
|
||||
components:
|
||||
- type: DeviceNetworkComponent
|
||||
deviceNetId: 1
|
||||
deviceNetId: Wired
|
||||
- type: WiredNetworkConnection
|
||||
- type: ApcPowerReceiver
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace Content.IntegrationTests.Tests.DeviceNetwork
|
||||
components:
|
||||
- type: DeviceNetworkComponent
|
||||
frequency: 100
|
||||
deviceNetId: 1
|
||||
deviceNetId: Wireless
|
||||
- type: WirelessNetworkConnection
|
||||
range: 100
|
||||
";
|
||||
|
||||
Reference in New Issue
Block a user