Ejemplo n.º 1
0
        /// <summary>
        /// 获取该分站下的交叉控制
        /// </summary>
        /// <param name="fzh">分站地址</param>
        /// <returns></returns>
        public static DataTable Getfzjckz(int fzh)
        {
            DataTable dt = null;

            try
            {
                if (StaticClass.ServerConet)
                {
                    var request = new GetFZJXControlRequest()
                    {
                        Fzh = fzh
                    };
                    var response = realMessageService.GetFZJXControl(request);
                    if (response.Data != null)
                    {
                        dt = response.Data;
                    }
                }
            }
            catch
            {
                OprFuction.SetServerConct();
            }
            return(dt);
        }
Ejemplo n.º 2
0
        public BasicResponse <DataTable> GetFZJXControl(GetFZJXControlRequest realMessageRequest)
        {
            var responsestr = HttpClientHelper.Post(Webapi + "/v1/realmessage/getfzjxcontrol?token=" + Token, JSONHelper.ToJSONString(realMessageRequest));

            return(JSONHelper.ParseJSONString <BasicResponse <DataTable> >(responsestr));
        }
 public BasicResponse <DataTable> GetFZJXControl(GetFZJXControlRequest realMessageRequest)
 {
     return(realMessageService.GetFZJXControl(realMessageRequest));
 }