| DISExtensionsWriteModulationT Method |
Customize MACE to meet your Live-Virtual-Constructive Simulation and Training Requirements. [This is preliminary documentation and is subject to change.]
Extension to write the contents of a structure to the modulation array, set the modulation length and return the structure.
Namespace:
BSI.MACE.Network.DIS
Assembly:
BSILib (in BSILib.dll) Version: 1.2.1.22047 (1.0.0.0)
Syntax public static disStructureTransmitterPacket WriteModulation<T>(
this disStructureTransmitterPacket txPDU,
T sisoStruct
)
<ExtensionAttribute>
Public Shared Function WriteModulation(Of T) (
txPDU As disStructureTransmitterPacket,
sisoStruct As T
) As disStructureTransmitterPacket
Parameters
- txPDU
- Type: BSI.MACE.Network.DISdisStructureTransmitterPacket
Trasnmitter PDU to set modulation data on. - sisoStruct
- Type: T
The struct containing data to write to the array.
Type Parameters
- T
- Structure of type T to convert to byte array.
Return Value
Type:
disStructureTransmitterPacketThe structure with the modulation set from the siso structure.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
disStructureTransmitterPacket. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Remarks Overwrites any existing data.
See Also