sensor regist
This commit is contained in:
parent
9a59e73acf
commit
fa5bb021af
|
@ -122,6 +122,10 @@ export class ETCSelector extends React.Component<ETCSelectorProps, ETCSelectorSt
|
||||||
this.state = {
|
this.state = {
|
||||||
interval: '5',
|
interval: '5',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
let sd = this.props.getSensor();
|
||||||
|
sd.interval = 5;
|
||||||
|
this.props.setSensor(sd);
|
||||||
}
|
}
|
||||||
public handleIntervalChange = (e: any, { value }: any) => {
|
public handleIntervalChange = (e: any, { value }: any) => {
|
||||||
this.setState({ interval: value });
|
this.setState({ interval: value });
|
||||||
|
|
Loading…
Reference in New Issue
Block a user