public object ConvertTo(LogixTypes logixDataType, object inputValue) { switch (logixDataType) { default: break; } return(null); }
public object ConvertTo(LogixTypes LogixDataType, object InputValue) { switch (LogixDataType) { default: break; } return null; }
private static void PrintStructure(LogixUDT structureTag) { List <string> memberNames = structureTag.MemberNames; Console.WriteLine("myUDT1 is a " + structureTag.TypeName + " with members:"); foreach (string mName in memberNames) { LogixTypes memberType = structureTag.GetTypeForMember(mName); Console.WriteLine("\t" + mName + " : " + memberType.ToString() + " - Value: " + structureTag[mName].ToString()); } }