Beispiel #1
0
        /// <summary>
        /// 返回图形测点列表
        /// </summary>
        /// <returns></returns>
        private DataTable getAllPointInMap()
        {
            GraphicsbaseinfInfo GraphicsbaseinfDTO_ = new GraphicsbaseinfInfo();
            DataTable           pointsdt            = new DataTable();

            try
            {
                GraphicsbaseinfDTO_ = getGraphicDto(Program.main.GraphOpt.GraphNameNow);
                //先删除图形原有的绑定测点信息

                var getAllPointInMapRequest = new GetAllPointInMapRequest()
                {
                    GraphId = GraphicsbaseinfDTO_.GraphId
                };
                var getAllPointInMapResponse = graphicsbaseinfService.GetAllPointInMap(getAllPointInMapRequest);
                pointsdt = getAllPointInMapResponse.Data;
            }
            catch (Exception ex)
            {
                LogHelper.Error("RefPointSsz-getAllPointInMap" + ex.Message + ex.StackTrace);
            }
            return(pointsdt);
        }
Beispiel #2
0
 public BasicResponse <DataTable> GetAllPointInMap(GetAllPointInMapRequest graphicsbaseinfrequest)
 {
     return(graphicsbaseinfService.GetAllPointInMap(graphicsbaseinfrequest));
 }