Changeset 7788 for trunk/src/inc/KMLFile.class.php
- Timestamp:
- Apr 16, 2010, 2:15:06 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/inc/KMLFile.class.php
r7777 r7788 297 297 $this->NetworkList->add($network); 298 298 299 // TODO: For this project we'll use random numbers. 300 // In a following project this can be adjusted 301 $bandwithMax = rand(0, 200); 302 $bandwithUsage = rand(0, $bandwithMax); 303 299 304 $data = ' 300 305 <Data name="netmaskDecimal"> … … 336 341 <Data name="hosts"> 337 342 <value>' . $network->numberHosts . '</value> 343 </Data> 344 <Data name="bandwidthMax"> 345 <value>' . $bandwithMax . '</value> 346 </Data> 347 <Data name="bandwidthUsage"> 348 <value>' . $bandwithUsage . '</value> 338 349 </Data>'; 339 350
Note:
See TracChangeset
for help on using the changeset viewer.