コード例 #1
0
 private void QueryIDTask(Object source, ElapsedEventArgs e)
 {
     // If we know our ID fully, start the dynamic service discovery process
     if (!jausRouter.getJausAddress().containsWildcards())
     {
         QueryIdentification query_msg = new QueryIdentification();
         query_msg.getBody().getQueryIdentificationRec().setQueryType(2);
         JausAddress local = new JausAddress(jausRouter.getJausAddress().getSubsystemID(), 0xFF, 0xFF);
         sendJausMessage(query_msg, local);
     }
 }
コード例 #2
0
        public bool  isEqual(QueryIdentification value)
        {
            if (!this.getMsgHeader().isEqual(value.getMsgHeader()))
            {
                return(false);
            }
            if (!this.getBody().isEqual(value.getBody()))
            {
                return(false);
            }

            return(true);
        }