Changeset 893 for trunk/Modules/TimeMeasure
- Timestamp:
- Jan 4, 2021, 9:55:40 PM (4 years ago)
- Location:
- trunk/Modules/TimeMeasure
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/TimeMeasure/Measure.php
r888 r893 11 11 public int $DivisionCount = 500; 12 12 public array $ValueTypes = array('Min', 'Avg', 'Max'); 13 14 static function GetDesc(): ModelDesc 15 { 16 $Desc = new ModelDesc('Measure'); 17 $Desc->AddString('Name'); 18 $Desc->AddString('Title'); 19 $Desc->AddString('Description'); 20 $Desc->AddString('Unit'); 21 $Desc->AddBoolean('Continuity'); 22 $Desc->AddInteger('Period'); 23 $Desc->AddString('PermissionAdd'); 24 $Desc->AddString('PermissionView'); 25 $Desc->AddBoolean('Enabled'); 26 $Desc->AddString('DataType'); 27 $Desc->AddString('DataTable'); 28 return $Desc; 29 } 13 30 14 31 function Load(int $Id): void -
trunk/Modules/TimeMeasure/TimeMeasure.php
r887 r893 18 18 } 19 19 20 function DoInstall(): void20 function GetModels(): array 21 21 { 22 } 23 24 function DoUnInstall(): void 25 { 22 return array('Measure'); 26 23 } 27 24 … … 49 46 )); 50 47 } 51 52 function DoStop(): void53 {54 }55 48 }
Note:
See TracChangeset
for help on using the changeset viewer.