You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/IoT/IoT.Shared/Application/Services/INodeService.cs

53 lines
1.3 KiB

using System;
using System.Collections.Generic;
using Application.Models;
using WampSharp.V2.Rpc;
namespace Application.Services
{
public interface INodeService
{
[WampProcedure("EditNode")]
bool EditNode(EditNodeModel model);
[WampProcedure("DeleteNode")]
bool DeleteNode(Guid id);
[WampProcedure("EditDevice")]
bool EditDevice(EditDeviceModel model);
[WampProcedure("DeleteDevice")]
bool DeleteDevice(Guid id);
[WampProcedure("CreateSence")]
bool CreateSence(EditSenceModel model);
[WampProcedure("EditSence")]
bool EditSence(EditSenceModel model);
[WampProcedure("DeleteSence")]
bool DeleteSence(Guid id);
[WampProcedure("CreateCommand")]
bool CreateCommand(EditCommandModel model);
[WampProcedure("EditCommand")]
bool EditCommand(EditCommandModel model);
[WampProcedure("DeleteCommand")]
bool DeleteCommand(Guid id);
[WampProcedure("Sence")]
ApiResponse Sence(Guid id);
[WampProcedure("Exec")]
ApiResponse Exec(Guid id, string cmd, string query);
[WampProcedure("ExecAll")]
ApiResponse ExecAll(List<Guid> id, string cmd, string query);
void Notify();
void Start();
}
}