예제 #1
0
 private void InitObj()
 {
     device           = new Device();
     computer         = new ComputerSetting();
     communication    = new CommunicationSetting();
     captain          = new CaptainSftSetting();
     authoritySetting = new AuthoritySetting();
     softName         = new List <string>();
 }
예제 #2
0
 private void btnPowerOff_Click(object sender, EventArgs e)
 {
     foreach (DeviceDetailModel model in deviceVM.DeviceList)
     {
         if (model.IsChecked)
         {
             string IP = model.IpAddress;
             ComputerSetting.SendPackToSubService(IP, LANAllComputerIp.ComputerStatus.BREAK_LIEN);
         }
     }
 }