admin-shell / aasx-package-explorer

C# based viewer / editor for the Asset Administration Shell
39 stars 9 forks source link

CMD example of a template strings to generate identifiers #30

Closed mySCHOTT closed 3 years ago

mySCHOTT commented 4 years ago

################### greater equal build191121 ###################

CMD parameter -id-aas -id-sm-templateidentifiers. -id-sm-instanceidentifiers. -id-cd

(1) The following example does not generate an unique identifier for the placeholder[NNNNNNNNNNNNNNNNNNNN]: AasxPackageExplorer.exe -id-aas smart.schott.com/demo/aas/1/1/NNNNNNNNNNNNNNNNNNNN

(2) Expected result, for example: smart.schott.com/demo/aas/1/1/943887346456466631276369762

(3) What is the meaning of the following placeholders exactly? [N] = numeric [0...9] [A] = characters [Aa....Zz] [X] = Alphanumeric [Aa...Zz...0...9]

mySCHOTT commented 4 years ago

Explanation is at https://github.com/admin-shell/aasx-package-explorer/blob/master/help/index.md:

<template> = Template string may contain an arbitrary number of 'D', 'X', 'A'characters and orthers. The former will be mapped to 1..n digit of an generated unique id in decimal, hexadecimal or alphanumerical form.

Example: AasxPackageExplorer.exe -id-aas smart.schott.com/demo/aas/1/1/DDDD_AAAA_XXXX

Result - generate an ID for an AAS (based on the given rule now): smart.schott.com/demo/aas/1/1/7563_OJNN_1ADE

mySCHOTT commented 4 years ago

Closed.