aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include/hardware.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Include/hardware.php')
-rw-r--r--h-source/Application/Include/hardware.php17
1 files changed, 16 insertions, 1 deletions
diff --git a/h-source/Application/Include/hardware.php b/h-source/Application/Include/hardware.php
index 5f6ea9b..999a540 100644
--- a/h-source/Application/Include/hardware.php
+++ b/h-source/Application/Include/hardware.php
@@ -24,13 +24,17 @@ if (!defined('EG')) die('Direct access not allowed!');
class Hardware
{
- public static $controllers = array('notebooks','wifi','videocards','printers','scanners','threegcards','soundcards','webcams','bluetooth','acquisitioncards','fingerprintreaders'); //used by UsersController::login()
+ public static $controllers = array('notebooks','wifi','videocards','printers','scanners','threegcards','soundcards','webcams','bluetooth','acquisitioncards','fingerprintreaders','ethernetcards'); //used by UsersController::login()
//classId => controller
public static $deviceClasses = array(
'0403' => 'soundcards',
'0280' => 'wifi',
'0300' => 'videocards',
+ '0200' => 'ethernetcards',
+ '0400' => 'acquisitioncards',
+ '0401' => 'acquisitioncards',
+ '0480' => 'acquisitioncards',
);
public static $icons = array(
@@ -45,6 +49,7 @@ class Hardware
'bluetooth' => 'H2O/preferences-system-bluetooth-22.png',
'acquisition-card' => 'Crystal/cam_mount-22.png',
'fingerprint-reader' => 'fingerprint_icon-22.png',
+ 'ethernet-card' => 'H2O/network-wired_22.png',
);
public static $typeToController = array(
@@ -59,6 +64,7 @@ class Hardware
'bluetooth' => 'bluetooth',
'acquisition-card' => 'acquisitioncards',
'fingerprint-reader' => 'fingerprintreaders',
+ 'ethernet-card' => 'ethernetcards',
);
public static function getTypes()
@@ -369,4 +375,13 @@ class Fingerprintreaders extends Hardware
public static $interface = "not-specified,USB,PCI,PCI-E,mini-PCI,mini-PCI-E,ExpressCard,PC-Card,Firewire,Parallel,Serial";
+}
+
+class Ethernetcards extends Hardware
+{
+
+ public static $select = 'yes,no';
+
+ public static $interface = "not-specified,USB,PCI,PCI-E,mini-PCI,mini-PCI-E,ExpressCard,PC-Card,Firewire,Parallel,Serial";
+
} \ No newline at end of file