public int AddLayerStruct <T>(string layerName, OeipLayerType layerType, T t) where T : struct { int layerIndex = OeipHelper.addPiepLayer(PipeId, layerName, layerType, IntPtr.Zero); UpdateParametStruct(layerIndex, t); return(layerIndex); }
public int AddLayer(string layerName, OeipLayerType layerType) { return(OeipHelper.addPiepLayer(PipeId, layerName, layerType, IntPtr.Zero)); }