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/Services/INodeService.cs

41 lines
848 B

using Application.Models;
using System;
using System.Collections.Generic;
namespace IoTShared.Services
{
public interface INodeService
{
bool IsCallback { get; set; }
bool EditNode(EditNodeModel model);
bool DeleteNode(Guid id);
bool EditDevice(EditDeviceModel model);
bool DeleteDevice(Guid id);
bool CreateSence(EditSceneModel model);
bool EditSence(EditSceneModel model);
bool DeleteSence(Guid id);
bool CreateCommand(EditCommandModel model);
bool EditCommand(EditCommandModel model);
bool DeleteCommand(Guid id);
ApiResponse Scene(Guid id);
ApiResponse Exec(Guid id, string cmd, string query);
ApiResponse ExecAll(List<Guid> id, string cmd, string query);
void Notify();
void Start();
}
}