コード例 #1
0
        public void SetTurnoutPosition(int address, TurnoutPosition turnoutPosition)
        {
            var request = new SetTurnoutRequest {
                Address         = (short)address,
                TurnoutPosition = turnoutPosition,
                Activation      = Activation.Activate,
                QueueMode       = true
            };

            z21Client.SetTurnout(request);
        }
コード例 #2
0
 public Task <TurnoutInformation> SetTurnout(SetTurnoutRequest request) => SendRequestWithAddressSpecificResponse(request);