private static void WriteInformationAddress(InformationAddress ia, StringBuilder builder)
 {
     builder.Append((int)ia.Type + d + ia.Description + d + ia.Address
                    + d + ia.DefaultValue + d + ia.GetMax() + d + ia.ValueCategories.Count + n);
     foreach (var p in ia.ValueCategories)
     {
         builder.Append(p.Key + d + p.Value + n);
     }
 }
Example #2
0
 public override int GetMax()
 {
     if (information == null)
     {
         return(fixedValue);
     }
     else
     {
         return(information.GetMax());
     }
 }