User Tools

Site Tools


en:lensorder:version010604:complextypes:branding

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:lensorder:version010604:complextypes:branding [2017/03/08 14:42] – external edit 127.0.0.1en:lensorder:version010604:complextypes:branding [2017/06/19 12:38] (current) sebastianraring
Line 1: Line 1:
 +====== branding (Branding) ======
  
 +[[en:lensorder:version010604:structure|b2boptic]] -> [[en:lensorder:version010604:structure|items]] -> [[en:lensorder:version010604:complextypes:item|item]] -> [[en:lensorder:version010604:complextypes:pair|pair]] -> [[en:lensorder:version010604:complextypes:lens|lens]] -> branding
 +
 +
 +{{:en:lensorder:version010604:images:branding.png?nolink|}}
 +
 +^ // [[en:lensorder:version010604:simpletypes:brandingorder|brandingOrder]] // ^^
 +^ type | [[en:lensorder:version010604:simpletypes:brandingorder|BrandingOrder]] |
 +^ use | optional |
 +^ description |  |
 +
 +
 +^ position ^^
 +^ occurs | ISNEWLO010602 0..1 |
 +^ description | |
 +
 +^ x (element of position) ^^
 +^ type | float |
 +^ unity | mm |
 +^ occurs | 1 (not together with angle and radius) |
 +^ description |  |
 +
 +^ y (element of position) ^^
 +^ type | float |
 +^ unity | mm |
 +^ occurs | 1 (not together with angle and radius) |
 +^ description |  |
 +
 +^ angle (element of position) ^^
 +^ type | integer |
 +^ unity | see attribute dimension |
 +^ occurs | 1 (not together with x and y) |
 +^ description |  |
 +
 +^ // [[en:lensorder:version010604:simpletypes:angledimension:branding|dimension]] (attribute of angle) // ^^
 +^ type | [[en:lensorder:version010604:simpletypes:angledimension|AngleDimension]] |
 +^ use | optional |
 +^ default | DEG |
 +^ description |  |
 +
 +^ radius (element of position) ^^
 +^ type | float |
 +^ unity | mm |
 +^ occurs | 1 (not together with x and y) |
 +^ description |  |
 +
 +
 +<code xml>
 +<xs:complexType name="Branding">
 +  <xs:sequence>
 +    <xs:element name="position">
 +      <xs:complexType>
 +        <xs:choice>
 +          <xs:sequence>
 +            <xs:element name="x" type="xs:float"/>
 +            <xs:element name="y" type="xs:float"/>
 +          </xs:sequence>
 +          <xs:sequence>
 +            <xs:element name="angle">
 +              <xs:complexType>
 +                <xs:simpleContent>
 +                  <xs:extension base="xs:float">
 +                    <xs:attribute name="dimension" type="AngleDimension" use="optional" default="DEG"/>
 +                  </xs:extension>
 +                </xs:simpleContent>
 +              </xs:complexType>
 +            </xs:element>
 +            <xs:element name="radius" type="xs:float" minOccurs="0"/>
 +          </xs:sequence>
 +        </xs:choice>
 +      </xs:complexType>
 +    </xs:element>
 +  </xs:sequence>
 +  <xs:attribute name="brandingOrder" type="BrandingOrder" use="optional" default="MANUFACTURERDEFAULT"/>
 +</xs:complexType>
 +</code>