SHARE
TWEET

Untitled

a guest Jan 22nd, 2020 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //PC CASE
  2. enum Vormfactor {
  3.     atx, matx, itx
  4. }
  5.  
  6. //PC CASE KLEUR
  7. enum Kleur {
  8.     black = "Black", gray = "Gray", blue = "Blue", white = "White", red = "Red"
  9. }
  10.  
  11. //PC CASE MATERIAL
  12. enum Materiaal {
  13.     steel = "Steel", temperedglass = "Tempered Glass", plastic = "Plastic",
  14.     aluminum = "aluminum", metal = "Metal"
  15. }
  16.  
  17. //USBPoorten
  18. /**interface USBPoort {
  19.     type : USBVersion;
  20.     aantal : number;
  21. }
  22. */
  23.  
  24. //Moederbord geheugentype
  25. enum Moederboardgeheugentype {
  26.     DDR3, DDR4, DDR5
  27. }
  28.  
  29. //Memory geheugentype
  30. enum Memorygeheugentype {
  31.     DDR3, DDR4, DDR5
  32. }
  33.  
  34. //Moederboard overclock
  35. enum Moederboardoverclock {
  36.     Yes, No
  37. }
  38.  
  39. //CPU overclock
  40. enum CPUoverclock {
  41.     Yes, No
  42. }
  43.  
  44. //Moederbord socket
  45. enum Moederboardsocket {
  46.     Intel, AMD  
  47.    
  48. }
  49. //CPU socket
  50. enum CPUsocket {
  51.     Intel, AMD
  52. }
  53.  
  54. //Memorysize
  55. enum memorysize {
  56.     Twoslots4gb = "2x4", Twoslots8gb = "2x8", Fourslots4gb = "4x4", Fourslots8gb = "4x8",
  57.     Twoslots16gb = "2x16", Fourslots16gb = "4x16", Twoslots32gb = "2x32", Fourslots32gb = "4x32"
  58. }
  59.  
  60. //GPU Brand
  61. enum gpubrand {
  62.     Inno3D = "Inno3D", PNY = "PNY", KFA2 = "KFA2",
  63.     XFX = "XFX", AsusDual = "Asus Dual", SapphirePulse = "Sapphire Pulse",
  64.     Gigabyte = "Gigabyte", ASRock = "ASRock"
  65. }
  66.  
  67. //GPU Type
  68. enum gputype {
  69.     RTX = "RTX", GTX = "GTX", RX = "RX"
  70. }
  71.  
  72. //Storage Type
  73. enum storagetype {
  74.     SSD = "SSD", m2 = "m.2", HDD = "HDD"
  75. }
  76.  
  77. //Storage size in inch
  78. enum storagesize {
  79.     SSD = '2.5"', m2 = "m.2", HDD = '3.5"'
  80. }
  81.  
  82. //PSU Brand
  83. enum psubrand {
  84.     Corsair = "Corsair", Seasonic = "Seasonic"
  85. }
  86.  
  87. //Component comparing
  88. function compare (waarde1, waarde2){
  89.     if(waarde1 === waarde2){
  90.       return "Componenten compatibel!";
  91.     }
  92.     else{
  93.       return "Componenten niet compatibel!";
  94.     }
  95.   }
  96.  
  97.  
  98. class pcCase {
  99.     name: string;
  100.     ondersteuntVormFactoren: Vormfactor [] = [];
  101.     form: Vormfactor;
  102.     color: Kleur;
  103.     material: Materiaal;
  104.     length: number;
  105.     width: number;
  106.     height: number;
  107.     maxGpuLength: number;
  108.     maxCpuCoolerHeight: number;
  109.     expSlots: number;
  110.     ssdDriveBays: number;
  111.     hddDriveBays: number;
  112.  
  113.     //Welke vormvactorondersteuning? (0 = ATX, mAX, 1 = mATX en lager, 2 = ITX)
  114.     ondersteunt(motherBoard: motherBoard) {
  115.         return this.ondersteuntVormFactoren.indexOf (motherBoard.form) >= 0
  116.     }
  117.  
  118.     formsupport(form) {
  119.         while (form < 3) {
  120.             this.ondersteuntVormFactoren.push (form);
  121.             form++;
  122.         }
  123.  
  124.     }
  125.  
  126.     constructor (strName: string, formfactor: Vormfactor, color: Kleur,  material: Materiaal,
  127.                  numLength: any, numWidth: number, numHeight: number, numGpuLength: number, numCpuCoolerHeight: number,
  128.                  numExpSlots: number, numSsdDriveBays: number, numHddDriveBays: number)
  129.         {
  130.         this.name = strName;
  131.         this.form = formfactor;
  132.         this.color = color;
  133.         this.material = material;
  134.         this.length = numLength;
  135.         this.height = numHeight;
  136.         this.width = numWidth;
  137.         this.maxGpuLength = numGpuLength;
  138.         this.maxCpuCoolerHeight = numCpuCoolerHeight;
  139.         this.expSlots = numExpSlots;
  140.         this.ssdDriveBays = numSsdDriveBays;
  141.         this.hddDriveBays = numHddDriveBays;
  142.         this.formsupport(this.form);
  143.         }
  144.     };
  145.  
  146. //ATX PC Cases
  147. let coolermastermb520 = new pcCase ("Coolermaster MB520", Vormfactor.atx, Kleur.black, Materiaal.plastic, 496, 217, 468, 410, 165, 7, 2, 4);
  148. let nzxth510 = new pcCase("NZXT H510", Vormfactor.atx, Kleur.white, Materiaal.steel, 428, 210, 468, 381, 160, 7, 3, 3);
  149. let corsairicue220t = new pcCase ("Corsair iCUE 220t", Vormfactor.atx, Kleur.white, Materiaal.steel, 395, 210, 450, 300, 160, 7, 2, 2);
  150. let fractaldesignmeshifyc = new pcCase("Fractal Design Meshify C", Vormfactor.atx,  Kleur.black, Materiaal.steel, 395, 212, 440, 315, 172, 7, 3, 2);
  151. let phantekseclipsep300 = new pcCase ("Phantekseclipse P300", Vormfactor.atx, Kleur.black, Materiaal.steel , 400, 200, 450, 330, 160, 7, 2, 2);
  152. let sharkoontg4 = new pcCase ("Sharkoon TG4", Vormfactor.atx, Kleur.black,  Materiaal.steel, 455, 200, 430, 375, 160, 6, 4, 2);
  153. //m-ATX PC Cases
  154. let coolermasterq300l = new pcCase ("Coolermaster Q300L", Vormfactor.matx, Kleur.black, Materiaal.steel, 387, 230, 381, 360, 159, 4, 2, 1);
  155. let nzxth400 = new pcCase ("NZXT H400",Vormfactor.matx, Kleur.black, Materiaal.steel, 421, 210, 417, 360, 159, 4, 3, 1);
  156. let corsaircrystal280x = new pcCase ("Corsair Crystal 280X",Vormfactor.matx, Kleur.black, Materiaal.steel, 398, 276, 351, 300, 180, 4, 3, 2);
  157. let phanteksenthooevolv = new pcCase ("Phanteks Enthoo Evolv", Vormfactor.matx, Kleur.gray, Materiaal.aluminum, 400, 230, 453, 319, 192, 4, 2,2);
  158. let fractaldesignfocusgmini = new pcCase ("Fractal Design Focus G mini",Vormfactor.matx, Kleur.black, Materiaal.steel, 464, 205, 383, 380, 165, 4, 1, 2);
  159. let sharkoons1000window = new pcCase ("Sharkoon s1000 Window", Vormfactor.matx, Kleur.red, Materiaal.temperedglass, 453, 195, 402, 400, 150, 4, 2, 2);
  160. //ITX PC Cases
  161. let coolermastermch100 = new pcCase ("Coolermaster MCH100", Vormfactor.itx, Kleur.gray, Materiaal.plastic, 312, 216, 301, 210, 83, 2, 3, 1);
  162. let nzxth210 = new pcCase ("NZXT H210", Vormfactor.itx, Kleur.black, Materiaal.steel, 372, 210, 349, 325, 165, 2, 4, 1);
  163. let fractaldesignnode304 = new pcCase ("Fractal Design Node 304", Vormfactor.itx, Kleur.white, Materiaal.temperedglass, 372, 250, 210, 310, 165, 2, 3, 1);
  164. let phanteksenthooevolvshiftair = new pcCase ("Phanteks Enthoo Evolv Shiftair", Vormfactor.itx, Kleur.gray, Materiaal.metal, 370, 225, 180, 315, 150, 2, 1 ,1);
  165. let sharkoonsharkzonec10 = new pcCase ("Sharkoon SHarkzone C10", Vormfactor.itx, Kleur.gray, Materiaal.metal, 370, 225, 180, 315, 150, 2, 1, 1);
  166.  
  167. //MOTHERBOARD
  168. class motherBoard {
  169.     form: Vormfactor;
  170.     name: string;
  171.     overclock: Moederboardoverclock;
  172.     ramSlots: number;
  173.     memory: Moederboardgeheugentype;
  174.     ddrSpeed: any;
  175.     socket: Moederboardsocket;
  176.     pciSlots: number;
  177.     m2Slots: number;
  178.     sataConnectors: number;
  179.     usb31: number;
  180.     usb20: number;
  181.     rgbHeader: number;
  182.  
  183.     constructor (strName: string, formaat: Vormfactor, Moederboardoverclock: Moederboardoverclock, numRamSlots: number,
  184.                 anyMemory: any, anyDdrMemory: any, Moederboardsocket: Moederboardsocket, numPciSlots: number, numM2Slots: number,
  185.                 numSataConnectors: number, numUsb31: number, numUsb20: number, numRgbHeader:number)
  186.         {
  187.         this.name = strName;
  188.         this.form = formaat;
  189.         this.overclock = Moederboardoverclock;
  190.         this.ramSlots = numRamSlots;
  191.         this.memory = anyMemory;
  192.         this.ddrSpeed = anyDdrMemory;
  193.         this.socket = Moederboardsocket;
  194.         this.pciSlots = numPciSlots;
  195.         this.m2Slots = numM2Slots;
  196.         this.sataConnectors = numSataConnectors;
  197.         this.usb31 = numUsb31;
  198.         this.usb20 = numUsb20;
  199.         this.rgbHeader = numRgbHeader;
  200.         }
  201. };
  202.  
  203. //ATX Motherboards Intel
  204. let gigabytez390gamingx = new motherBoard ("Gigabyte Z390 GamingX", Vormfactor.atx, Moederboardoverclock.Yes, 4, Moederboardgeheugentype.DDR4, "4266MHz", Moederboardsocket.Intel, 2, 2, 6, 5, 2,1);
  205. let msiz390apro = new motherBoard ("MSI Z390-A Pro", Vormfactor.atx, Moederboardoverclock.Yes, 4, Moederboardgeheugentype.DDR4, "4400MHz", Moederboardsocket.Intel, 2, 2, 6, 4, 2, 1);
  206. let asusrogstrixb360fgaming = new motherBoard ("Asus ROG Strix B360-F Gaming", Vormfactor.atx, Moederboardoverclock.No, 4, Moederboardgeheugentype.DDR4, "2666MHz", Moederboardsocket.Intel, 2, 2, 6, 3, 4, 1);
  207. let msib360apro = new motherBoard ("MSI 360-A Pro", Vormfactor.atx, Moederboardoverclock.No, 4, Moederboardgeheugentype.DDR4, "2666MHz", Moederboardsocket.Intel, 2, 1, 6, 2, 2, 0);
  208. //m-ATX Motherboards Intel
  209. let gigabytez390mgaming = new motherBoard ("Gigabyte Z390M Gaming", Vormfactor.matx, Moederboardoverclock.No, 4, Moederboardgeheugentype.DDR4, "4266MHz", Moederboardsocket.Intel, 2, 2, 6, 5, 2, 1);
  210. let asusrogstrixb360ggaming = new motherBoard ("Asus ROG Strix B360-G Gaming", Vormfactor.matx, Moederboardoverclock.No, 4, Moederboardgeheugentype.DDR4, "2666MHz", Moederboardsocket.Intel, 1, 2, 6, 6, 0, 1);
  211. //ITX Motherboards Intel
  212. let gigabyteaorusz390pro = new motherBoard ("Gigabyte Aorus I Z390 Pro", Vormfactor.itx, Moederboardoverclock.Yes, 2, Moederboardgeheugentype.DDR4, "4400MHz", Moederboardsocket.Intel, 1, 2, 4, 5, 0, 1);
  213. let asusrogstrixb360lggaming = new motherBoard ("Asus ROG Strix B360-l Gaming", Vormfactor.itx, Moederboardoverclock.No, 2, Moederboardgeheugentype.DDR4, "2666MHz", Moederboardsocket.Intel, 1, 2, 4, 4, 2, 0);
  214.  
  215. //ATX Motherboards AMD
  216. let gigabyteaorusx570elite = new motherBoard ("Gigabyte Aorus X570 ELITE", Vormfactor.atx, Moederboardoverclock.Yes, 4, Moederboardgeheugentype.DDR4, "4000MHz", Moederboardsocket.AMD, 2, 2, 6, 6, 2, 2);
  217. let asusrogstrixb450gaming = new motherBoard ("Asus ROG Strix B450-F Gaming", Vormfactor.atx, Moederboardoverclock.Yes, 4, Moederboardgeheugentype.DDR4, "3644MHz", Moederboardsocket.AMD, 2, 2, 6, 6, 2, 2);
  218. let msib450tomahawkmax = new motherBoard ("MSI B450 Tomahawk Max", Vormfactor.atx, Moederboardoverclock.Yes, 4, Moederboardgeheugentype.DDR4, "2666MHz", Moederboardsocket.AMD, 1, 1, 6, 6, 2, 2);
  219. //m-ATX Motherboards AMD
  220. let gigabyteaorusb450m = new motherBoard ("Gigabyte Aorus B450-M", Vormfactor.matx, Moederboardoverclock.Yes, 4, Moederboardgeheugentype.DDR4, "4266MHz", Moederboardsocket.AMD, 2, 2, 6, 6, 2, 1);
  221. let asusrogstrixb360gaming = new motherBoard ("Asus ROG Strix B360-G Gaming", Vormfactor.matx, Moederboardoverclock.Yes, 4, Moederboardgeheugentype.DDR4, "4400MHz", Moederboardsocket.Intel, 1, 1, 6, 6, 0, 1);
  222. // ITX Motherboards AMD
  223. let gigabyteaorusx570 = new motherBoard ("Gigabyte Aorus X570", Vormfactor.itx, Moederboardoverclock.Yes, 2, Moederboardgeheugentype.DDR4, "4400MHz", Moederboardsocket.AMD, 1, 2, 4, 5, 1, 1);
  224. let asusrogstrixb450lgaming = new motherBoard ("Asus ROG Strix B450-l Gaming", Vormfactor.itx, Moederboardoverclock.Yes, 4, Moederboardgeheugentype.DDR4, "4400MHz", Moederboardsocket.AMD, 1, 2, 4, 6, 0, 1);
  225.  
  226. //CPU
  227. class cpu {
  228.     name: string;
  229.     socket: CPUsocket;
  230.     overclock: CPUoverclock;
  231.    
  232.     constructor (strName: string, overclock: CPUoverclock, socket: CPUsocket)
  233.         {
  234.         this.name = strName;
  235.         this.overclock = overclock;
  236.         this.socket = socket;
  237.         }
  238. };
  239.  
  240. //Intel Z390
  241. let i39350k = new cpu ("i3 9350k", CPUoverclock.Yes, CPUsocket.Intel);
  242. let i59600k = new cpu ("i5 9600k", CPUoverclock.Yes, CPUsocket.Intel);
  243. let i79700k = new cpu ("i7 9700k", CPUoverclock.Yes, CPUsocket.Intel);
  244. let i99900k = new cpu ("i9 9900k", CPUoverclock.Yes, CPUsocket.Intel);
  245.  
  246. //Intel B630
  247. let i39100f = new cpu("i3 9100f", CPUoverclock.Yes, CPUsocket.Intel);
  248. let i59400f = new cpu("i5 9400f", CPUoverclock.Yes, CPUsocket.Intel);
  249. let i79700f = new cpu("i7 9700f", CPUoverclock.Yes, CPUsocket.Intel);
  250.  
  251. //AMD470/570
  252. let ryzen3600x = new cpu ("Ryzen 3600x", CPUoverclock.Yes, CPUsocket.AMD);
  253. let ryzen2700x = new cpu ("Ryzen 2700x", CPUoverclock.Yes, CPUsocket.AMD);
  254. let ryzen3800x = new cpu ("Ryzen 3800x", CPUoverclock.Yes, CPUsocket.AMD);
  255. let ryzen3950x = new cpu ("Ryzen 3950x", CPUoverclock.Yes, CPUsocket.AMD);
  256.  
  257. //AMD non X(B450)
  258. let ryzen2200g = new cpu ("Ryzen 2200g", CPUoverclock.Yes, CPUsocket.AMD);
  259. let ryzen2600 = new cpu ("Ryzen 2600", CPUoverclock.Yes, CPUsocket.AMD);
  260. let ryzen3600 = new cpu ("Ryzen 3600", CPUoverclock.Yes, CPUsocket.AMD);
  261. let ryzen2700 = new cpu ("Ryzen 2700", CPUoverclock.Yes, CPUsocket.AMD);
  262.  
  263.  
  264. //Memory
  265.  
  266. class memory {
  267.     name: string;
  268.     memory: Memorygeheugentype;
  269.     speed: any;
  270.     memorySize: memorysize;
  271.     totalMemory: number;
  272.  
  273.     constructor (strName: string, memory: Memorygeheugentype, anySpeed: any, memorySize: memorysize, numTotalMemory: any)
  274.         {
  275.         this.name = strName;
  276.         this.memory = memory;
  277.         this.speed = anySpeed;
  278.         this.memorySize = memorySize;
  279.         this.totalMemory = numTotalMemory;
  280.         }
  281. };
  282.  
  283. //8GB Memory
  284. let corsairvengeance2400 = new memory ("Corsair Vengeance2400MHz", Memorygeheugentype.DDR4, "2400MHz", memorysize.Twoslots4gb, 8);
  285.  
  286. //16GB Memory
  287. let gskillaegis2666 = new memory("G.Skill Aegis 2666", Memorygeheugentype.DDR4, "2666MHz", memorysize.Twoslots8gb, 16);
  288. let corsairvengancergb3000 = new memory("Corsair Vengeance RGB3000", Memorygeheugentype.DDR4, "3000MHz", memorysize.Twoslots8gb, 16);
  289. let gskilltridentz3200 = new memory("G.Skill Trident Z RGB 3200", Memorygeheugentype.DDR4, "3200MHz", memorysize.Twoslots8gb, 16);
  290.  
  291. //32GB Memory
  292. let gskillripjaws2666 = new memory ("G.Skill Ripjaws 2666", Memorygeheugentype.DDR4, "2666MHz", memorysize.Fourslots8gb, 32);
  293. let gskilltridentzrbg2666 = new memory ("G.Skill Trident Z 2666", Memorygeheugentype.DDR4, "2666MHz", memorysize.Fourslots8gb, 32);
  294. let gskilltridentzrgb3200 = new memory ("G.Skill Trident Z 3200", Memorygeheugentype.DDR4, "3200MHz", memorysize.Fourslots8gb, 32);
  295.  
  296. class gpu {
  297.     brand: gpubrand;
  298.     type: gputype;
  299.     name: string;
  300.     length: number;
  301.     depth: number;
  302.     memorySize: number;
  303.  
  304.     constructor(brand: gpubrand, type: gputype, strName: string, numLength: number, numDepth: number,
  305.         numMemorySize: number) {
  306.         this.brand = brand;
  307.         this.type = type;
  308.         this.name = strName;
  309.         this.length = numLength;
  310.         this.depth = numDepth;
  311.         this.memorySize = numMemorySize;
  312.     }
  313. };
  314.  
  315. //NVidia GPU
  316. let nvidiagtx1650 = new gpu (gpubrand.Inno3D, gputype.GTX, "GTX 1650 Super (Inno3D Twin X2)", 220, 113, 4);
  317. let nvidiagtx1660 = new gpu (gpubrand.PNY, gputype.GTX, "GTX 1660 Super (PNY Dual)", 220, 113, 6);
  318. let nvidiagtx1660ti = new gpu (gpubrand.PNY, gputype.GTX, "GTX 1660ti Super (PNY Dual)", 196, 113, 6);
  319. let nvidiartx2060 = new gpu (gpubrand.KFA2, gputype.RTX, "RTX 2060 Super (KFA2)", 245, 134, 6);
  320. let nvidiartx2070 = new gpu (gpubrand.KFA2, gputype.RTX, "RTX 2070 Super(KFA2)", 295, 143, 8);
  321. let nvidiartx2080 = new gpu (gpubrand.KFA2, gputype.RTX, "RTX 2080 Super (KFA2)", 295, 143, 8);
  322. let nvidiartx2080ti = new gpu (gpubrand.KFA2, gputype.RTX, "RTX 2080ti Super (KFA2)", 268, 112, 11);
  323.  
  324. //AMD GPU
  325. let rx570 = new gpu (gpubrand.XFX, gputype.RX, "RX570 (XFX)", 243, 124, 8);
  326. let rx580 = new gpu (gpubrand.AsusDual, gputype.RX, "RX580 (Asus Dual)", 242, 1298, 8);
  327. let rx590 = new gpu (gpubrand.SapphirePulse, gputype.RX, "RX590 (Sapphire Pulse)", 230, 125, 8);
  328. let rx5500xt = new gpu (gpubrand.Gigabyte, gputype.RX, "RX5500XT (Gigabyte)", 281, 115, 8);
  329. let rx5700 = new gpu (gpubrand.ASRock, gputype.RX, "RX5700 (ASRock)", 281, 126, 8);
  330. let rx5700xt = new gpu (gpubrand.ASRock, gputype.RX, "RX5700XT (ASRock)", 324, 145, 8);
  331.  
  332. class storage {
  333.     name: string;
  334.     type: storagetype;
  335.     size: storagesize;
  336.     capacity: number;
  337.  
  338.     constructor(strName: string, type: storagetype, size: storagesize, numCapacity: number) {
  339.         this.name = strName;
  340.         this.type = type;
  341.         this.size = size;
  342.         this.capacity = numCapacity;
  343.     }
  344. };
  345.  
  346. //SSD
  347. let ssd120pny = new storage ("PNY120GB", storagetype.SSD, storagesize.SSD, 120);
  348. let ssd250kingston = new storage ("Kingston250GB", storagetype.SSD, storagesize.SSD, 250);
  349. let ssd500kingston = new storage ("Kingston500GB", storagetype.SSD, storagesize.SSD, 500);
  350. let ssd1000gigabyte = new storage ("Kingston1000GB", storagetype.SSD, storagesize.SSD, 1000);
  351.  
  352. //M.2
  353. let m2120wdgreen = new storage ("WD Green 120GB", storagetype.m2, storagesize.m2, 120);
  354. let m2250wdgreen = new storage ("WD Green 250GB", storagetype.m2, storagesize.m2, 250);
  355. let m2500wdgreen = new storage ("WD Green 500GB", storagetype.m2, storagesize.m2, 500);
  356. let m21000wdgreen = new storage ("WD Blue 1000GB", storagetype.m2, storagesize.m2, 1000);
  357.  
  358. //HDD
  359. let hdd500wdblue = new storage ("WD Blue 500GB", storagetype.HDD, storagesize.HDD, 500);
  360. let hdd1000wdblue = new storage ("WD Blue 1000GB", storagetype.HDD, storagesize.HDD, 1000);
  361. let hdd2000wdblue = new storage ("WD Blue 2000GB", storagetype.HDD, storagesize.HDD, 2000);
  362. let hdd4000wdblue = new storage ("WD Blue 4000GB", storagetype.HDD, storagesize.HDD, 4000);
  363.  
  364. class psu {
  365.     name: string;
  366.     brand: psubrand;
  367.     watt: number;
  368.  
  369.     constructor (strName: string, brand: psubrand, numWatt: number) {
  370.         this.name = strName;
  371.         this.brand = brand;
  372.         this.watt = numWatt;
  373.     }
  374. };
  375.  
  376. //Corsair PSU
  377. let corsairvs450 = new psu ("Corsair VS450", psubrand.Corsair, 450);
  378. let corsairvs550 = new psu ("Corsair VS550", psubrand.Corsair, 550);
  379. let corsaircx650 = new psu ("Corsair CX650", psubrand.Corsair, 650);
  380. let corsairrm750 = new psu ("Corsair RM750", psubrand.Corsair, 750);
  381. let corsairax1000 = new psu ("Corsair AX1000", psubrand.Corsair, 1000);
  382. let corsairax1200i = new psu ("Corsair AX1200i", psubrand.Corsair, 1200);
  383.  
  384. //Seasonic PSU
  385. let seasonics12 = new psu ("Seasonic S12II-Bronze 520W", psubrand.Seasonic, 520);
  386. let seasonicm12 = new psu ("Seasonic M12II Evo 520W", psubrand.Seasonic, 520);
  387. let seasonicfocusplus = new psu ("Seasonic Focus Plus 650 Gold", psubrand.Seasonic, 650);
  388. let seasonicprimeplatinum = new psu ("Seasonic Prime Platinum 1300W", psubrand.Seasonic, 1300);
  389.  
  390. //LOG NEEDS FUNCTION
  391.  
  392. //ATX PC Cases
  393. console.log(coolermastermb520);
  394. console.log(nzxth510);
  395. console.log(corsairicue220t);
  396. console.log(fractaldesignmeshifyc);
  397. console.log(phantekseclipsep300);
  398. console.log(sharkoontg4);
  399.  
  400. //m-ATX PC Cases
  401. console.log(coolermasterq300l);
  402. console.log(nzxth400);
  403. console.log(corsaircrystal280x);
  404. console.log(fractaldesignfocusgmini);
  405. console.log(phanteksenthooevolv);
  406. console.log(sharkoons1000window);
  407.  
  408. //ITX PC Cases
  409. console.log(coolermastermch100);
  410. console.log(nzxth210);
  411. console.log(fractaldesignnode304);
  412. console.log(phanteksenthooevolvshiftair);
  413. console.log(sharkoonsharkzonec10);
  414.  
  415.  
  416. //ATX Motherboards Intel
  417. console.log(gigabytez390gamingx);
  418. console.log(msiz390apro);
  419. console.log(asusrogstrixb360fgaming);
  420. console.log(msib360apro);
  421.  
  422. //m-ATX Motherboards Intel
  423. console.log(gigabytez390mgaming);
  424. console.log(asusrogstrixb360ggaming);
  425.  
  426. //ITX Motherboards Intel
  427. console.log(gigabyteaorusz390pro);
  428. console.log(asusrogstrixb360lggaming);
  429.  
  430. //ATX Motherboards AMD
  431. console.log(gigabyteaorusx570elite);
  432. console.log(asusrogstrixb450gaming);
  433. console.log(msib450tomahawkmax);
  434.  
  435. //m-ATX Motherboards AMD
  436. console.log(gigabyteaorusb450m);
  437. console.log(asusrogstrixb360gaming);
  438.  
  439. //ITX Motherboards AMD
  440. console.log(gigabyteaorusx570);
  441. console.log(asusrogstrixb360lggaming);
  442.  
  443.  
  444. //Intel Z390
  445. console.log(i39350k);
  446. console.log(i59600k);
  447. console.log(i79700k);
  448. console.log(i99900k);
  449.  
  450. //Intel B630
  451. console.log(i39100f);
  452. console.log(i59400f);
  453. console.log(i79700f);
  454.  
  455. //AMD470/570
  456. console.log(ryzen2700x);
  457. console.log(ryzen3600x);
  458. console.log(ryzen3800x);
  459. console.log(ryzen3950x);
  460.  
  461. //AMD non X(B450)
  462. console.log(ryzen2200g);
  463. console.log(ryzen2600);
  464. console.log(ryzen2700);
  465. console.log(ryzen3600);
  466.  
  467. //8GB Memory
  468. console.log(corsairvengeance2400);
  469.  
  470.  
  471. //16GB Memory
  472. console.log(gskillaegis2666);
  473. console.log(corsairvengancergb3000);
  474. console.log(gskilltridentz3200);
  475.  
  476. //32GB Memory
  477. console.log(gskillripjaws2666);
  478. console.log(gskilltridentzrbg2666);
  479. console.log(gskilltridentzrgb3200);
  480.  
  481.  
  482. //Nvidia GPU
  483. console.log(nvidiagtx1650);
  484. console.log(nvidiagtx1660);
  485. console.log(nvidiagtx1660ti);
  486. console.log(nvidiartx2060);
  487. console.log(nvidiartx2070);
  488. console.log(nvidiartx2080);
  489. console.log(nvidiartx2080ti);
  490.  
  491. //AMD GPU
  492. console.log(rx570);
  493. console.log(rx580);
  494. console.log(rx590);
  495. console.log(rx5500xt);
  496. console.log(rx5700);
  497. console.log(rx5700xt);
  498.  
  499. //STORAGE SSD
  500. console.log(ssd120pny);
  501. console.log(ssd250kingston);
  502. console.log(ssd500kingston);
  503. console.log(ssd1000gigabyte);
  504.  
  505. //STORAGE M.2
  506. console.log(m2120wdgreen);
  507. console.log(m2250wdgreen);
  508. console.log(m2500wdgreen);
  509. console.log(m21000wdgreen);
  510.  
  511. //STORAGE HDD
  512. console.log(hdd500wdblue);
  513. console.log(hdd1000wdblue);
  514. console.log(hdd2000wdblue);
  515. console.log(hdd4000wdblue);
  516.  
  517. //Corsair PSU
  518. console.log(corsairvs450);
  519. console.log(corsairvs550);
  520. console.log(corsaircx650);
  521. console.log(corsairrm750);
  522. console.log(corsairax1000);
  523. console.log(corsairax1200i);
  524.  
  525. //Seasonic PSU
  526. console.log(seasonics12);
  527. console.log(seasonicm12);
  528. console.log(seasonicfocusplus);
  529. console.log(seasonicprimeplatinum);
  530.  
  531.  
  532.  
  533.  
  534. let comparecomponent = compare(coolermastermb520.form, gigabytez390gamingx.form)
  535. console.log(comparecomponent);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top