AisManager.SendShipPositionReport(AisTransceiverClass, Ship) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sends a ship position report for the given ship to the NMEA stream. Useful for testing or simulation.
public Iot.Device.Nmea0183.Sentences.NmeaSentence SendShipPositionReport (Iot.Device.Nmea0183.Ais.AisTransceiverClass transceiverClass, Iot.Device.Nmea0183.Ais.Ship ship);
member this.SendShipPositionReport : Iot.Device.Nmea0183.Ais.AisTransceiverClass * Iot.Device.Nmea0183.Ais.Ship -> Iot.Device.Nmea0183.Sentences.NmeaSentence
Public Function SendShipPositionReport (transceiverClass As AisTransceiverClass, ship As Ship) As NmeaSentence
Parameters
- transceiverClass
- AisTransceiverClass
Transceiver class to simulate
- ship
- Ship
The ship whose position data to send
Returns
Exceptions
An internal inconsistency occurred
This message type is not currently supported for encoding