中间状态暂存
This commit is contained in:
@@ -1032,7 +1032,7 @@ private:
|
||||
return;
|
||||
}
|
||||
if (case_id_ == "spectrum" || case_id_ == "selection_overlay") {
|
||||
Spectrum_Properties properties;
|
||||
Spectrum::Properties properties;
|
||||
properties.frequency_range = {88'000'000.0, 108'000'000.0};
|
||||
properties.frequency_point_size = 512;
|
||||
properties.center_frequency = 98'000'000.0;
|
||||
@@ -1055,7 +1055,7 @@ private:
|
||||
data_node_, frequency_domain_axis_, value_axis_);
|
||||
primary_ = spectrum_;
|
||||
if (case_id_ == "selection_overlay") {
|
||||
Selection_Rectangle_Overlay_Properties overlay;
|
||||
Selection_Rectangle_Overlay::Properties overlay;
|
||||
overlay.label_font = {12.0, 500, false};
|
||||
overlay.selection_brush = {color_from_hex("#173b66", 70), Brush_Style::Solid};
|
||||
overlay.selection_border_pen = {color_from_hex("#7dd3fc"), 1.0, Line_Style::Dash};
|
||||
@@ -1066,7 +1066,7 @@ private:
|
||||
return;
|
||||
}
|
||||
if (case_id_ == "waterfall") {
|
||||
Waterfall_Properties properties;
|
||||
Waterfall::Properties properties;
|
||||
properties.frequency_range = {88'000'000.0, 108'000'000.0};
|
||||
properties.power_range = {-120.0, -20.0};
|
||||
properties.frequency_bin_count = 256;
|
||||
@@ -1076,7 +1076,7 @@ private:
|
||||
return;
|
||||
}
|
||||
if (case_id_ == "afterglow") {
|
||||
Afterglow_Properties properties;
|
||||
Afterglow::Properties properties;
|
||||
properties.frequency_range = {88'000'000.0, 108'000'000.0};
|
||||
properties.power_range = {-120.0, -20.0};
|
||||
properties.frequency_point_size = 192;
|
||||
@@ -1088,7 +1088,7 @@ private:
|
||||
return;
|
||||
}
|
||||
if (case_id_ == "sweep_spectrum") {
|
||||
Sweep_Spectrum_Properties properties;
|
||||
Sweep_Spectrum::Properties properties;
|
||||
properties.frequency_range = {0.0, 300.0};
|
||||
properties.bins_per_block = 64;
|
||||
properties.block_count = 8;
|
||||
@@ -1100,7 +1100,7 @@ private:
|
||||
return;
|
||||
}
|
||||
if (case_id_ == "frequency_trace") {
|
||||
Frequency_Trace_Properties properties;
|
||||
Frequency_Trace::Properties properties;
|
||||
properties.pen = {color_from_hex("#35e6b2"), 2.0, Line_Style::Solid,
|
||||
Line_Cap::Round, Line_Join::Round};
|
||||
trace_ = Gallery_Frequency_Trace::Builder{properties, &attach}.build(
|
||||
@@ -1109,7 +1109,7 @@ private:
|
||||
return;
|
||||
}
|
||||
if (case_id_ == "constellation") {
|
||||
Constellation_Diagram_Properties properties;
|
||||
Constellation_Diagram::Properties properties;
|
||||
properties.i_range = {-1.25, 1.25};
|
||||
properties.q_range = {-1.25, 1.25};
|
||||
properties.point_color = color_from_hex("#49e6c3");
|
||||
|
||||
Reference in New Issue
Block a user