You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

36 lines
1.2 KiB

//-----------------------------------------------------------------------
// <copyright file="CSuccessResponseMessage.cs" company="Origtek">
// CSuccessResponseMessage belongs to Copyright (c) Origtek. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace OT.COM.SignalerMessage
{
/// <summary>
/// Success response
/// </summary>
public class CSuccessResponseMessage : CResponseMessage
{
/// <summary>
/// Initializes a new instance of the <see cref="CSuccessResponseMessage" /> class
/// </summary>
/// <param name="i_sMsg">
/// Message to display
/// </param>
/// <param name="i_crm">
/// Origin request
/// </param>
public CSuccessResponseMessage(string i_sMsg, CRequestMessage i_crm = null)
{
this.result = EResponseResult.RR_TRUE;
this.msg = i_sMsg;
if (i_crm != null)
{
this.project = i_crm.project;
this.projectver = i_crm.projectver;
this.method = i_crm.method;
}
}
}
}