<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def op_at_on(operation: ops.Operation, time: Timestamp, device: Device):
 """Creates a scheduled operation with a device-determined duration."""

        return ScheduledOperation(time,
                                  device.duration_of(operation),
                                  operation)