Changeset 624 for trunk/Modules/Network/Network.php
- Timestamp:
- Dec 29, 2013, 10:44:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Network/Network.php
r623 r624 306 306 ), 307 307 )); 308 $this->System->FormManager->RegisterClass('NetworkInterfaceWirelessCTU', array( 309 'Title' => 'Bezdrátová rozhraní pro ČTÚ', 310 'Table' => 'NetworkInterfaceWireless', 311 'Items' => array( 312 'SSID' => array('Type' => 'String', 'Caption' => 'SSID', 'Default' => ''), 313 'MAC' => array('Type' => 'MacAddress', 'Caption' => 'MAC', 'Default' => ''), 314 'TxPower' => array('Type' => 'Integer', 'Caption' => 'Výstupní výkon', 'Default' => '18', 'Suffix' => 'dBm'), 315 'CableAttenuation' => array('Type' => 'Integer', 'Caption' => 'Útlum vedení', 'Default' => '0', 'Suffix' => 'dB'), 316 'AntenaGain' => array('Type' => 'Integer', 'Caption' => 'Zisk antény', 'Default' => '', 'Suffix' => 'dBi'), 317 'AntennaPolarity' => array('Type' => 'TAntennaPolarity', 'Caption' => 'Polarizace antény', 'Default' => '0'), 318 'Frequency' => array('Type' => 'Float', 'Caption' => 'Frekvence', 'Default' => '5600', 'Suffix' => 'MHz'), 319 'ChannelWidthLower' => array('Type' => 'Integer', 'Caption' => 'Šírka kanálu dolního', 'Default' => '0', 'Suffix' => 'MHz'), 320 'ChannelWidth' => array('Type' => 'Integer', 'Caption' => 'Šírka kanálu', 'Default' => '20', 'Suffix' => 'MHz'), 321 'ChannelWidthUpper' => array('Type' => 'Integer', 'Caption' => 'Šírka kanálu horního', 'Default' => '0', 'Suffix' => 'MHz'), 322 'Mode' => array('Type' => 'TWirelessMode', 'Caption' => 'Režim', 'Default' => '0', 'Suffix' => ''), 323 'TotalPower' => array('Type' => 'Integer', 'Caption' => 'Celkový výkon', 'Default' => '20', 'Suffix' => 'dBm', 324 'SQL' => '(`TxPower` - `CableAttenuation` + `AntenaGain`)', 'ReadOnly' => true), 325 'LimitPower' => array('Type' => 'Integer', 'Caption' => 'Max. limit', 'Default' => '', 'Suffix' => 'dBm', 326 'ReadOnly' => true, 'SQL' => '(CASE WHEN `Frequency` >= 5450 AND `Frequency` <= 5725 THEN 27 ELSE 20 END)'), 327 'UnderLimit' => array('Type' => 'Boolean', 'Caption' => 'V limitu', 'Default' => '', 'Suffix' => '', 328 'ReadOnly' => true, 'SQL' => '((`TxPower` - `CableAttenuation` + `AntenaGain`) <= (CASE WHEN `Frequency` >= 5450 AND `Frequency` <= 5725 THEN 27 ELSE 20 END))'), 329 'Position' => array('Type' => 'String', 'Caption' => 'GPS poloha', 'Default' => '', 330 'SQL' => '(SELECT MapPosition.Pos FROM MapPosition WHERE MapPosition.Id=#Id)'), 331 'Description' => array('Type' => 'String', 'Caption' => 'Popis', 'Default' => ''), 332 ), 333 'Actions' => array( 334 array('Caption' => 'Frekvenční plán', 'URL' => '/network/frequency-plan/'), 335 ), 336 )); 308 337 } 309 338
Note:
See TracChangeset
for help on using the changeset viewer.