📄 test.tbl
字号:
<?xml version="1.0" encoding="gb2312"?>
<vg version="452" gridsize="10" range="0,0,1024,712" backcolor="$FFFFFF" frontcolor="$0" pattern="1">
<page name="Page" bounds="0,0,827,1169" visible="false" margin="100,100,100,100" paperwidth="2100" paperheight="2969"/>
<sheet name="Sheet1" bounds="1,8.5,432.5,412.5">
<elliment name="仪表盘1" type="仪表盘" bounds="1,8.5,329,329.5" origin="165,169" id="101" datatype="2" label="Text1" value="0">
<elliment name="Elliment1" bounds="1,8.5,329,329.5" origin="165,169">
<shape name="Arc1" type="Arc" bounds="15,29.5,315,329.5" origin="165,179.5" endangle="0" startangle="313.575" backcolor="$FF" pattern="1"/>
<shape name="Arc2" type="Arc" bounds="15,29.5,315,329.5" origin="165,179.5" endangle="90" startangle="0" backcolor="$FF00" pattern="1"/>
<shape name="Arc3" type="Arc" bounds="15,29.5,315,329.5" origin="165,179.5" endangle="159.574" startangle="90" backcolor="$FFFF00" pattern="1"/>
<shape name="Arc4" type="Arc" bounds="15,29.5,315,329.5" origin="165,179.5" endangle="223.315" startangle="159.829" backcolor="$FF0000" pattern="1"/>
<elliment name="Elliment1" bounds="15.604,29.32,315.604,287.577038" origin="165.547582,158.448267">
<line name="Line54" origin="164.38636,161.909504" angle="319" linewidth="2">
<points>
276.179221,183.305976,6
325.115736,188.700704,2
</points>
</line>
<line name="Line4" origin="164.38636,161.909504" angle="319" linewidth="2">
<points>
167.308314,273.756028,6
162.592577,323.543099,2
</points>
</line>
<line name="Line5" origin="164.38636,161.909504" angle="319">
<points>
157.978205,272.432557,6
148.597938,321.556657,2
</points>
</line>
<line name="Line6" origin="164.38636,161.909504" angle="319">
<points>
148.815135,270.232913,6
134.853599,318.258011,2
</points>
</line>
<line name="Line7" origin="164.38636,161.909504" angle="319">
<points>
139.901461,267.182083,6
121.482579,313.681907,2
</points>
</line>
<line name="Line8" origin="164.38636,161.909504" angle="319">
<points>
131.313636,263.306059,6
108.600896,307.867874,2
</points>
</line>
<line name="Line9" origin="164.38636,161.909504" angle="319" linewidth="2">
<points>
123.129563,258.63883,6
96.324564,300.8671,2
</points>
</line>
<line name="Line10" origin="164.38636,161.909504" angle="319">
<points>
115.421931,253.222391,6
84.762597,292.742296,2
</points>
</line>
<line name="Line11" origin="164.38636,161.909504" angle="319">
<points>
108.256536,247.104736,6
74.015001,283.565494,2
</points>
</line>
<line name="Line12" origin="164.38636,161.909504" angle="319">
<points>
101.698589,240.337863,6
64.178783,273.415845,2
</points>
</line>
<line name="Line13" origin="164.38636,161.909504" angle="319">
<points>
95.808993,232.986769,6
55.343945,262.388375,2
</points>
</line>
<line name="Line14" origin="164.38636,161.909504" angle="319" linewidth="2">
<points>
90.637605,225.111456,6
47.586485,250.575712,2
</points>
</line>
<line name="Line15" origin="164.38636,161.909504" angle="319">
<points>
86.229465,216.784927,6
40.974398,238.085814,2
</points>
</line>
<line name="Line16" origin="164.38636,161.909504" angle="319">
<points>
82.624002,208.080186,6
35.566676,225.028634,2
</points>
</line>
<line name="Line17" origin="164.38636,161.909504" angle="319">
<points>
79.856211,199.07424,6
31.414308,211.519813,2
</points>
</line>
<line name="Line18" origin="164.38636,161.909504" angle="319">
<points>
77.946784,189.846098,6
28.55028,197.678328,2
</points>
</line>
<line name="Line19" origin="164.38636,161.909504" angle="319" linewidth="2">
<points>
76.914232,180.481769,6
27.001573,183.631138,2
</points>
</line>
<line name="Line20" origin="164.38636,161.909504" angle="319">
<points>
76.767954,171.059803,6
26.782168,169.498356,2
</points>
</line>
<line name="Line21" origin="164.38636,161.909504" angle="319">
<points>
77.508276,161.666262,6
27.893041,155.407858,2
</points>
</line>
<line name="Line22" origin="164.38636,161.909504" angle="319">
<points>
79.129463,152.38195,6
30.325167,141.482141,2
</points>
</line>
<line name="Line23" origin="164.38636,161.909504" angle="319">
<points>
81.619685,143.292696,6
34.059519,127.848227,2
</points>
</line>
<line name="Line24" origin="164.38636,161.909504" angle="319" linewidth="2">
<points>
84.952955,134.479185,6
39.059066,114.627144,2
</points>
</line>
<line name="Line25" origin="164.38636,161.909504" angle="319">
<points>
89.100032,126.016324,6
45.279777,101.932918,2
</points>
</line>
<line name="Line26" origin="164.38636,161.909504" angle="319">
<points>
94.023288,117.979582,6
52.665619,89.878578,2
</points>
</line>
<line name="Line27" origin="164.38636,161.909504" angle="319">
<points>
99.682547,110.44333,6
61.154558,78.574154,2
</points>
</line>
<line name="Line28" origin="164.38636,161.909504" angle="319">
<points>
106.026892,103.474151,6
70.670558,68.119676,2
</points>
</line>
<line name="Line29" origin="164.38636,161.909504" angle="319" linewidth="2">
<points>
112.996436,97.13014,6
81.125586,58.604175,2
</points>
</line>
<line name="Line30" origin="164.38636,161.909504" angle="319">
<points>
120.534085,91.471178,6
92.431604,50.115682,2
</points>
</line>
<line name="Line31" origin="164.38636,161.909504" angle="319">
<points>
128.570249,86.548181,6
104.485577,42.730229,2
</points>
</line>
<line name="Line32" origin="164.38636,161.909504" angle="319">
<points>
137.032555,82.400322,6
117.17947,36.508845,2
</points>
</line>
<line name="Line33" origin="164.38636,161.909504" angle="319">
<points>
145.849529,79.068226,6
130.404248,31.51056,2
</points>
</line>
<line name="Line34" origin="164.38636,161.909504" angle="319" linewidth="2">
<points>
154.937261,76.579136,6
144.036878,27.777405,2
</points>
</line>
<line name="Line35" origin="164.38636,161.909504" angle="319">
<points>
164.222061,74.958034,6
157.963328,25.345406,2
</points>
</line>
<line name="Line36" origin="164.38636,161.909504" angle="319">
<points>
173.615096,74.21575,6
172.053566,24.232591,2
</points>
</line>
<line name="Line37" origin="164.38636,161.909504" angle="319">
<points>
183.038557,74.36302,6
186.18809,24.452985,2
</points>
</line>
<line name="Line38" origin="164.38636,161.909504" angle="319">
<points>
192.403378,75.395518,6
200.236019,26.00161,2
</points>
</line>
<line name="Line39" origin="164.38636,161.909504" angle="319" linewidth="2">
<points>
201.632005,77.303844,6
214.078232,28.864488,2
</points>
</line>
<line name="Line40" origin="164.38636,161.909504" angle="319">
<points>
210.638425,80.07249,6
227.587763,33.017637,2
</points>
</line>
<line name="Line41" origin="164.38636,161.909504" angle="319">
<points>
219.343623,83.677764,6
240.645629,38.425075,2
</points>
</line>
<line name="Line42" origin="164.38636,161.909504" angle="319">
<points>
227.67059,88.085671,6
253.136184,45.036814,2
</points>
</line>
<line name="Line43" origin="164.38636,161.909504" angle="319">
<points>
235.547317,93.256788,6
264.950468,52.793866,2
</points>
</line>
<line name="Line44" origin="164.38636,161.909504" angle="319" linewidth="2">
<points>
242.897796,99.147074,6
275.977517,61.62924,2
</points>
</line>
<line name="Line45" origin="164.38636,161.909504" angle="319">
<points>
249.665026,105.702677,6
286.1277,71.462941,2
</points>
</line>
<line name="Line46" origin="164.38636,161.909504" angle="319">
<points>
255.783003,112.866695,6
295.304984,82.208972,2
</points>
</line>
<line name="Line47" origin="164.38636,161.909504" angle="319">
<points>
261.199726,120.575922,6
303.430215,93.772332,2
</points>
</line>
<line name="Line48" origin="164.38636,161.909504" angle="319">
<points>
265.8682,128.759565,6
310.432357,106.048018,2
</points>
</line>
<line name="Line49" origin="164.38636,161.909504" angle="319" linewidth="2">
<points>
269.743428,137.346939,6
316.245696,118.929024,2
</points>
</line>
<line name="Line50" origin="164.38636,161.909504" angle="319">
<points>
272.794418,146.261144,6
320.822041,132.300342,2
</points>
</line>
<line name="Line51" origin="164.38636,161.909504" angle="319">
<points>
274.992178,155.423733,6
324.118859,146.043959,2
</points>
</line>
<line name="Line52" origin="164.38636,161.909504" angle="319">
<points>
276.317719,164.752351,6
326.107407,160.036861,2
</points>
</line>
<line name="Line53" origin="164.38636,161.909504" angle="319">
<points>
276.761055,174.164382,6
326.771812,174.155031,2
</points>
</line>
</elliment>
<shape name="Circle1" type="Circle" bounds="33,47.5,297,311.5" origin="115,129.5" backcolor="$808080" pattern="1"/>
<text name="Text1" bounds="42,279.5,54,299.5" origin="48,289.5" autosize="true" border="$0" fontname="宋体" fontsize="16" textalign="0" text="0"/>
<text name="Text2" bounds="6,212.5,18,232.5" origin="12,222.5" autosize="true" border="$0" fontname="宋体" fontsize="16" textalign="0" text="1"/>
<text name="Text3" bounds="1,141.5,13,161.5" origin="7,151.5" autosize="true" border="$0" fontname="宋体" fontsize="16" textalign="0" text="2"/>
<text name="Text4" bounds="28,72.5,40,92.5" origin="34,82.5" autosize="true" border="$0" fontname="宋体" fontsize="16" textalign="0" text="3"/>
<text name="Text5" bounds="87,24.5,99,44.5" origin="93,34.5" autosize="true" border="$0" fontname="宋体" fontsize="16" textalign="0" text="4"/>
<text name="Text6" bounds="163,8.5,175,28.5" origin="169,18.5" autosize="true" border="$0" fontname="宋体" fontsize="16" textalign="0" text="5"/>
<text name="Text7" bounds="234,28.5,246,48.5" origin="240,38.5" autosize="true" border="$0" fontname="宋体" fontsize="16" textalign="0" text="6"/>
<text name="Text8" bounds="292,80.5,304,100.5" origin="298,90.5" autosize="true" border="$0" fontname="宋体" fontsize="16" textalign="0" text="7"/>
<text name="Text9" bounds="317,148.5,329,168.5" origin="323,158.5" autosize="true" border="$0" fontname="宋体" fontsize="16" textalign="0" text="8"/>
<text name="Text10" bounds="310,221.5,322,241.5" origin="316,231.5" autosize="true" border="$0" fontname="宋体" fontsize="16" textalign="0" text="9"/>
<text name="Text11" bounds="269,282.5,289,302.5" origin="275,292.5" autosize="true" border="$0" fontname="宋体" fontsize="16" textalign="0" text="10"/>
</elliment>
<shape name="Circle2" type="Circle" bounds="160,174.5,170,184.5" origin="174,188.5" backcolor="$0" pattern="1"/>
<elliment name="Elliment2" bounds="74,179.468,165.038217,265.518847" origin="165,179.5">
<line name="Line4" origin="119.5,222.5" linetype="0" backcolor="$800000" pattern="1">
<points>
74,265.5,6
90,225.5,2
165,179.5,2
117,252.5,3
</points>
</line>
<line name="Line7" origin="119.528608,222.493576" linewidth="2" linecolor="$C0C0C0" backcolor="$808080">
<points>
165.038217,179.468,6
117.013,252.461847,2
74.019,265.518847,2
</points>
</line>
<line name="Line5" origin="96,244.5" backcolor="$FF" pattern="1">
<points>
83,257.5,6
94,231.5,2
109,248.5,3
</points>
</line>
<line name="Line6" origin="118.671694,222.410381" linewidth="3">
<points>
74.019,265.328,6
89.943,225.455,2
164.975,179.468,2
</points>
</line>
</elliment>
<text name="Text1" bounds="94,152.5,242,174.5" origin="94,152.5" autosize="true" border="$0" fontname="宋体" fontsize="16" textalign="0" text="中国电力总公司监制"/>
<programe>
Private Function GetValue()
return FValue
End Function
Private Function Initialize(Sender)
FValue=0
End Function
Private Function SetValue(AValue)
if AValue >= 0 and AValue <= 100 then
FValue = AValue
Elliment2.Angle = -AValue * 2.7
end if
End Function
Property Value read GetValue write SetValue
</programe>
</elliment>
<elliment name="LED1" type="LED" bounds="36,329.5,276,412.5" origin="60,371" id="103" datatype="1" dignum="5" value="0">
<elliment name="元件1" bounds="36,329.5,84,412.5" origin="36,329.5" value="0">
<line name="折线1" origin="36,329.5" backcolor="$FF00" pattern="1">
<points>
42,336.5,6
36,342.5,2
36,364.5,2
42,370.5,2
48,364.5,2
48,342.5,2
42,336.5,2
</points>
</line>
<line name="折线2" origin="36,329.5" backcolor="$FF00" pattern="1">
<points>
42,371.5,6
36,377.5,2
36,399.5,2
42,405.5,2
48,399.5,2
48,377.5,2
42,371.5,2
</points>
</line>
<line name="折线3" origin="36,329.5" backcolor="$FF00" pattern="1">
<points>
78,336.5,6
72,342.5,2
72,364.5,2
78,370.5,2
84,364.5,2
84,342.5,2
78,336.5,2
</points>
</line>
<line name="折线4" origin="36,329.5" backcolor="$FF00" pattern="1">
<points>
78,371.5,6
72,377.5,2
72,399.5,2
78,405.5,2
84,399.5,2
84,377.5,2
78,371.5,2
</points>
</line>
<line name="折线5" origin="36,329.5" backcolor="$FF00" pattern="1">
<points>
43,335.5,6
49,329.5,2
71,329.5,2
77,335.5,2
71,341.5,2
49,341.5,2
43,335.5,2
</points>
</line>
<line name="折线6" origin="36,329.5" visible="false" backcolor="$FF00" pattern="1">
<points>
43,370.5,6
49,364.5,2
71,364.5,2
77,370.5,2
71,376.5,2
49,376.5,2
43,370.5,2
</points>
</line>
<line name="折线7" origin="36,329.5" backcolor="$FF00" pattern="1">
<points>
43,406.5,6
49,400.5,2
71,400.5,2
77,406.5,2
71,412.5,2
49,412.5,2
43,406.5,2
</points>
</line>
<group name="Group">
折线1
折线2
折线5
折线6
折线7
折线3
折线4
</group>
<programe>
Private Function GetValue()
return FValue
End Function
Private Function Initialize(Sender)
FValue=0
End Function
Public Function SetValue(AValue)
Group.Units[0].Visible = ( AValue = 0 or AValue = 4 or AValue = 5 or AValue = 6 or AValue = 8 or AValue = 9 )
Group.Units[1].Visible = ( AValue = 0 or AValue = 2 or AValue = 6 or AValue = 8 )
Group.Units[2].Visible = ( AValue = 0 or AValue = 2 or AValue = 3 or AValue = 5 or AValue = 6 or AValue = 7 or AValue = 8 or AValue = 9 )
Group.Units[3].Visible = ( AValue = 2 or AValue = 3 or AValue = 4 or AValue = 5 or AValue = 6 or AValue = 8 or AValue = 9 )
Group.Units[4].Visible = ( AValue = 0 or AValue = 2 or AValue = 3 or AValue = 5 or AValue = 6 or AValue = 8 or AValue = 9 )
Group.Units[5].Visible = ( AValue = 0 or AValue = 1 or AValue = 2 or AValue = 3 or AValue = 4 or AValue = 7 or AValue = 8 or AValue = 9 )
Group.Units[6].Visible = ( AValue = 0 or AValue = 1 or AValue = 3 or AValue = 4 or AValue = 5 or AValue = 6 or AValue = 7 or AValue = 8 or AValue = 9 )
FValue = AValue
End Function
Property Value read GetValue write SetValue
</programe>
</elliment>
<elliment name="元件2" bounds="84,329.5,132,412.5" origin="36,329.5" value="0">
<line name="折线1" origin="84,329.5" backcolor="$FF00" pattern="1">
<points>
90,336.5,6
84,342.5,2
84,364.5,2
90,370.5,2
96,364.5,2
96,342.5,2
90,336.5,2
</points>
</line>
<line name="折线2" origin="84,329.5" backcolor="$FF00" pattern="1">
<points>
90,371.5,6
84,377.5,2
84,399.5,2
90,405.5,2
96,399.5,2
96,377.5,2
90,371.5,2
</points>
</line>
<line name="折线3" origin="84,329.5" backcolor="$FF00" pattern="1">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -