spc-kiosk-pb/Agent/NetworkCheckOver/Activator.cs
2019-06-16 14:12:09 +09:00

56 lines
1.7 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cosmos.BaseFrame;
using Cosmos.UserFrame;
using Cosmos.Common;
namespace Cosmos.Service
{
/// <summary>
/// Load BaseFrame and save information (BaseFrame의 로드하고 정보를 보관한다)
/// </summary>
public class Activator : InitServiceAbstract
{
/// <summary>
/// Define main entrance point of project load. (프로젝트 로드의 주진입점을 정의합니다.)
/// </summary>
public Activator()
{
}
/// <summary>
///
/// </summary>
/// <param name="sClassNm"></param>
/// <returns></returns>
public override object InitServiceInstance(string sClassNm)
{
//UserLog.WriteLogFile(UserCom.LOG_DEBUG, System.Reflection.Assembly.GetExecutingAssembly().ManifestModule.Name,
// "Activator.InitServiceInstance()", "Message : " + sClassNm + " Registration Starting !!!");
object retObj = null;
//클래스 찾아오기 위함
switch (sClassNm)
{
case ServiceLists.AGENT_NETWORK_CHECKOVER.NetworkCheckOver:
{
Cosmos.Network.NetworkCheckOver agentClass = new Cosmos.Network.NetworkCheckOver();
retObj = agentClass;
break;
}
}
//UserLog.WriteLogFile(UserCom.LOG_DEBUG, System.Reflection.Assembly.GetExecutingAssembly().ManifestModule.Name,
// "Activator.InitServiceInstance()", "Message : " + sClassNm + " Registration Completed !!!");
return retObj;
}
}
}