in source/web-ui/src/views/machines/MachineStatusCard.tsx [120:147]
handleChange(event: any) {
if (!this._isMounted) { return; }
const formElement = event.currentTarget;
if (formElement.id) {
switch (formElement.id) {
case 'machineProductionCountTagName':
this.setState({ machineProductionCountTagName: formElement.value });
break
case 'machineStatusTagName':
this.setState({ machineStatusTagName: formElement.value });
break;
case 'machineStatusUpValue':
this.setState({ machineStatusUpValue: formElement.value });
break;
case 'machineStatusDownValue':
this.setState({ machineStatusDownValue: formElement.value });
break;
case 'machineStatusIdleValue':
this.setState({ machineStatusIdleValue: formElement.value });
break;
case 'newMachineName':
this.setState({ newMachineName: formElement.value });
break;
}
}
}