From 22562802cbc302f8d519fa479de3a4f0fc6700bb Mon Sep 17 00:00:00 2001 From: FlightControl Date: Wed, 22 Mar 2017 18:12:25 +0100 Subject: [PATCH] Moose static --- .../Moose Mission Update/l10n/DEFAULT/Moose.lua | 15 ++++++++++----- Moose Mission Setup/Moose.lua | 15 ++++++++++----- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/Moose Mission Setup/Moose Mission Update/l10n/DEFAULT/Moose.lua b/Moose Mission Setup/Moose Mission Update/l10n/DEFAULT/Moose.lua index 9585e6212..a30dc08bb 100644 --- a/Moose Mission Setup/Moose Mission Update/l10n/DEFAULT/Moose.lua +++ b/Moose Mission Setup/Moose Mission Update/l10n/DEFAULT/Moose.lua @@ -1,5 +1,5 @@ env.info( '*** MOOSE STATIC INCLUDE START *** ' ) -env.info( 'Moose Generation Timestamp: 20170321_1213' ) +env.info( 'Moose Generation Timestamp: 20170322_1812' ) local base = _G Include = {} @@ -13424,10 +13424,14 @@ function POSITIONABLE:Message( Message, Duration, Name ) return nil end - - - - +--- Create a @{Radio#RADIO}, to allow radio transmission for this POSITIONABLE. +-- Set parameters with the methods provided, then use RADIO:Broadcast() to actually broadcast the message +-- @param #POSITIONABLE self +-- @return #RADIO Radio +function POSITIONABLE:GetRadio() + self:F2(self) + return RADIO:New(self) +end --- This module contains the CONTROLLABLE class. -- -- 1) @{Controllable#CONTROLLABLE} class, extends @{Positionable#POSITIONABLE} @@ -35349,6 +35353,7 @@ Include.File( "Core/Set" ) Include.File( "Core/Point" ) Include.File( "Core/Message" ) Include.File( "Core/Fsm" ) +Include.File( "Core/Radio" ) --- Wrapper Classes Include.File( "Wrapper/Object" ) diff --git a/Moose Mission Setup/Moose.lua b/Moose Mission Setup/Moose.lua index 9585e6212..a30dc08bb 100644 --- a/Moose Mission Setup/Moose.lua +++ b/Moose Mission Setup/Moose.lua @@ -1,5 +1,5 @@ env.info( '*** MOOSE STATIC INCLUDE START *** ' ) -env.info( 'Moose Generation Timestamp: 20170321_1213' ) +env.info( 'Moose Generation Timestamp: 20170322_1812' ) local base = _G Include = {} @@ -13424,10 +13424,14 @@ function POSITIONABLE:Message( Message, Duration, Name ) return nil end - - - - +--- Create a @{Radio#RADIO}, to allow radio transmission for this POSITIONABLE. +-- Set parameters with the methods provided, then use RADIO:Broadcast() to actually broadcast the message +-- @param #POSITIONABLE self +-- @return #RADIO Radio +function POSITIONABLE:GetRadio() + self:F2(self) + return RADIO:New(self) +end --- This module contains the CONTROLLABLE class. -- -- 1) @{Controllable#CONTROLLABLE} class, extends @{Positionable#POSITIONABLE} @@ -35349,6 +35353,7 @@ Include.File( "Core/Set" ) Include.File( "Core/Point" ) Include.File( "Core/Message" ) Include.File( "Core/Fsm" ) +Include.File( "Core/Radio" ) --- Wrapper Classes Include.File( "Wrapper/Object" )