Predictive Maintenance in Industrial Cyber-Physical Devices