Constructor
new TimeSeriesDataSource(name, properties, worker)
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| name | String | the datasource name | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| properties | Object | the datasource properties Properties
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| worker | Object | DataSource worker | 
Methods
getEndTime() → {String}
    Gets the endTime
Returns:
    - endTime as ISO date
- Type
- String
getMaxTime() → {String}
    Gets the endTime
Returns:
    - endTime as ISO date
- Type
- String
getMinTime() → {String}
    Gets the startTime
Returns:
    - startTime as ISO date
- Type
- String
getReplaySpeed() → {String}
    Gets the endTime
Returns:
    - endTime as ISO date
- Type
- String
getStartTime() → {String}
    Gets the startTime
Returns:
    - startTime as ISO date
- Type
- String
(protected) initDataSource(properties)
    Inits the datasource with the constructor properties.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| properties | 
setTimeRange(startTime, endTime, replaySpeed, reconnect)
    Sets the data source time range
    Parameters:
| Name | Type | Default | Description | 
|---|---|---|---|
| startTime | String | the startTime (in date ISO) | |
| endTime | String | the startTime (in date ISO) | |
| replaySpeed | Number | the replay speed | |
| reconnect | boolean | false | reconnect if was connected | 
updateProperties(name, properties)
    Update properties
    Parameters:
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| name | String | the datasource name | ||||||||||||||||||||||||||||||||||||||||||
| properties | Object | the datasource properties Properties
 |