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 = {
|
||||
interval: '5',
|
||||
};
|
||||
|
||||
let sd = this.props.getSensor();
|
||||
sd.interval = 5;
|
||||
this.props.setSensor(sd);
|
||||
}
|
||||
public handleIntervalChange = (e: any, { value }: any) => {
|
||||
this.setState({ interval: value });
|
||||
|
|
Loading…
Reference in New Issue
Block a user