Beispiel #1
0
        public void SendPillRead(byte[] pillReadData)
        {
            var pillReadCommand = new ServerToGateCommand(ServerToGateCommands.ReadDataFromPill, pillReadData);

            _daemon.inputMessageQueue.Enqueue(pillReadCommand);
        }
Beispiel #2
0
        public void CheckIfPillConnected(byte[] pillConnectedData)
        {
            var ifPillCommand = new ServerToGateCommand(ServerToGateCommands.GetPillStatus, pillConnectedData);

            _daemon.inputMessageQueue.Enqueue(ifPillCommand);
        }
Beispiel #3
0
        public void SendPillWrite(byte[] pillWriteData)
        {
            var pillWriteCommand = new ServerToGateCommand(ServerToGateCommands.WriteDataToPill, pillWriteData);

            _daemon.inputMessageQueue.Enqueue(pillWriteCommand);
        }
Beispiel #4
0
        public void SendPinSignal(byte[] sendPinSignalData)
        {
            var pinCommand = new ServerToGateCommand(ServerToGateCommands.InitiatePinSignal, sendPinSignalData);

            _daemon.inputMessageQueue.Enqueue(pinCommand);
        }
Beispiel #5
0
 public void CheckIfPillConnected(byte[] pillConnectedData)
 {
     var ifPillCommand = new ServerToGateCommand(ServerToGateCommands.GetPillStatus, pillConnectedData);
     _daemon.inputMessageQueue.Enqueue(ifPillCommand);
 }
Beispiel #6
0
 public void SendPinSignal(byte[] sendPinSignalData)
 {
     var pinCommand = new ServerToGateCommand(ServerToGateCommands.InitiatePinSignal, sendPinSignalData);
     _daemon.inputMessageQueue.Enqueue(pinCommand);
 }
Beispiel #7
0
 public void SendPillWrite(byte[] pillWriteData)
 {
     var pillWriteCommand = new ServerToGateCommand(ServerToGateCommands.WriteDataToPill, pillWriteData);
     _daemon.inputMessageQueue.Enqueue(pillWriteCommand);
 }
Beispiel #8
0
 public void SendPillRead(byte[] pillReadData)
 {
     var pillReadCommand = new ServerToGateCommand(ServerToGateCommands.ReadDataFromPill, pillReadData);
     _daemon.inputMessageQueue.Enqueue(pillReadCommand);
 }