/*internal Signal AutomaticSimplifyOutput(Signal signal)
         * {
         *  for(int i = 0; i < port.OutputSignalCount; i++)
         *  {
         *      if(port[i] == signal)
         *          return AutomaticSimplifyOutput(i);
         *  }
         *  return signal;
         * }
         *
         * protected virtual Signal AutomaticSimplifyOutput(int outputIndex)
         * {
         *  return port[outputIndex];
         * }*/

        public override string ToString()
        {
            if (_port == null)
            {
                return(_id.ToString());
            }
            else
            {
                return(_port.Entity.ToString() + "(" + _id.ToString() + ")");
            }
        }
Esempio n. 2
0
 public override string ToString()
 {
     return(TypeId.ToString());
 }