private void StoreMarkerProcess(string dataSourceObjGuid, string markerType, ref YWCHEntEx db) { var dataSourceType = db.SkyGetSJLYMDL(dataSourceObjGuid).SJLYLXID; var markerGuid = db.SkyFrmDzdx(dataSourceType, dataSourceObjGuid, markerType); //var pointList = new List<DMarker>(); //var sourcePoints = db.SkyGetGeoDataList(dataSourceObjGuid).GetObjData(0).Points; //for (var index = 0; index < sourcePoints.Count; index++) //{ // var thisPoint = sourcePoints.GetPoint(index); // pointList.Add(new DMarker // { // X = thisPoint.X, // Y = thisPoint.Y, // Z = thisPoint.Z, // DZDXLX = "KZD", // SD = 0 //SD? 深度桩号需要写嘛? // }); //} //db.SkyAddDzdxMXZB(SourceGuid, markerGuid, pointList); db.SkyAddConnect(1, Ts.Guid, markerGuid); }
/// <summary> /// 查询该数据来源的详细信息,调用GeoSmart面板。 /// </summary> public void QueryDetail(ref YWCHEntEx db) { db.SkyFrmSJLYEdit(db.SkyGetSJLYMDL(Guid).SJSJLYID, new List <DMarker>(), Guid); }