public void SyncState(Serializer ser) { ser.BeginSection(nameof(Port1)); Port1.SyncState(ser); ser.EndSection(); ser.BeginSection(nameof(Port2)); Port2.SyncState(ser); ser.EndSection(); ser.BeginSection(nameof(Port3)); Port3.SyncState(ser); ser.EndSection(); ser.BeginSection(nameof(Port4)); Port4.SyncState(ser); ser.EndSection(); }
public byte ReadPort4(IController c) { return(Port4.Read(c)); }