mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 20:20:06 +00:00
Enable loading of product by double clicking in the resource explorer
- Doesn't work if radar product manager is expired for the site (time not present in record map) - Need to fix going back to expired (garbage collected) live data
This commit is contained in:
parent
0c8047b1f4
commit
92bb5154a4
4 changed files with 81 additions and 7 deletions
|
|
@ -41,12 +41,23 @@ public:
|
|||
common::RadarProductGroup GetRadarProductGroup() const;
|
||||
std::string GetRadarProductName() const;
|
||||
std::shared_ptr<config::RadarSite> GetRadarSite() const;
|
||||
uint16_t GetVcp() const;
|
||||
std::uint16_t GetVcp() const;
|
||||
|
||||
void SelectElevation(float elevation);
|
||||
|
||||
/**
|
||||
* @brief Selects a radar product.
|
||||
*
|
||||
* @param [in] group Radar product group
|
||||
* @param [in] product Radar product name
|
||||
* @param [in] productCode Radar product code (optional)
|
||||
* @paran [in] time Product time. Default is the latest available.
|
||||
*/
|
||||
void SelectRadarProduct(common::RadarProductGroup group,
|
||||
const std::string& product,
|
||||
int16_t productCode);
|
||||
std::int16_t productCode = 0,
|
||||
std::chrono::system_clock::time_point time = {});
|
||||
|
||||
void SelectRadarProduct(std::shared_ptr<types::RadarProductRecord> record);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue