Skip to content

Commit

Permalink
Fix typos in function ChannelThreshold (#1287)
Browse files Browse the repository at this point in the history
  • Loading branch information
luzpaz authored Nov 19, 2020
1 parent 1365591 commit b564862
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
20 changes: 10 additions & 10 deletions io.openems.edge.meter.socomec/doc/MODBUS tables of DIRIS B30.html
Original file line number Diff line number Diff line change
Expand Up @@ -48396,15 +48396,15 @@ <h2 align="left">Evt EN50160 in Progress</h2><br></caption>
<td>51993</td>
<td><text>0x</text>CB19</td>
<td align="center">0</td>
<td align="left">Tresholds and Hysteresis: Threshold</td>
<td align="left">Thresholds and Hysteresis: Threshold</td>
<td align="center">%</td>
<td align="center">U8_H</td>
</tr>
<tr>
<td>51993</td>
<td><text>0x</text>CB19</td>
<td align="center">1</td>
<td align="left">Tresholds and Hysteresis: Hysteresis</td>
<td align="left">Thresholds and Hysteresis: Hysteresis</td>
<td align="center">%</td>
<td align="center">U8_L</td>
</tr>
Expand Down Expand Up @@ -48620,15 +48620,15 @@ <h2 align="left">Evt EN50160 in Progress</h2><br></caption>
<td>52019</td>
<td><text>0x</text>CB33</td>
<td align="center">0</td>
<td align="left">Tresholds and Hysteresis: Threshold</td>
<td align="left">Thresholds and Hysteresis: Threshold</td>
<td align="center">%</td>
<td align="center">U8_H</td>
</tr>
<tr>
<td>52019</td>
<td><text>0x</text>CB33</td>
<td align="center">1</td>
<td align="left">Tresholds and Hysteresis: Hysteresis</td>
<td align="left">Thresholds and Hysteresis: Hysteresis</td>
<td align="center">%</td>
<td align="center">U8_L</td>
</tr>
Expand Down Expand Up @@ -48844,15 +48844,15 @@ <h2 align="left">Evt EN50160 in Progress</h2><br></caption>
<td>52045</td>
<td><text>0x</text>CB4D</td>
<td align="center">0</td>
<td align="left">Tresholds and Hysteresis: Threshold</td>
<td align="left">Thresholds and Hysteresis: Threshold</td>
<td align="center">%</td>
<td align="center">U8_H</td>
</tr>
<tr>
<td>52045</td>
<td><text>0x</text>CB4D</td>
<td align="center">1</td>
<td align="left">Tresholds and Hysteresis: Hysteresis</td>
<td align="left">Thresholds and Hysteresis: Hysteresis</td>
<td align="center">%</td>
<td align="center">U8_L</td>
</tr>
Expand Down Expand Up @@ -49068,15 +49068,15 @@ <h2 align="left">Evt EN50160 in Progress</h2><br></caption>
<td>52071</td>
<td><text>0x</text>CB67</td>
<td align="center">0</td>
<td align="left">Tresholds and Hysteresis: Threshold</td>
<td align="left">Thresholds and Hysteresis: Threshold</td>
<td align="center">%</td>
<td align="center">U8_H</td>
</tr>
<tr>
<td>52071</td>
<td><text>0x</text>CB67</td>
<td align="center">1</td>
<td align="left">Tresholds and Hysteresis: Hysteresis</td>
<td align="left">Thresholds and Hysteresis: Hysteresis</td>
<td align="center">%</td>
<td align="center">U8_L</td>
</tr>
Expand Down Expand Up @@ -49411,15 +49411,15 @@ <h3 align="left"><text>Data</text></h3>
<td>63001</td>
<td><text>0x</text>F619</td>
<td align="center">0</td>
<td align="left">Tresholds and Hysteresis: Threshold</td>
<td align="left">Thresholds and Hysteresis: Threshold</td>
<td align="center">%</td>
<td align="center">U8_H</td>
</tr>
<tr>
<td>63001</td>
<td><text>0x</text>F619</td>
<td align="center">1</td>
<td align="left">Tresholds and Hysteresis: Hysteresis</td>
<td align="left">Thresholds and Hysteresis: Hysteresis</td>
<td align="center">%</td>
<td align="center">U8_L</td>
</tr>
Expand Down
4 changes: 2 additions & 2 deletions ui/src/app/edge/history/channelthreshold/widget.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import { DefaultTypes } from 'src/app/shared/service/defaulttypes';
import { QueryHistoricTimeseriesDataResponse } from 'src/app/shared/jsonrpc/response/queryHistoricTimeseriesDataResponse';

@Component({
selector: ChanneltresholdWidgetComponent.SELECTOR,
selector: ChannelthresholdWidgetComponent.SELECTOR,
templateUrl: './widget.component.html'
})
export class ChanneltresholdWidgetComponent extends AbstractHistoryWidget implements OnInit, OnChanges {
export class ChannelthresholdWidgetComponent extends AbstractHistoryWidget implements OnInit, OnChanges {

@Input() public period: DefaultTypes.HistoryPeriod;
@Input() public componentId: string;
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/edge/history/history.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class HistoryComponent implements OnInit {
this.edge = edge;
});
this.service.getConfig().then(config => {
// gather ControllerIds of Channeltreshold Components
// gather ControllerIds of Channelthreshold Components
// for (let controllerId of
// config.getComponentIdsImplementingNature("io.openems.impl.controller.channelthreshold.ChannelThresholdController")
// .concat(config.getComponentIdsByFactory("Controller.ChannelThreshold"))) {
Expand Down
4 changes: 2 additions & 2 deletions ui/src/app/edge/history/history.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { AutarchyWidgetComponent } from './autarchy/widget.component';
import { ChannelthresholdChartOverviewComponent } from './channelthreshold/channelthresholdchartoverview/channelthresholdchartoverview.component';
import { ChannelthresholdSingleChartComponent } from './channelthreshold/singlechart.component';
import { ChannelthresholdTotalChartComponent } from './channelthreshold/totalchart.component';
import { ChanneltresholdWidgetComponent } from './channelthreshold/widget.component';
import { ChannelthresholdWidgetComponent } from './channelthreshold/widget.component';
import { ChpSocChartComponent } from './chpsoc/chart.component';
import { ChpSocWidgetComponent } from './chpsoc/widget.component';
import { ConsumptionChartOverviewComponent } from './consumption/consumptionchartoverview/consumptionchartoverview.component';
Expand Down Expand Up @@ -74,7 +74,7 @@ import { SymmetricPeakshavingWidgetComponent } from './peakshaving/symmetric/wid
ChannelthresholdChartOverviewComponent,
ChannelthresholdSingleChartComponent,
ChannelthresholdTotalChartComponent,
ChanneltresholdWidgetComponent,
ChannelthresholdWidgetComponent,
ChpSocChartComponent,
ChpSocWidgetComponent,
ConsumptionChartOverviewComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export class SinglethresholdModalComponent {
this.minimumSwitchingTime.setValue(this.component.properties.minimumSwitchingTime);
this.threshold.setValue(this.component.properties.threshold);
this.switchedLoadPower.setValue(this.component.properties.switchedLoadPower);
this.inputMode.setValue(this.convertToInputMode(this.component.properties.inputChannelAddress, this.component.properties.treshold));
this.inputMode.setValue(this.convertToInputMode(this.component.properties.inputChannelAddress, this.component.properties.threshold));
this.invert.setValue(this.component.properties.invert);
this.loading = false;
this.service.toast(this.translate.instant('General.changeFailed') + '\n' + reason.error.message, 'danger');
Expand Down

0 comments on commit b564862

Please sign in to comment.