Changeset 677
- Timestamp:
- Jul 25, 2014, 9:12:10 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/FormClasses.php
r675 r677 457 457 'Filter' => '1', 458 458 ), 459 'TNetworkInterfaceWirelessListInterface' => array( 460 'Type' => 'ManyToOne', 461 'Table' => 'NetworkInterfaceWireless', 462 'Id' => 'Id', 463 'Ref' => 'NetworkInterface', 464 'Filter' => '1', 465 ), 459 466 'TInterfaceList' => array( 460 467 'Type' => 'ManyToOne', -
trunk/Application/Version.php
r676 r677 1 1 <?php 2 2 3 $Revision = 67 6; // Subversion revision3 $Revision = 677; // Subversion revision 4 4 $DatabaseRevision = 676; // SQL structure revision 5 $ReleaseTime = strtotime('2014-07-2 2');5 $ReleaseTime = strtotime('2014-07-25'); -
trunk/Common/Setup/Updates.php
r676 r677 844 844 $Manager->Execute('ALTER TABLE `NetworkSignal` ADD `Device` INT NULL , 845 845 ADD INDEX ( `Device` ) ;'); 846 $Manager->Execute('ALTER TABLE `NetworkSignal` ADD FOREIGN KEY ( `Device` ) REFERENCES ` centrala_big`.`NetworkDevice` (846 $Manager->Execute('ALTER TABLE `NetworkSignal` ADD FOREIGN KEY ( `Device` ) REFERENCES `NetworkDevice` ( 847 847 `Id`) ON DELETE RESTRICT ON UPDATE RESTRICT ;'); 848 848 } -
trunk/Modules/Network/Network.php
r676 r677 151 151 'Service' => array('Type' => 'TServiceCustomerRel', 'Caption' => 'Služba', 'Default' => '', 'Null' => true), 152 152 'Used' => array('Type' => 'Boolean', 'Caption' => 'Použito', 'Default' => '1'), 153 'Online' => array('Type' => ' Boolean', 'Caption' => 'Běží', 'Default' => '0', 'ReadOnly' => true),153 'Online' => array('Type' => 'TOnlineState', 'Caption' => 'Běží', 'Default' => '0', 'ReadOnly' => true), 154 154 'LastOnline' => array('Type' => 'DateTime', 'Caption' => 'Naposledy běželo', 'Default' => '', 'ReadOnly' => true), 155 155 'PermanentOnline' => array('Type' => 'Boolean', 'Caption' => 'Běží stále', 'Default' => '0'), … … 184 184 'ExternalIP' => array('Type' => 'IPv4Address', 'Caption' => 'Veřejná IPv4', 'Default' => '', 'Null' => true), 185 185 'Device' => array('Type' => 'TNetworkDevice', 'Caption' => 'Zařízení', 'Default' => ''), 186 'Online' => array('Type' => ' Boolean', 'Caption' => 'Běží', 'Default' => '0', 'ReadOnly' => true),186 'Online' => array('Type' => 'TOnlineState', 'Caption' => 'Běží', 'Default' => '0', 'ReadOnly' => true), 187 187 'LastOnline' => array('Type' => 'DateTime', 'Caption' => 'Naposledy běželo', 'Default' => '', 'ReadOnly' => true), 188 188 'Links1' => array('Type' => 'TNetworkLinkListInterface1', 'Caption' => 'Propojení 1', 'Default' => ''), … … 190 190 'UpDown' => array('Type' => 'TNetworkInterfaceUpDown', 'Caption' => 'Změny stavu', 'Default' => ''), 191 191 'Signal' => array('Type' => 'TNetworkSignalListInterface', 'Caption' => 'Signál', 'Default' => ''), 192 'Wireless' => array('Type' => 'TNetworkInterfaceWirelessListInterface', 'Caption' => 'Bezdrátové spoje', 'Default' => ''), 193 192 194 ), 193 195 )); … … 235 237 'Title' => 'Signál rozhraní', 236 238 'Table' => 'NetworkSignal', 239 'DefaultSortColumn' => 'Time', 240 'DefaultSortOrder' => 1, 237 241 'Items' => array( 238 242 'Time' => array('Type' => 'DateTime', 'Caption' => 'Čas', 'Default' => ''), … … 240 244 'Interface' => array('Type' => 'TNetworkInterface', 'Caption' => 'Rozhraní', 'Default' => '', 'Null' => true), 241 245 'Value' => array('Type' => 'Integer', 'Caption' => 'Signál', 'Default' => '0', 'Suffix' => 'dBm'), 242 'RateRx' => array('Type' => 'Integer', 'Caption' => 'Rychlost ', 'Default' => '0', 'Suffix' => 'MHz'),243 'RateTx' => array('Type' => 'Integer', 'Caption' => 'Rychlost ', 'Default' => '0', 'Suffix' => 'MHz'),246 'RateRx' => array('Type' => 'Integer', 'Caption' => 'Rychlost Rx', 'Default' => '0', 'Suffix' => 'MHz'), 247 'RateTx' => array('Type' => 'Integer', 'Caption' => 'Rychlost Tx', 'Default' => '0', 'Suffix' => 'MHz'), 244 248 'Device' => array('Type' => 'TNetworkDevice', 'Caption' => 'Měřeno z', 'Default' => '0'), 245 249 ), -
trunk/Modules/NetworkConfigRouterOS/RouterboardAPI.php
r674 r677 12 12 var $Socket; // Variable for storing socket resource 13 13 var $Debug; 14 var $SSL; // If SSL API connection is used. You need also change port to 8729 14 15 15 16 function __construct() … … 21 22 $this->Timeout = 3; 22 23 $this->Debug = false; 24 $this->SSL = false; 23 25 } 24 26 … … 44 46 { 45 47 if($this->Connected) $this->Disconnect(); 48 if($this->SSL) 49 { 50 $IP = 'ssl://'.$IP; 51 } 52 46 53 $this->Socket = @fsockopen($IP, $this->Port, $this->ErrorNo, $this->ErrorStr, $this->Timeout); 47 54 if($this->Socket)
Note:
See TracChangeset
for help on using the changeset viewer.