Skip to content

Commit

Permalink
Update mercury.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
directman66 committed Sep 19, 2018
1 parent bde5929 commit 143c7cf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/mercury/mercury.class.php
Expand Up @@ -1130,6 +1130,11 @@ function dbInstall($data = '') {
$property['DESCRIPTION']='Напряжение по фазе 3'; // <-----------
SQLUpdate('properties',$property); }

$prop_id=addClassProperty($classname, 'U', 7);
if ($prop_id) {$property=SQLSelectOne("SELECT * FROM properties WHERE ID=".$prop_id);
$property['DESCRIPTION']='Напряжение, среднее значение по 3 фазам'; // <-----------
SQLUpdate('properties',$property); }

$prop_id=addClassProperty($classname, 'rashodt1', 365);
if ($prop_id) {$property=SQLSelectOne("SELECT * FROM properties WHERE ID=".$prop_id);
$property['DESCRIPTION']='Израсходовано по тарифу 1'; // <-----------
Expand Down

0 comments on commit 143c7cf

Please sign in to comment.