Esempio n. 1
0
 /// <summary>
 /// Create Tag custom Type Class
 /// </summary>
 /// <param name="name">The textual name of the tag to access. The name is anything allowed by the protocol.
 /// E.g. myDataStruct.rotationTimer.ACC, myDINTArray[42] etc.</param>
 /// <typeparam name="TCustomType">Class to create</typeparam>
 /// <returns></returns>
 public Tag <TCustomType> CreateTagType <TCustomType>(string name)
 {
     return(CreateTagType <TCustomType>(name, TagSize.GetSizeObject(TagHelper.CreateObject <TCustomType>(1))));
 }