APUE Learning Example Source Code
guowenxue
2019-06-26 157be0b0d4c7d4809cfcafc76235cc18388378c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<oaf_info>
    <oaf_server iid="OAFIID:CurrentCostMQTT_Factory" 
            type="exe" 
            location="CurrentCostMQTT.py">
 
        <oaf_attribute name="repo_ids" type="stringv">
            <item value="IDL:Bonobo/GenericFactory:1.0"/>
            <item value="IDL:Bonobo/Unknown:1.0"/>
        </oaf_attribute>
        <oaf_attribute name="name" type="string" value="CurrentCost MQTT display"/>
        <oaf_attribute name="description" type="string" value="Display energy usage published over MQTT"/>
    </oaf_server>
 
    <oaf_server iid="OAFIID:CurrentCostMQTT" 
            type="factory" 
            location="OAFIID:CurrentCostMQTT_Factory"> 
 
        <oaf_attribute name="repo_ids" type="stringv">
            <item value="IDL:GNOME/Vertigo/PanelAppletShell:1.0"/>
            <item value="IDL:Bonobo/Control:1.0"/>
            <item value="IDL:Bonobo/Unknown:1.0"/>
        </oaf_attribute>
        <oaf_attribute name="name" type="string" value="CurrentCost MQTT display"/>
        <oaf_attribute name="description" type="string" value="Display energy usage published over MQTT"/>
        <oaf_attribute name="panel:category" type="string" value="Utility"/>
        <oaf_attribute name="panel:icon" type="string" value="currentcost.png"/>
    </oaf_server>
</oaf_info>