- Timestamp:
- May 29, 2014, 11:59:39 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigRouterOS/NetworkConfigRouterOS.php
r658 r659 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' => 'TIME DIFF(`Time`,'.36 'Duration' => array('Type' => 'TimeDiff', 'Caption' => 'Trvání', 'Default' => '', 'ReadOnly' => true, 37 'SQL' => 'TIMESTAMPDIFF(SECOND, `Time`, '. 38 38 '(SELECT `Time` FROM `NetworkInterfaceUpDown` AS `TA` WHERE (`TA`.`Time` > `TX`.`Time`) '. 39 39 'AND (`TA`.`Interface`=`TX`.`Interface`) ORDER BY `TA`.`Time` LIMIT 1))'),
Note:
See TracChangeset
for help on using the changeset viewer.