¶Ô±ÈÐÂÎļþ |
| | |
| | | import { defHttp } from '/@/utils/http/axios'; |
| | | |
| | | enum Api { |
| | | sendCommand = '/dry/real/sendCommand', |
| | | sendWriteCommand = '/dry/opc/sendWriteCommand', |
| | | listAll = '/dry/dryOpcDevice/listAll' |
| | | } |
| | | /** |
| | | * åéå½ä»¤ |
| | | * @param params |
| | | */ |
| | | export const sendCommand = (params) => defHttp.post({ url: Api.sendCommand, params },{ isTransformResponse: false }); |
| | | |
| | | /** |
| | | * åéOPCåæä»¤ |
| | | */ |
| | | |
| | | export const sendWriteCommand = (params) => defHttp.post({url: Api.sendWriteCommand, params},{isTransformResponse: false}) |
| | | |
| | | /** |
| | | * æ¥è¯¢ææOPCè®¾å¤ |
| | | */ |
| | | |
| | | export const listAll = (params) => defHttp.get({url:Api.listAll, params}) |
| | | |