/// <summary> /// 将deliver deadhead to fpd /// </summary> /// <param name="generalRequestCommand"></param> /// <returns></returns> private byte[] DeliverSystemSessionData(SessionRequestCommand sRequestCommand) { byte[] serializedDataHead = SessionUtility.SerializeDataHead(_dataHead); CommandContext context = SessionUtility.CreateCommandContext(CommunicationNode.FPD, CommunicationCommandID.XA_SYSTEMSESSION_DATA_CACHE, serializedDataHead); int result = new CLRContaineeBase().GetCommunicationProxy().AsyncSendCommand(context); return((0 == result) ? new byte[] {} : null); }
public static void ShowStatusWarning(this CLRContaineeBase containee, string key, params object[] args) { try { Logger.LogFuncUp(); ShowStatus("Warning", StatusBarInfoType.Warning, key, args); Logger.LogFuncDown(); } catch (Exception ex) { Logger.LogFuncException(ex.Message + ex.StackTrace); throw; } }
public static void ShowStatusError(this CLRContaineeBase containee, string key, params object[] args) { ShowStatus("Error", StatusBarInfoType.Error, key, args); }