/// <summary> /// With this constructor user defined command can be created /// </summary> /// <param name="modeTag">An instance of a tag that should be used to set the mode</param> /// <param name="commandTag">An instance of a tag that should be used to send the command to</param> public Command( IController controller, PlcEssentials.Command innerCommand, IReadOnlyCollection <Tag> childTags, Tag modeTag, Tag commandTag) { _controller = controller; _innerCommand = innerCommand; _childTags = childTags; _modeTag = modeTag; _commandTag = commandTag; }
public Command(IController controller, PlcEssentials.Command innerCommand, IReadOnlyCollection <Tag> childTags) { _controller = controller; _innerCommand = innerCommand; _childTags = childTags; }
/// <summary> /// Updates the command data of this command. /// </summary> /// <param name="updatedCommand">the updated data.</param> public void UpdateCommandData(PlcEssentials.Command updatedCommand) { _innerCommand = updatedCommand; }