Esempio n. 1
0
 /// <summary>
 /// If the agent is part of an inheritance net it returns the deeper active facets of the net
 /// </summary>
 private StringCollection GetLeafActiveAgentFacets()
 {
     return(OidAgent.GetInstance(this).Root().LeafActiveFacets());
 }
Esempio n. 2
0
 /// <summary>
 /// Get the instance of the conected agent in an specified class. If the agent has not
 /// an active facet of the given class it returns an empty Instance of the class.
 /// </summary>
 /// <param name="className">Name of the class in which the agent instance is returned</param>
 public ONInstance GetConnectedAgentInstance(string className)
 {
     return(OidAgent.GetInstance(this).GetFacet(className));
 }