Ignore:
Timestamp:
Jan 4, 2021, 9:55:40 PM (4 years ago)
Author:
chronos
Message:
  • Modified: More work on modules models initialization.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/TimeMeasure/Measure.php

    r888 r893  
    1111  public int $DivisionCount = 500;
    1212  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  }
    1330
    1431  function Load(int $Id): void
Note: See TracChangeset for help on using the changeset viewer.