23 lines
797 B
C#
23 lines
797 B
C#
using RobotNet.VDA5050.Type;
|
|
using RobotNet10.RobotApp.Services.Robot.Actions;
|
|
using Action = RobotNet.VDA5050.InstantAction.Action;
|
|
|
|
namespace RobotNet10.RobotApp.Interfaces;
|
|
|
|
public interface IAction
|
|
{
|
|
RobotNet.VDA5050.State.ActionState[] ActionStates { get; }
|
|
bool HasActionRunning { get; }
|
|
bool HasActionWaitting { get; }
|
|
RobotAction? this[string actionId] { get; }
|
|
IEnumerable<RobotAction> GetRunningActions();
|
|
void AddOrderActions(Action[] actions, ActionScope scope = ActionScope.NODE);
|
|
void AddInstantAction(Action[] action);
|
|
void StartOrderAction(string actionId);
|
|
void StopOrderAction(string actionId = "");
|
|
void FinishAction(string actionId);
|
|
Task ClearActions();
|
|
void PauseActions();
|
|
void ResumeActions();
|
|
}
|