public async Task <bool> SetGpoAsync(string hostAddress, int gpo, bool active) { var cmd = new CommandIkusNetSetGpo { Active = active, Gpo = gpo }; return(await SendConfigurationCommandAsync(hostAddress, cmd)); }
public bool SetGpo(string hostAddress, int gpo, bool active) { var cmd = new CommandIkusNetSetGpo { Active = active, Gpo = gpo }; return(SendConfigurationCommand(hostAddress, cmd)); }