new Signal(title, names, type, coordinatesX, coordinatesY, description, id, team, isClosed, start, end, timeToComplete) → {Object}
This constructor function will create
a signal object and return it.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
title |
string | The title of the signal | |
names |
string | The names of the sender of the signal | |
type |
string | The type of signal | |
coordinatesX |
string | The longitude coordinate of the signal | |
coordinatesY |
string | The latitude coordinate of the signal | |
description |
string | The description of the singal | |
id |
number | The id of the signal | |
team |
number | null | The id of the team setted to the signal |
isClosed |
boolean | false | Is the signal closed |
start |
string | null | Start of working on the signal |
end |
string | null | End of working on the signal |
timeToComplete |
string | null | Time taken to complete the signal |
- Source: