public void ApplyConfig()
        {
            if (Projector == null)
            {
                return;
            }
            GridProgram.Echo($"Applying ProjectorState {ProjectorState} to the projector...");
            switch (ProjectorState)
            {
            case ProjectorState.Powered:
                Projector.ApplyAction("OnOff_On");
                break;

            case ProjectorState.Unpowered:
                Projector.ApplyAction("OnOff_Off");
                break;
            }
        }
Beispiel #2
0
 void AssembleMissing()
 {
     _projector.CustomData = _productionAssemblerName;
     _projector.ApplyAction("AssembleMissing");
     _projector.CustomData = "";
 }