Skip to content
Permalink
Browse files

Update mercury.class.php

  • Loading branch information...
directman66 committed Sep 19, 2018
1 parent bde5929 commit 143c7cfc4cb371bc3d455effe04eb340a965b8f8
Showing with 5 additions and 0 deletions.
  1. +5 −0 modules/mercury/mercury.class.php
@@ -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'; // <-----------

0 comments on commit 143c7cf

Please sign in to comment.
You can’t perform that action at this time.