/// <summary>
        /// Get Processor Info Request
        /// </summary>
        internal BmcDebugRequest(BmcDebugProcess process, bool enable)
        {
            this._process = (byte)process;

            if (enable)
                this._enable = 0x01;
        }
コード例 #2
0
 /// <summary>
 /// Enables the output of KCS and Serial command trace debug messages in the BMC diagnostic debug console
 /// </summary>
 public static bool BmcDebugEnable(byte deviceId, BmcDebugProcess process, bool enable)
 {
     if (clients.ContainsKey(deviceId))
     {
         return(clients[deviceId].BmcDebugEnable(process, enable));
     }
     else
     {
         return(false);
     }
 }
コード例 #3
0
        /// <summary>
        /// Enables the output of KCS and Serial command trace debug messages in the BMC diagnostic debug console
        /// </summary>
        public virtual bool BmcDebugEnable(BmcDebugProcess process, bool enable)
        {
            BmcDebugResponse response =
                (BmcDebugResponse)this.IpmiSendReceive(
                    new BmcDebugRequest(process, enable), typeof(BmcDebugResponse));

            if (response.CompletionCode == 0)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }