Method for Displaying Measurement Data Using Analog Indicating Instruments
A measurement data and instrument display technology, applied in the field of measurement data display, can solve problems such as unintuitive display, error-prone, and difficult data comparison
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment
[0019] a) Determine the position of the center point (X0, Y0) according to the height (Height) and width (Width) of the window, X0=UserControl.Width / 2, Y0=UserControl.Height / 2;
[0020] b) Set the scale range (PMax (maximum indication value), PMin (minimum indication value)) according to the maximum and minimum values of the input measurement data, and determine the number of scales, the total number of scales = PBigNum (number of large scales) * PSmallNum ( Small scale number), calculate the interval between two adjacent scales DisNum=(PMax-PMin)\PBigNum;
[0021] c) Draw the outer frame of the dial according to the center point obtained in steps a) and b) and the size of the display window. In this embodiment, a circular outer frame is selected. When selecting the shape of the outer frame, each outer frame is given a Attribute value, 0, means circle, 1, means square, the assignment of this attribute is the enumeration variable Type_Num:
[0022] PublicEnumType_Num
[002...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More