using Bro.Device.AuboRobot; using System; namespace A032.Process { public partial class ProcessControl { private void OnRobotMsgReceived(DateTime dt, AuboRobotDriver robot, RobotMsg msg) { } private void SwitchLight(AuboRobotDriver robot, bool isOn) { if (Config.LightOutputIndex > 0) { robot.SetIO(Config.LightOutputIndex, isOn); } } } }