Module TaskInfo
Tasking -- Controls the information of a Task.
Author: FlightControl
Contributions:
Global(s)
TASKINFO |
TASKINFO class, extends Core.Base#BASEThe TASKINFO class implements the methods to contain information and display information of a task. |
Type TASKINFO
Global(s)
- #TASKINFO TASKINFO
-
TASKINFO class, extends Core.Base#BASE
The TASKINFO class implements the methods to contain information and display information of a task.
Type TaskInfo
Type #
Type TASKINFO
Extends Core.Base#BASE
Field(s)
- TASKINFO:AddCargo(Cargo, Order, Detail, Keep)
-
Add Cargo.
Parameters
-
Core.Cargo#CARGO Cargo
: -
#number Order
: The display order, which is a number from 0 to 100. -
#TASKINFO.Detail Detail
: The detail Level. -
#boolean Keep
: (optional) If true, this would indicate that the planned taskinfo would be persistent when the task is completed, so that the original planned task info is used at the completed reports.
Return value
#TASKINFO: self
-
- TASKINFO:AddCargoSet(SetCargo, Order, Detail, Keep)
-
Add Cargo set.
Parameters
-
Core.Set#SET_CARGO SetCargo
: -
#number Order
: The display order, which is a number from 0 to 100. -
#TASKINFO.Detail Detail
: The detail Level. -
#boolean Keep
: (optional) If true, this would indicate that the planned taskinfo would be persistent when the task is completed, so that the original planned task info is used at the completed reports.
Return value
#TASKINFO: self
-
- TASKINFO:AddCoordinate(Coordinate, Order, Detail, Keep)
-
Add a Coordinate.
Parameters
-
Core.Point#COORDINATE Coordinate
: -
#number Order
: The display order, which is a number from 0 to 100. -
#TASKINFO.Detail Detail
: The detail Level. -
#boolean Keep
: (optional) If true, this would indicate that the planned taskinfo would be persistent when the task is completed, so that the original planned task info is used at the completed reports.
Return value
#TASKINFO: self
-
- TASKINFO:AddInfo(The, Data, Order, Detail, Keep, Key)
-
Add taskinfo.
Parameters
-
#string The
: info key. -
Data
: The data of the info. -
#number Order
: The display order, which is a number from 0 to 100. -
#TASKINFO.Detail Detail
: The detail Level. -
#boolean Keep
: (optional) If true, this would indicate that the planned taskinfo would be persistent when the task is completed, so that the original planned task info is used at the completed reports. -
Key
:
Return value
#TASKINFO: self
-
- TASKINFO:AddQFEAtCoordinate(Coordinate, Order, Detail, Keep)
-
Add the QFE at a Coordinate.
Parameters
-
Core.Point#COORDINATE Coordinate
: -
#number Order
: The display order, which is a number from 0 to 100. -
#TASKINFO.Detail Detail
: The detail Level. -
#boolean Keep
: (optional) If true, this would indicate that the planned taskinfo would be persistent when the task is completed, so that the original planned task info is used at the completed reports.
Return value
#TASKINFO: self
-
- TASKINFO:AddTargetCount(TargetCount, Order, Detail, Keep)
-
Add the Target count.
Parameters
-
#number TargetCount
: The amount of targets. -
#number Order
: The display order, which is a number from 0 to 100. -
#TASKINFO.Detail Detail
: The detail Level. -
#boolean Keep
: (optional) If true, this would indicate that the planned taskinfo would be persistent when the task is completed, so that the original planned task info is used at the completed reports.
Return value
#TASKINFO: self
-
- TASKINFO:AddTargets(TargetCount, TargetTypes, Order, Detail, Keep)
-
Add the Targets.
Parameters
-
#number TargetCount
: The amount of targets. -
#string TargetTypes
: The text containing the target types. -
#number Order
: The display order, which is a number from 0 to 100. -
#TASKINFO.Detail Detail
: The detail Level. -
#boolean Keep
: (optional) If true, this would indicate that the planned taskinfo would be persistent when the task is completed, so that the original planned task info is used at the completed reports.
Return value
#TASKINFO: self
-
- TASKINFO:AddTaskName(Order, Detail, Keep)
-
Add the task name.
Parameters
-
#number Order
: The display order, which is a number from 0 to 100. -
#TASKINFO.Detail Detail
: The detail Level. -
#boolean Keep
: (optional) If true, this would indicate that the planned taskinfo would be persistent when the task is completed, so that the original planned task info is used at the completed reports.
Return value
#TASKINFO: self
-
- TASKINFO:AddTemperatureAtCoordinate(Coordinate, Order, Detail, Keep)
-
Add the Temperature at a Coordinate.
Parameters
-
Core.Point#COORDINATE Coordinate
: -
#number Order
: The display order, which is a number from 0 to 100. -
#TASKINFO.Detail Detail
: The detail Level. -
#boolean Keep
: (optional) If true, this would indicate that the planned taskinfo would be persistent when the task is completed, so that the original planned task info is used at the completed reports.
Return value
#TASKINFO: self
-
- TASKINFO:AddText(Key, Text, Order, Detail, Keep)
-
Add Text.
Parameters
-
#string Key
: The key. -
#string Text
: The text. -
#number Order
: The display order, which is a number from 0 to 100. -
#TASKINFO.Detail Detail
: The detail Level. -
#boolean Keep
: (optional) If true, this would indicate that the planned taskinfo would be persistent when the task is completed, so that the original planned task info is used at the completed reports.
Return value
#TASKINFO: self
-
- TASKINFO:AddThreat(ThreatText, ThreatLevel, Order, Detail, Keep)
-
Add Threat.
Parameters
-
#string ThreatText
: The text of the Threat. -
#string ThreatLevel
: The level of the Threat. -
#number Order
: The display order, which is a number from 0 to 100. -
#TASKINFO.Detail Detail
: The detail Level. -
#boolean Keep
: (optional) If true, this would indicate that the planned taskinfo would be persistent when the task is completed, so that the original planned task info is used at the completed reports.
Return value
#TASKINFO: self
-
- TASKINFO:AddWindAtCoordinate(Coordinate, Order, Detail, Keep)
-
Add the Wind at a Coordinate.
Parameters
-
Core.Point#COORDINATE Coordinate
: -
#number Order
: The display order, which is a number from 0 to 100. -
#TASKINFO.Detail Detail
: The detail Level. -
#boolean Keep
: (optional) If true, this would indicate that the planned taskinfo would be persistent when the task is completed, so that the original planned task info is used at the completed reports.
Return value
#TASKINFO: self
-
- TASKINFO:GetData(The, Key)
-
Get data.
Parameters
-
#string The
: info key. -
Key
:
Return value
Data The data of the info.
-
- TASKINFO:GetInfo(The, Key)
-
Get taskinfo.
Parameters
-
#string The
: info key. -
Key
:
Return values
-
Data The data of the info.
-
#number: Order The display order, which is a number from 0 to 100.
-
#TASKINFO.Detail: Detail The detail Level.
-
- TASKINFO:GetTargets()
-
Get Targets.
Return value
#string: The targets
- TASKINFO:GetThreat()
-
Get Threat.
Return value
#string: The threat
- TASKINFO:New(Task)
-
Instantiates a new TASKINFO.
Parameter
-
Tasking.Task#TASK Task
: The task owning the information.
Return value
#TASKINFO: self
-
- TASKINFO:Report(Report, Detail, ReportGroup)
-
Create the taskinfo Report
Parameters
-
Core.Report#REPORT Report
: -
#TASKINFO.Detail Detail
: The detail Level. -
Wrapper.Group#GROUP ReportGroup
:
Return value
#TASKINFO: self
-