Files
Lab505/Lab505.Script/Facades/IConveyorFacade.cs
2026-10-12 15:24:08 +07:00

25 lines
792 B
C#

namespace Lab505.Script.Facades;
/// <summary>
/// Script-friendly conveyor interface — no dependency on ConveyorState class.
/// Use State.WaitUntil(s => s.C1InOn) for condition waits.
/// </summary>
public interface IConveyorFacade
{
// ── Coil commands ──────────────────────────────────────────────
bool C1In(bool state);
bool C1Out(bool state);
bool C1IMRin(bool state);
bool C1IMRout(bool state);
bool C1Ready(bool state);
bool C2Ready(bool state);
bool C2In(bool state);
bool C2Out(bool state);
bool C1HasGoods(bool state);
bool C1NotGoods(bool state);
bool C2HasGoods(bool state);
bool C2NotGoods(bool state);
void StopAll();
}