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 id, string cmd, string query); void Notify(); void Start(); } }