Changeset 899 for trunk/Modules/TimeMeasure
- Timestamp:
- Feb 17, 2021, 12:30:23 PM (4 years ago)
- Location:
- trunk/Modules/TimeMeasure
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/TimeMeasure/Measure.php
r894 r899 12 12 public array $ValueTypes = array('Min', 'Avg', 'Max'); 13 13 14 static function Get Desc(): ModelDesc14 static function GetModelDesc(): ModelDesc 15 15 { 16 16 $Desc = new ModelDesc(self::GetClassName()); … … 329 329 } 330 330 // array_pop($Values); 331 // echo('abc');332 // die();333 331 if ($this->Debug) echo('Item count: '.count($Values)); 334 332 -
trunk/Modules/TimeMeasure/TimeMeasure.php
r894 r899 5 5 include_once(dirname(__FILE__).'/Main.php'); 6 6 7 class ModuleTimeMeasure extends AppModule7 class ModuleTimeMeasure extends Module 8 8 { 9 9 function __construct(System $System) … … 15 15 $this->License = 'GNU/GPLv3'; 16 16 $this->Description = 'Time measure of custom values, char'; 17 $this->Dependencies = array('User'); 18 } 19 20 function GetModels(): array 21 { 22 return array(Measure::GetClassName()); 17 $this->Dependencies = array(ModuleUser::GetName()); 18 $this->Models = array(Measure::GetClassName()); 23 19 } 24 20
Note:
See TracChangeset
for help on using the changeset viewer.