コード例 #1
0
 public object ConvertTo(LogixTypes logixDataType, object inputValue)
 {
     switch (logixDataType)
     {
     default:
         break;
     }
     return(null);
 }
コード例 #2
0
 public object ConvertTo(LogixTypes LogixDataType, object InputValue)
 {
     switch (LogixDataType)
     {
         default:
             break;
     }
     return null;
 }
コード例 #3
0
        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());
            }
        }