patterns/command/remote/ceilingfanoncommand.d

20 lines
328 B
D
Raw Normal View History

2022-12-05 07:38:19 +00:00
module command.remote.ceilingfanoncommand;
import command.remote.command;
import command.remote.ceilingfan;
class CeilingFanOnCommand : Command
{
CeilingFan ceilingFan;
this(CeilingFan ceilingFan)
{
this.ceilingFan = ceilingFan;
}
override void execute()
{
ceilingFan.high();
}
}