/// <summary> /// 设置操作类型 /// </summary> /// <param name=""></param> /// <returns>操作类型</returns> public void SetOperType(EarthView.World.Spatial3D.COMMANDOPERTYPE operType) { EarthView_World_Spatial3D_CCmdDataBase_setOperType_void_CommandOperType(this.NativeObject, operType); }
/// <summary> /// 构造函数 /// </summary> /// <param name="layer">图层对象</param> /// <param name="id">id</param> /// <param name="operType">操作类型</param> /// <returns></returns> public CmdDataBase(EarthView.World.Spatial3D.Atlas.Iglobelayer ref_layer, uint id, EarthView.World.Spatial3D.COMMANDOPERTYPE operType) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valueref_layer = new BasePtr(ref_layer); list.Add("ref_layer", valueref_layer.PtrVal); BasePtr valueid = new BasePtr(id); list.Add("id", valueid.PtrVal); BasePtr valueoperType = new BasePtr(operType); list.Add("operType", valueoperType.PtrVal); Create("CCmdDataBase", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
private static extern void EarthView_World_Spatial3D_CCmdDataBase_setOperType_void_CommandOperType(IntPtr pNativeObject, EarthView.World.Spatial3D.COMMANDOPERTYPE operType);