public Flash(double Memory, TypeUSB TypeUSB) { this.Memory = Memory; this.TypeUSB = TypeUSB; FreeMemory = Memory; Fcounter++; }
public HDD(TypeUSB TypeUSB, int KolRazd, double ObemRazd) { this.TypeUSB = TypeUSB; this.KolRazd = KolRazd; this.ObemRazd = ObemRazd; FreeMemory = KolRazd * ObemRazd; Hcounter++; }
public HDD(TypeUSB TypeUSB, int PartitionCount, double PartitionCapacity) { this.TypeUSB = TypeUSB; this.PartitionCount = PartitionCount; this.PartitionCapacity = PartitionCapacity; Memory = PartitionCount * PartitionCapacity; FreeMemory = PartitionCount * PartitionCapacity; Hcounter++; }
public HDD(TypeUSB TypeUSB, int KolRazd, double ObemRazd) { this.TypeUSB = TypeUSB; this.KolRazd = KolRazd; this.ObemRazd = ObemRazd; }