Exemplo n.º 1
0
 /// <summary>
 /// 根据品种标识返回交易规则_交易方向_交易单位_交易量(最小交易单位)
 /// </summary>
 /// <param name="breedClassID">品种标识</param>
 /// <returns></returns>
 public List <Entity.XH_MinVolumeOfBusiness> GetMinVolumeOfBusinessByBreedClassID(int breedClassID)
 {
     try
     {
         LogHelper.WriteDebug("Debug-8403根据品种标识返回交易规则_交易方向_交易单位_交易量(最小交易单位)方法名称:GetMinVolumeOfBusinessByBreedClassID(int breedClassID)参数是:" + breedClassID + "时间是:" + DateTime.Now);
         XH_MinVolumeOfBusinessBLL xH_MinVolumeOfBusinessBLL = new XH_MinVolumeOfBusinessBLL();
         return(xH_MinVolumeOfBusinessBLL.GetListArray(string.Format("BreedClassID={0}", breedClassID)));
     }
     catch (Exception ex)
     {
         string      errCode = "GL-8403";
         string      errMsg  = "根据品种标识返回交易规则_交易方向_交易单位_交易量(最小交易单位)失败";
         VTException vte     = new VTException(errCode, errMsg, ex);
         LogHelper.WriteError(vte.ToString(), vte.InnerException);
         return(null);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// 获取所有的交易规则_交易方向_交易单位_交易量(最小交易单位)
 /// </summary>
 /// <returns></returns>
 public List <Entity.XH_MinVolumeOfBusiness> GetAllMinVolumeOfBusiness()
 {
     try
     {
         LogHelper.WriteDebug("Debug-8402获取所有的交易规则_交易方向_交易单位_交易量(最小交易单位)方法名称:GetAllMinVolumeOfBusiness()" + DateTime.Now);
         XH_MinVolumeOfBusinessBLL xH_MinVolumeOfBusinessBLL = new XH_MinVolumeOfBusinessBLL();
         return(xH_MinVolumeOfBusinessBLL.GetListArray(string.Empty));
     }
     catch (Exception ex)
     {
         string      errCode = "GL-8402";
         string      errMsg  = "获取所有的交易规则_交易方向_交易单位_交易量(最小交易单位)失败";
         VTException vte     = new VTException(errCode, errMsg, ex);
         LogHelper.WriteError(vte.ToString(), vte.InnerException);
         return(null);
     }
 }
Exemplo n.º 3
0
        /// <summary>
        /// 根据品种标识返回交易规则_交易方向_交易单位_交易量(最小交易单位)
        /// </summary>
        /// <param name="breedClassID">品种标识</param>
        /// <returns></returns>
        public static List <Entity.XH_MinVolumeOfBusiness> GetXHMinVolumeOfBusByBreedClassID(int breedClassID)
        {
            XH_MinVolumeOfBusinessBLL xH_MinVolumeOfBusinessBLL = new XH_MinVolumeOfBusinessBLL();

            return(xH_MinVolumeOfBusinessBLL.GetListArray(string.Format("BreedClassID={0}", breedClassID)));
        }