示例#1
0
        public bool  isEqual(ReportStatus value)
        {
            if (!this.getMsgHeader().isEqual(value.getMsgHeader()))
            {
                return(false);
            }
            if (!this.getBody().isEqual(value.getBody()))
            {
                return(false);
            }

            return(true);
        }
示例#2
0
        public bool isEqual(ReportStatus value)
        {
            if (!this.getMsgHeader().isEqual(value.getMsgHeader()))
            {
            return false;
            }
            if (!this.getBody().isEqual(value.getBody()))
            {
            return false;
            }

            return true;
        }
 public virtual void displayStatusAction(ReportStatus msg)
 {
     String[] mgmt_states = { "Init", "Ready", "Standby", "Shutdown", "Failure", "Emergency" };
     Console.WriteLine("Management server status: " + mgmt_states[msg.getBody().getReportStatusRec().getStatus()]);
 }
 public virtual void displayStatusAction(ReportStatus msg)
 {
     String[] mgmt_states = { "Init", "Ready", "Standby", "Shutdown", "Failure", "Emergency" };
     Console.WriteLine("Management server status: " + mgmt_states[msg.getBody().getReportStatusRec().getStatus()]);
 }