Example #1
0
        private void btn_Module_OnOff_Click(object sender, EventArgs e)
        {
            var connection = new TPLinkConnection();

            moduleLink.ModuleInformation = connection.SetRelayState(moduleLink, btn_Module_OnOff.Checked);
            UpdateModuleInformation();
        }