Пример #1
0
 private static StateDef MakeStateDef(AbstractState m)
 {
     return(new StateDef()
     {
         ID = m.ID,
         Name = m.Name,
         Description = m.Name,
         Unit = m.Unit,
         Dimension = m.GetDimension(),
         Type = m.GetDataType(),
         DefaultValue = m.GetDefaultValue()
     });
 }