public async Task <Result> RestartTcp() { var tcp = new TcpServer(); return(await tcp.SendCommandToServer <Result>(TcpCommands.Pandora.PANDORA_RESTART)); }
public async Task <Result> StopTcp() { var tcp = new TcpServer(); return(await tcp.SendCommandToServer <Result>(TcpCommands.Pandora.PANDORA_STOP)); }
public async Task <Result> TimerTcp() { var tcp = new TcpServer(); return(await tcp.SendCommandToServer <Result>(TcpCommands.SmartHouse.TIMER)); }
public async Task <Result> RestartOpenVPNServiceTcp() { var tcp = new TcpServer(); return(await tcp.SendCommandToServer <Result>(TcpCommands.SmartHouse.RESTART_VPN)); }
public async Task <Result> PlayAlarmTcp() { var tcp = new TcpServer(); return(await tcp.SendCommandToServer <Result>(TcpCommands.SmartHouse.PLAY_ALARM)); }