- Timestamp:
- May 26, 2014, 1:00:20 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigRouterOS/NetworkConfigRouterOS.php
r657 r658 16 16 $this->Dependencies = array('NetworkConfig'); 17 17 } 18 18 19 19 function DoInstall() 20 20 { 21 21 } 22 22 23 23 function DoUnInstall() 24 24 { … … 34 34 'Interface' => array('Type' => 'TNetworkInterface', 'Caption' => 'Rozhraní', 'Default' => '', 'ReadOnly' => true), 35 35 'State' => array('Type' => 'Boolean', 'Caption' => 'Stav', 'Default' => '', 'ReadOnly' => true), 36 'Duration' => array('Type' => 'Time', 'Caption' => 'Trvání', 'Default' => '', 'ReadOnly' => true, 37 'SQL' => 'TIMEDIFF(`Time`,'. 38 '(SELECT `Time` FROM `NetworkInterfaceUpDown` AS `TA` WHERE (`TA`.`Time` > `TX`.`Time`) '. 39 'AND (`TA`.`Interface`=`TX`.`Interface`) ORDER BY `TA`.`Time` LIMIT 1))'), 36 40 ), 37 41 ));
Note:
See TracChangeset
for help on using the changeset viewer.