public override void Handle(EventIO message) { switch (message.Index) { case (int)IO_DEF.READ_HIP: break; } }
public override void Handle(EventIO message) { switch (message.Index) { case (int)IO_DEF.READ_HIP: Plc.WriteBool((int)IO_DEF.READ_HIP, false); Read(); Plc.Pulse((int)IO_DEF.READ_HIP + 8); break; } }