spc-kiosk-pb/Agent/Measuring/Activator.cs

43 lines
1.1 KiB
C#
Raw Normal View History

2019-06-16 05:12:09 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cosmos.BaseFrame;
using Cosmos.UserFrame;
using Cosmos.Common;
/*-----------------------------------------------------------------------------------------------*/
// 설 명 : 전자저울->라벨프린터 관련 클래스 Activator
// 작 성 자 :
// 변경 이력 :
/*-----------------------------------------------------------------------------------------------*/
namespace Cosmos.Service
{
public class Activator : InitServiceAbstract
{
public Activator()
{
}
public override object InitServiceInstance(string sClassNm)
{
object retObj = null;
//클래스 찾아오기 위함
switch (sClassNm)
{
case ServiceLists.AGENT_MEASURING.MEASURING_MAIN:
{
Cosmos.Measuring.MeasuringMain agentClass = new Cosmos.Measuring.MeasuringMain();
retObj = agentClass;
break;
}
}
return retObj;
}
}
}