コード例 #1
0
 public Flash(double Memory, TypeUSB TypeUSB)
 {
     this.Memory  = Memory;
     this.TypeUSB = TypeUSB;
     FreeMemory   = Memory;
     Fcounter++;
 }
コード例 #2
0
 public HDD(TypeUSB TypeUSB, int KolRazd, double ObemRazd)
 {
     this.TypeUSB  = TypeUSB;
     this.KolRazd  = KolRazd;
     this.ObemRazd = ObemRazd;
     FreeMemory    = KolRazd * ObemRazd;
     Hcounter++;
 }
コード例 #3
0
 public HDD(TypeUSB TypeUSB, int PartitionCount, double PartitionCapacity)
 {
     this.TypeUSB           = TypeUSB;
     this.PartitionCount    = PartitionCount;
     this.PartitionCapacity = PartitionCapacity;
     Memory     = PartitionCount * PartitionCapacity;
     FreeMemory = PartitionCount * PartitionCapacity;
     Hcounter++;
 }
コード例 #4
0
ファイル: HDD.cs プロジェクト: AlimbekovaS/CW_ReserveCopy
 public HDD(TypeUSB TypeUSB, int KolRazd, double ObemRazd)
 {
     this.TypeUSB  = TypeUSB;
     this.KolRazd  = KolRazd;
     this.ObemRazd = ObemRazd;
 }