Class TransmitterPacketCorruptionModel
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
This implements a data loss model which adjusts the fraction that the transmitter looses data. This will corrupt data produced by the transmitter.
public class TransmitterPacketCorruptionModel : ComponentModel<Transmitter>
- Inheritance
-
ComponentModel<Transmitter>TransmitterPacketCorruptionModel
- Inherited Members
-
ComponentModel<Transmitter>.Target
Constructors
TransmitterPacketCorruptionModel()
public TransmitterPacketCorruptionModel()
Fields
PacketCorruptionFraction
[-] The fraction between 0 and 1 that a particular packet will be corrupted.
[EditableVariable("-", 0, 1, false, "", "")]
public double PacketCorruptionFraction
Field Value
Methods
OnUpdate(double, double)
Called each timestep during a event tick
protected override void OnUpdate(double time, double step)