private void refreshChairEquipmentID() { Program.frmClassRoom.resetClassRoomState(); //有设备绑定的座位显示出绑定设备的ID List <equipmentPosition> list = MemoryTable.getAllEquipmentConfigMapInfo(); foreach (equipmentPosition ep in list) { Program.frmClassRoom.changeChairState(ep.group, ep.formatedPosition(), ep.equipmentID); } Program.frmClassRoom.Refresh(); //Program.frmClassRoom.Show(); }