Example #1
0
 public int Compatibility(MotherboardProperties motherboard)
 {
     if (Properties.Interface == Interface.PCI_E16x3_0 && motherboard.PCI_Ex16 >= 1 && motherboard.PCIE3_0 == true)
     {
         return(motherboard.PCI_Ex16);
     }
     else
     {
         return(0);
     }
 }
Example #2
0
 public int Compatibility(MotherboardProperties motherboard, CaseProperties @case)
 {
     if (Properties.Interface == InputInterfaces.USB)
     {
         return(motherboard.USB2_0 + motherboard.USB3_0 + @case.USB2_0 + @case.USB3_0);
     }
     else if (Properties.Interface == InputInterfaces.PSby2 && motherboard.PS2Keyboard)
     {
         return(1);
     }
     else
     {
         return(0);
     }
 }
Example #3
0
 public int Compatibility(MotherboardProperties motherboard)
 {
     if (Properties.Interface == OpticalDriveInterface.SATA)
     {
         return(motherboard.SATA2_0 + motherboard.SATA3_0);
     }
     else if (Properties.Interface == OpticalDriveInterface.IDE)
     {
         return(motherboard.IDE);
     }
     else
     {
         return(0);
     }
 }
Example #4
0
 public int Compatibility(MotherboardProperties motherboard)
 {
     if (Properties.Interface == HDDInterface.sata_20 || Properties.Interface == HDDInterface.sata_30)
     {
         return(motherboard.SATA2_0 + motherboard.SATA3_0);
     }
     else if (Properties.Interface == HDDInterface.IDE)
     {
         return(motherboard.IDE);
     }
     else
     {
         return(0);
     }
 }