Changeset 824 for trunk/Modules/Network/Network.php
- Timestamp:
- Apr 4, 2016, 8:41:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Network/Network.php
r822 r824 208 208 'Wireless' => array('Type' => 'TNetworkInterfaceWirelessListInterface', 'Caption' => 'Bezdrátové spoje', 'Default' => ''), 209 209 'Ports' => array('Type' => 'TDevicePortListInterface', 'Caption' => 'Síťové porty', 'Default' => ''), 210 'Latency' => array('Type' => 'TDeviceInterfaceLatencyListInterface', 'Caption' => 'Odezva sítě', 'Default' => ''), 210 211 ), 211 212 'AfterInsert' => array($this, 'AfterInsertNetworkInterface'), … … 257 258 'LastOnline' => array('Type' => 'DateTime', 'Caption' => 'Naposledy běželo', 'Default' => '', 'ReadOnly' => true), 258 259 'UpDown' => array('Type' => 'TNetworkPortUpDown', 'Caption' => 'Změny stavu', 'Default' => ''), 260 ), 261 )); 262 $this->System->FormManager->RegisterClass('NetworkInterfaceLatency', array( 263 'Title' => 'Sťová odezva', 264 'Table' => 'NetworkInterfaceLatency', 265 'Items' => array( 266 'Time' => array('Type' => 'DateTime', 'Caption' => 'Čas', 'Default' => ''), 267 'Interface' => array('Type' => 'TNetworkInterface', 'Caption' => 'Rozhraní', 'Default' => ''), 268 'Value' => array('Type' => 'Float', 'Caption' => 'Hodnota', 'Default' => '0', 'Suffix' => 'ms'), 259 269 ), 260 270 )); … … 583 593 'Type' => 'ManyToOne', 584 594 'Table' => 'NetworkPort', 595 'Id' => 'Id', 596 'Ref' => 'Interface', 597 'Filter' => '1', 598 )); 599 $this->System->FormManager->RegisterFormType('TDeviceInterfaceLatencyListInterface', array( 600 'Type' => 'ManyToOne', 601 'Table' => 'NetworkInterfaceLatency', 585 602 'Id' => 'Id', 586 603 'Ref' => 'Interface',
Note:
See TracChangeset
for help on using the changeset viewer.