Difference between revisions of "Template:DeviceTypeName"

From RadiWiki
Jump to: navigation, search
Line 1: Line 1:
{{#ifeq: {{#expr:{{{1|0}}}}}|1|Signal Generator}}{{#ifeq: {{#expr:{{{1|0}}}}}|2|Amplifier}}{{#ifeq: {{#expr:{{{1|0}}}}}|4|Coupler}}{{#ifeq: {{#expr:{{{1|0}}}}}|8|Power Meter}}{{#ifeq: {{#expr:{{{1|0}}}}}|16|Antenna}}{{#ifeq: {{#expr:{{{1|0}}}}}|32|Field Sensor}}{{#ifeq: {{#expr:{{{1|0}}}}}|64|AD Convertor}}{{#ifeq: {{#expr:{{{1|0}}}}}|128|Injection Clamp}}{{#ifeq: {{#expr:{{{1|0}}}}}|256|Current Sensor}}{{#ifeq: {{#expr:{{{1|0}}}}}|512|Spectrum Analyzer}}{{#ifeq: {{#expr:{{{1|0}}}}}|1024|LISN}}{{#ifeq: {{#expr:{{{1|0}}}}}|2048|Calibration Jig}}{{#ifeq: {{#expr:{{{1|0}}}}}|4096|Turn Table}}{{#ifeq: {{#expr:{{{1|0}}}}}|32768|Pre-Amplifier}}{{#ifeq: {{#expr:{{{1|0}}}}}|32768|Pre-Amplifier}}
+
{{#switch:{{{1|0}}}
 
+
|1=Signal Generator
 
+
|2=Amplifier
 +
|4=Coupler
 +
|8=Power Meter
 +
|16=Antenna
 +
|32=Field Sensor
 +
|64=AD Convertor
 +
|128=Injection Clamp
 +
|256=Current Sensor
 +
|512=Spectrum Analyser
 +
|1024=LISN
 +
|2048=Calibration Jig
 +
|4096=Turn Table
 +
|32768=Pre-Amplifier
 +
|65536=Climat Chamber
 +
|131072=Antenna Tower
 +
|2097152=Absorbing Clamp
 +
|4194304=Clamp Mover
 +
|33554432=Oscilloscope
 +
|8388608=Switch Matrix
 +
|268435456=Network Analyser
 +
}}
 
<noinclude>
 
<noinclude>
 
Converts the numeric value of a SupportedDeviceType into a nice name
 
Converts the numeric value of a SupportedDeviceType into a nice name

Revision as of 14:59, 20 June 2007


Converts the numeric value of a SupportedDeviceType into a nice name

Only the basic values are detected, bit-combinations will not be splitted into several names!