import { Parameters, Result } from './QueryRealTimeOrderDeclare';
import { ServiceClient } from 'cn.keytop.stc.midend.ms.client';


const client = new ServiceClient()
const method = 'POST'
const enctype = 'application/json'

/**
* 获取单场指定车牌号最近5笔查询记录 
* method:POST
* enctype:application/json
* pid:stc.ms.cp.InternalParkingOrderApi
* sid:stc.ms.cp.InternalParkingOrderApiqueryRealTimeOrder
* version:1.2
* @param parameters
*/
export async function queryRealTimeOrder(parameters: Parameters): Promise<Result> {
    const headers = {
        'pid': 'stc.ms.cp.InternalParkingOrderApi',
        'sid': 'stc.ms.cp.InternalParkingOrderApiqueryRealTimeOrder',
        'uri': 'parking/order/readTime/list',
        'version': '1.2'
    }
    return await client.request(method, enctype, headers, parameters)
}
