private void InitObj() { device = new Device(); computer = new ComputerSetting(); communication = new CommunicationSetting(); captain = new CaptainSftSetting(); authoritySetting = new AuthoritySetting(); softName = new List <string>(); }
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); } } }