private async void Start_Click()
        {
            isRun = true;
            startCommand.CanExecuteChangedInvoke();

            var info = new RegistryTransmitterInfo()
            {
                Guid    = guid,
                Screens = transmitter.Screens.Select(s => s.Convert()).ToList()
            };

            await WebApiClient.RegistryTransmitter(info);



            isRun = false;
            startCommand.CanExecuteChangedInvoke();
        }
Beispiel #2
0
 public ClientTransmitter(Guid guid, RegistryTransmitterInfo registryInfo, TcpClient client)
 {
     this.guid         = guid;
     this.registryInfo = registryInfo;
     this.client       = client;
 }
 public void RegistryTransmitter(RegistryTransmitterInfo info)
 {
     registryTransmitterInfos.Add(info);
 }
 public void RegistryTransmitter([FromBody] RegistryTransmitterInfo info)
 {
     rdcService.RegistryTransmitter(info);
 }