Example #1
0
        public void callback()
        {
            carbinetIndex = Program.frmClassRoom.carbinetIndex;
            floorNumber   = Program.frmClassRoom.floorNumber;
            columnNumber  = Program.frmClassRoom.columnNumber;

            this.numLocofGroup.Value  = carbinetIndex;
            this.numLocofRow.Value    = floorNumber;
            this.numLocofColumn.Value = columnNumber;
            equipmentPosition ep = MemoryTable.getEquipmentConfigMapInfoByPos(carbinetIndex, floorNumber, columnNumber);

            if (ep != null)
            {
                this.txtEquipmentID.Text = ep.equipmentID;
            }
            else
            {
                this.txtEquipmentID.Text = string.Empty;
            }
        }