public void CreateEnumOutput(string Name, TSliceMode SliceMode, TPinVisibility Visibility, out IEnumOut Pin) { Pin = new TEnumPin(this, Name, TPinDirection.Output, null, SliceMode, Visibility); AddPin(Pin as TBasePin); }
public void CreateEnumConfig(string Name, TSliceMode SliceMode, TPinVisibility Visibility, out IEnumConfig Pin) { Pin = new TEnumPin(this, Name, TPinDirection.Configuration, new TOnConfigurate(ConfigurateCB), SliceMode, Visibility); AddPin(Pin as TBasePin); }