Module TaskInfo

Tasking -- Controls the information of a Task.


Author: FlightControl

Contributions:


Global(s)

TASKINFO

TASKINFO class, extends Core.Base#BASE

The TASKINFO class implements the methods to contain information and display information of a task.

Type TASKINFO

TASKINFO:AddCargo(Cargo, Order, Detail, Keep)

Add Cargo.

TASKINFO:AddCargoSet(SetCargo, Order, Detail, Keep)

Add Cargo set.

TASKINFO:AddCoordinate(Coordinate, Order, Detail, Keep)

Add a Coordinate.

TASKINFO:AddInfo(The, Data, Order, Detail, Keep, Key)

Add taskinfo.

TASKINFO:AddQFEAtCoordinate(Coordinate, Order, Detail, Keep)

Add the QFE at a Coordinate.

TASKINFO:AddTargetCount(TargetCount, Order, Detail, Keep)

Add the Target count.

TASKINFO:AddTargets(TargetCount, TargetTypes, Order, Detail, Keep)

Add the Targets.

TASKINFO:AddTaskName(Order, Detail, Keep)

Add the task name.

TASKINFO:AddTemperatureAtCoordinate(Coordinate, Order, Detail, Keep)

Add the Temperature at a Coordinate.

TASKINFO:AddText(Key, Text, Order, Detail, Keep)

Add Text.

TASKINFO:AddThreat(ThreatText, ThreatLevel, Order, Detail, Keep)

Add Threat.

TASKINFO:AddWindAtCoordinate(Coordinate, Order, Detail, Keep)

Add the Wind at a Coordinate.

TASKINFO.Detail
TASKINFO:GetData(The, Key)

Get data.

TASKINFO:GetInfo(The, Key)

Get taskinfo.

TASKINFO:GetTargets()

Get Targets.

TASKINFO:GetThreat()

Get Threat.

TASKINFO.Info
TASKINFO:New(Task)

Instantiates a new TASKINFO.

TASKINFO:Report(Report, Detail, ReportGroup)

Create the taskinfo Report

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.Detail
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

  1. Data The data of the info.

  2. #number: Order The display order, which is a number from 0 to 100.

  3. #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.Info
TASKINFO:New(Task)

Instantiates a new TASKINFO.

Parameter

Return value

#TASKINFO: self

TASKINFO:Report(Report, Detail, ReportGroup)

Create the taskinfo Report

Parameters

Return value

#TASKINFO: self

Type TASKINFO.Detail