Nhãn hiệu của chúng tôi

Impact-Company-Logo-English Black-01-177x54

Chào mừng bạn đến với Trang web của Schneider Electric

Chào mừng đến với trang web của chúng tôi.
		
Hôm nay chúng tôi có thể giúp gì cho bạn?
How do I add units to my custom measurements so that they display in Web Applications Reports?

Issue
An existing custom measurement does not have an associated unit.

Product Line
ION Enterprise 6.0 SP1
Power Monitoring Expert (PME) 7.0.1
Power Monitoring Expert 7.2.2
Power Monitoring Expert 8.0
Power Monitoring Expert 8.1

Environment
SQL Server Management Studio
Web Applications Reports

Cause
Custom measurements do not have a default unit.

Resolution

*Warning: Irreparable database damage can occur. This procedure should only be performed by users familiar with SQL Server Management Studio. Databases should be backed up prior to performing this procedure.*

In this example, the custom measurement we will add a unit to is called Cstm Meas, and the unit will be testunit.
Note: The custom unit name will only be available in one language (e.g. English).

For ION Enterprise 6.0 SP1

1. Run this query to update the triple store:

USE ION_Network
DECLARE @measurement NVARCHAR(1000)
SET @measurement = N'Cstm Meas'
EXEC spTS_StandardRelationship_Add @measurement, N'unit', N'testunit', 'Q'


2. Check that your unit is written to the triple store correctly using this query:

USE ION_Network
SELECT DISTINCT
mm.[ID]
, mm.[StandardName]
, [LegacyID]
, [prefix]
, [unit]
, [phase]
, [quantity]
, [type]
, [format]
, [direction]
, [cumulative]
FROM
(SELECT [Subject], [SubjectNamespace], [Predicate], [Object] FROM dbo.vTS_Triples) AS [TS]
PIVOT
(
MAX([Object])
FOR [Predicate] IN
(
[LegacyID]
, [unit]
, [phase]
, [quantity]
, [type]
, [format]
, [prefix]
, [direction]
, [cumulative]
)
) AS [pvt]
INNER JOIN
dbo.MM_MeasurementMap mm ON (mm.FullName = [SubjectNamespace]+[Subject])
WHERE
mm.ID IN (10009) --> INSERT CUSTOM Measurement ID FROM MM_MeasurementMap table (not QuantityID)


3. Run the following query to update the CUL_DisplayText table:

USE ION_Network
INSERT INTO CUL_DisplayText (ResourceTypeID, ResourceID, Display) values (2, 'Unit=testunit', 'testunit')


Here is a before and after of how the units appear in an example Period over Period report:

Summary graphs
For PME7.0.1 / PME7.2.2 / PME8.x

EXECUTE [ION_Network].[dbo].[spTS_StandardRelationship_Add] N'Cstm Meas', N'unit', N'testunit', 'Q'

If Cstm Meas is already associated with a unit, refer to FA279856 as how to assign a new unit to Cstm Meas.

Schneider Electric Việt Nam

Tìm hiểu thêm
Phạm vi:
Tìm hiểu thêm
Phạm vi:

Bạn cần trợ giúp?

  • Công cụ chọn sản phẩm

    Nhanh chóng và dễ dàng tìm được sản phẩm và phụ kiện phù hợp cho các ứng dụng của bạn.

  • Nhận báo giá

    Bắt đầu gửi yêu cầu bán hàng trực tuyến và chuyên gia sẽ liên hệ với bạn.

  • Nơi mua hàng?

    Dễ dàng tìm nhà phân phối Schneider Electric gần bạn nhất.

  • Trung tâm Hỗ trợ

    Tìm sự hỗ trợ cho mọi nhu cầu của bạn tại một nơi.

  • Tài liệu về Sản phẩm
  • Tải xuống phần mềm
  • Công cụ chọn Sản phẩm
  • Thay thế và thay đổi sản phẩm
  • Trung tâm Hỗ trợ
  • Tìm Văn phòng của chúng tôi
  • Nhận báo giá
  • Tìm Nhà Phân phối
  • Cơ hội nghề nghiệp
  • Hồ sơ doanh nghiệp
  • Báo cáo hành vi sai trái
  • Khả năng truy cập
  • Phòng tin tức
  • Nhà đầu tư
  • EcoStruxure
  • Tìm việc
  • Blog
  • Chính sách bảo mật
  • Thông báo về Cookie
  • Điều khoản sử dụng
  • Change your cookie settings