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.
41 lines
850 B
41 lines
850 B
using Application.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Application.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(EditSenceModel model);
|
|
|
|
bool EditSence(EditSenceModel model);
|
|
|
|
bool DeleteSence(Guid id);
|
|
|
|
bool CreateCommand(EditCommandModel model);
|
|
|
|
bool EditCommand(EditCommandModel model);
|
|
|
|
bool DeleteCommand(Guid id);
|
|
|
|
ApiResponse Sence(Guid id);
|
|
|
|
ApiResponse Exec(Guid id, string cmd, string query);
|
|
|
|
ApiResponse ExecAll(List<Guid> id, string cmd, string query);
|
|
|
|
void Notify();
|
|
|
|
void Start();
|
|
}
|
|
} |