@@ -954,8 +954,8 @@ private ISO15745ProfileContainer Convert(EDSsharp eds, string fileName, bool dev
954954 body_device . DeviceIdentity = new DeviceIdentity ( ) ;
955955 body_device . DeviceIdentity . vendorName = new vendorName { Value = eds . di . VendorName } ;
956956 body_device . DeviceIdentity . vendorID = new vendorID { Value = eds . di . VendorNumber . ToHexString ( ) } ;
957- body_device . DeviceIdentity . revisionNumber = new revisionNumber { Value = eds . di . RevisionNumber } ;
958- body_device . DeviceIdentity . orderCode = new orderCode { Value = eds . di . OrderCode } ;
957+ body_device . DeviceIdentity . specificationRevision = new specificationRevision { Value = eds . di . RevisionNumber . ToString ( ) } ;
958+ body_device . DeviceIdentity . orderNumber = new orderNumber [ ] { new orderNumber { Value = eds . di . OrderCode } } ;
959959 body_device . DeviceIdentity . productName = new productName { Value = eds . di . ProductName } ;
960960 body_device . DeviceIdentity . productID = new productID { Value = eds . di . ProductNumber . ToHexString ( ) } ;
961961 if ( eds . fi . Description != null && eds . fi . Description != "" )
@@ -1257,10 +1257,10 @@ private EDSsharp Convert(ISO15745ProfileContainer container)
12571257 eds . di . VendorName = body_device . DeviceIdentity . vendorName . Value ?? "" ;
12581258 if ( body_device . DeviceIdentity . vendorID != null )
12591259 eds . di . VendorNumber = EDSsharp . U32Parse ( body_device . DeviceIdentity . vendorID . Value ?? "0" ) ;
1260- if ( body_device . DeviceIdentity . revisionNumber != null )
1261- eds . di . RevisionNumber = body_device . DeviceIdentity . revisionNumber . Value ;
1262- if ( body_device . DeviceIdentity . orderCode != null )
1263- eds . di . OrderCode = body_device . DeviceIdentity . orderCode . Value ?? "" ;
1260+ if ( body_device . DeviceIdentity . specificationRevision != null )
1261+ eds . di . RevisionNumber = EDSsharp . U32Parse ( body_device . DeviceIdentity . specificationRevision . Value ?? "0" ) ;
1262+ if ( body_device . DeviceIdentity . orderNumber != null )
1263+ eds . di . OrderCode = body_device . DeviceIdentity . orderNumber [ 0 ] . Value ?? "" ;
12641264 if ( body_device . DeviceIdentity . productName != null )
12651265 eds . di . ProductName = body_device . DeviceIdentity . productName . Value ?? "" ;
12661266 if ( body_device . DeviceIdentity . productID != null )
0 commit comments