#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2019 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Detail: https://github.com/JeffreySu/WeiXinMPSDK/blob/master/license.md ----------------------------------------------------------------*/ #endregion Apache License Version 2.0 /*---------------------------------------------------------------- Copyright (C) 2019 Senparc 文件名:Semantic_StockResult.cs 文件功能描述:语意理解接口股票服务(stock)返回信息 创建标识:Senparc - 20150211 修改标识:Senparc - 20150303 修改描述:整理接口 ----------------------------------------------------------------*/ using System.Collections.Generic; namespace Senparc.Weixin.MP.AdvancedAPIs.Semantic { /// /// 股票服务(stock) /// 注:1、币种单位同上市所在地;2、如果用户输入的时间是未来的时间,那么结果展示的是当前时间的信息。 /// public class Semantic_StockResult : BaseSemanticResultJson { public Semantic_Stock semantic { get; set; } } public class Semantic_Stock : BaseSemanticIntent { public Semantic_Details_Stock details { get; set; } public List result { get; set; } } public class Semantic_Details_Stock { /// /// 股票名称 /// public string name { get; set; } /// /// 标准股票代码 /// public string code { get; set; } /// /// 市场:sz,sh,hk,us /// public string category { get; set; } /// /// 时间 /// public Semantic_DateTime datetime { get; set; } } public class Semantic_Stock_Result { /// /// 股票代码 /// public string cd { get; set; } /// /// 当前价 /// public string np { get; set; } /// /// 涨幅 /// public string ap { get; set; } /// /// 涨幅比例 /// public string apn { get; set; } /// /// 最高价 /// public string tp_max { get; set; } /// /// 最低价 /// public string tp_min { get; set; } /// /// 成交量(单位:万) /// public string dn { get; set; } /// /// 成交额(单位:亿) /// public string de { get; set; } /// /// 市盈率 /// public string pe { get; set; } /// /// 市值(单位:亿) /// public string sz { get; set; } } }