Esempio n. 1
0
        public DVD(DVDType type)
        {
            switch (type)
            {
            case DVDType.SingleSayt:
                capasity = 4.7;
                break;

            case DVDType.DoubleSayt:
                capasity = 9;
                break;
            }
        }
Esempio n. 2
0
 public DVD(string description, DVDType type, double price)
 {
     this.Description = description;
     this.Type        = type;
     this.Price       = price;
 }
Esempio n. 3
0
 public NoVDVD(string name, int grid, double price, DVDType diskType)
     : base(name, grid, price)
 {
     this.diskType = diskType;
 }
Esempio n. 4
0
 public DVD()
 {
     ReadWriteSpeed = 10;
     Type           = DVDType.TwoSided;
     files          = new List <File>();
 }
Esempio n. 5
0
 public DVD(string name, string model, DVDType type) : base(name, model)
 {
     this.Type           = type;
     this.OccupiedMemory = 0;
 }