public void CreateColorOutput(string Name, TSliceMode SliceMode, TPinVisibility Visibility, out IColorOut Pin) { Pin = new TColorPin(this, Name, TPinDirection.Output, null, SliceMode, Visibility); AddPin(Pin as TBasePin); }
public void CreateColorConfig(string Name, TSliceMode SliceMode, TPinVisibility Visibility, out IColorConfig Pin) { Pin = new TColorPin(this, Name, TPinDirection.Configuration, new TOnConfigurate(ConfigurateCB), SliceMode, Visibility); AddPin(Pin as TBasePin); }