using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace CMSControl
{
    public class Item
    {
        public int SlotIDX { get; set; }
        public string ID1 { get; set; }
        public string ID2 { get; set; }
        public string Name { get; set; }
        public string Model { get; set; }
        public Boolean Selected { get; set; }
        public int Qty { get; set; }
        public string Serial { get; set; }
        public Single Scale { get; set; }
        public string ScaleUnit { get; set; }
        public string Unit { get; set; }

        public Boolean QtyManage { get; set; }
        public Boolean QtySummary { get; set; }
        public Boolean ExpManage { get; set; }

        public Item()
        {
            SlotIDX = -1;
            ID1 = string.Empty;
            ID2 = string.Empty;
            Name = string.Empty;
            Model = string.Empty;            
            Selected = false;
            Qty = 0;
            Serial = string.Empty;
            Scale = 1.0f;
            ScaleUnit = "";
            Unit = "";
            QtyManage = true;
            QtySummary = false;
            ExpManage = false;
        }
    }
}
