fix: костыль для демонстрации
This commit is contained in:
parent
c8b2d1539f
commit
40911e6480
@ -129,22 +129,22 @@ class BasePlotWidget:
|
||||
}
|
||||
]
|
||||
},
|
||||
"Electrode Force, N": {
|
||||
"Settings": {
|
||||
"zoom": True,
|
||||
"stages": False
|
||||
},
|
||||
"Signals": [
|
||||
{
|
||||
"name": "Electrode Force, N ME",
|
||||
"pen": 'r',
|
||||
},
|
||||
{
|
||||
"name": "Electrode Force, N FE",
|
||||
"pen": 'w',
|
||||
}
|
||||
]
|
||||
},
|
||||
# "Electrode Force, N": {
|
||||
# "Settings": {
|
||||
# "zoom": True,
|
||||
# "stages": False
|
||||
# },
|
||||
# "Signals": [
|
||||
# {
|
||||
# "name": "Electrode Force, N ME",
|
||||
# "pen": 'r',
|
||||
# },
|
||||
# {
|
||||
# "name": "Electrode Force, N FE",
|
||||
# "pen": 'w',
|
||||
# }
|
||||
# ]
|
||||
# },
|
||||
"Electrode Speed, mm/s": {
|
||||
"Settings": {
|
||||
"zoom": False,
|
||||
|
@ -70,7 +70,7 @@ class PlotWidget(BasePlotWidget):
|
||||
widget = QWidget()
|
||||
layout = QVBoxLayout()
|
||||
|
||||
time_axis = dataframe["time"]
|
||||
time_axis = dataframe["Time"]
|
||||
dataframe_headers = dataframe.columns.tolist()
|
||||
|
||||
for channel, description in self._plt_channels.items():
|
||||
@ -84,7 +84,7 @@ class PlotWidget(BasePlotWidget):
|
||||
plot_widget.addItem(region)
|
||||
|
||||
if settings["zoom"]:
|
||||
if max(time_axis) < 5.0:
|
||||
if max(time_axis) > 100500.0:
|
||||
stages = [self.get_stage_info("Welding",
|
||||
dataframe,
|
||||
signal["name"]) for signal in description["Signals"]]
|
||||
|
Loading…
Reference in New Issue
Block a user