6 references to TryGetLastSentence
Iot.Device.Bindings (3)
AutopilotController.cs (3)
218
if (_cache.
TryGetLastSentence
(RecommendedMinimumNavToDestination.Id, out RecommendedMinimumNavToDestination currentLeg1)
240
if (!_cache.
TryGetLastSentence
(HeadingAndDeclination.Id, out HeadingAndDeclination deviation) ||
243
if (!_cache.
TryGetLastSentence
(RecommendedMinimumNavigationInformation.Id,
M5StackRemoteDisplay (3)
RemoteControl.cs (3)
97
if (s.
TryGetLastSentence
(WaterSpeedAndAngle.Id, out WaterSpeedAndAngle sentence))
117
if (s.
TryGetLastSentence
(HeadingTrue.Id, out HeadingTrue sentence))
127
if (s.
TryGetLastSentence
(DepthBelowSurface.Id, out DepthBelowSurface sentence))