Condition(sensor) based Production and Maintenance Decisions