xuruiqian
2025-06-04 5955ac5715a811407e183042875fd1d130572d58
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System.ServiceModel;
using System.ServiceModel.Web;
using GTech.Solution.Api.Domain.Model;
 
 
namespace GTech.Solution.Api.Contract
{
    /// <summary>
    /// 汽车预警
    /// </summary>
    [ServiceContract]
    public interface ITruckAlarm
    {
        /// <summary>
        /// 汽车预警
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        [OperationContract]
        [WebInvoke(Method = "POST", UriTemplate = "api/truckalarm/postalarm", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Bare)]
        ApiData<TruckAlarmResult> POSTAlarm(TruckAlarmData dto);
    }
}