public Subroutine([System.Runtime.CompilerServices.CallerMemberName] string name = "")
{
this.name = name;
this.id = Guid.NewGuid().GetHashCode().ToString();
this.handleLocks = new HashSet<IOwnedDevice>();
}