/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to xml/test_pywrap/units.xml

  • Committer: Vasilii Chernov
  • Date: 2016-02-05 11:33:48 UTC
  • mto: This revision was merged to the branch mainline in revision 353.
  • Revision ID: vchernov@inr.ru-20160205113348-l4gmpvm9df3n22sx
Add support for python script properties. Correct pcilib python wrapping. Update examples. Update cmakelists for work in shadow build mode.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 
3
  <unit name="C">
 
4
    <transform unit="K" transform="$value+273.15"/>
 
5
    <transform unit="F" transform="$value*(9./5)+32"/>
 
6
  </unit>
 
7
  <unit name="K">
 
8
    <transform unit="C" transform="$value-273.15"/>
 
9
    <transform unit="F" transform="($value-273.15)*(9./5)+32"/>
 
10
  </unit>
 
11
  <unit name="F">
 
12
    <transform unit="C" transform="($value-32)*5./9"/>
 
13
    <transform unit="K" transform="($value+273.15-32)*5./9"/>
 
14
  </unit>
 
15
  <unit name="s">
 
16
    <transform unit="ms" transform="$value*1000"/>
 
17
    <transform unit="us" transform="$value*1000000"/>
 
18
    <transform unit="ns" transform="$value*1000000000"/>
 
19
  </unit>
 
20
  <unit name="ms">
 
21
    <transform unit="s" transform="$value/1000"/>
 
22
    <transform unit="us" transform="$value*1000"/>
 
23
    <transform unit="ns" transform="$value*1000000"/>
 
24
  </unit>
 
25
  <unit name="us">
 
26
    <transform unit="s" transform="$value/1000000"/>
 
27
    <transform unit="ms" transform="$value/1000"/>
 
28
    <transform unit="ns" transform="$value*1000"/>
 
29
  </unit>
 
30
  <unit name="ns">
 
31
    <transform unit="s" transform="$value/1000000000"/>
 
32
    <transform unit="ms" transform="$value/1000000"/>
 
33
    <transform unit="us" transform="$value/1000"/>
 
34
  </unit>
 
35
</model>