public CCOLElement CreateElement(string name, int setting, CCOLElementTimeTypeEnum timeType, CCOLGeneratorCodeStringSettingModel element, params string [] elementnames)
        {
            var t = TranslateType(element.Type);

            return(new CCOLElement(name, setting, timeType, t,
                                   GetElementDescription(element.Description, t, elementnames)));
        }
Exemple #2
0
 public CCOLElement(string naam, int instelling, CCOLElementTimeTypeEnum ttype, CCOLElementTypeEnum type, string description = null)
 {
     Dummy      = false;
     Naam       = naam;
     Define     = CCOLGeneratorSettingsProvider.Default.GetPrefix(type) + naam;
     Instelling = instelling;
     TType      = ttype;
     Type       = type;
     Commentaar = description;
 }
 public CCOLElement CreateElement(string name, int setting, CCOLElementTimeTypeEnum timeType, CCOLElementTypeEnum type, string description)
 {
     return(new CCOLElement(name, setting, timeType, type, GetElementDescription(description, type)));
 }
 internal CCOLElement CreateElement(string v, int dimmingNiveauPeriodeNietDimmen, CCOLElementTimeTypeEnum none, object prmnivndim, string faseCyclus)
 {
     throw new NotImplementedException();
 }