set thresholds from network, reset command, removes OnFire from sensor data
This commit is contained in:
@@ -143,6 +143,21 @@ namespace Content.Server.Atmos.Monitor.Systems
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Reset a single sensor's state.
|
||||
/// </summary>
|
||||
/// <param name="uid"></param>
|
||||
/// <param name="address"></param>
|
||||
private void ResetSensor(EntityUid uid, string address)
|
||||
{
|
||||
var payload = new NetworkPayload
|
||||
{
|
||||
[DeviceNetworkConstants.Command] = AtmosMonitorSystem.AtmosMonitorAlarmResetCmd,
|
||||
};
|
||||
|
||||
_deviceNet.QueuePacket(uid, address, payload);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sync this air alarm's mode with the rest of the network.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user