초기 커밋.
This commit is contained in:
43
ssgrestserver/request/웹핸들링/조회/AOutputTextHandler.cs
Normal file
43
ssgrestserver/request/웹핸들링/조회/AOutputTextHandler.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ssgrestserver
|
||||
{
|
||||
abstract class AOutputTextHandler : ARequestObject
|
||||
{
|
||||
|
||||
protected string updateTextName = "";
|
||||
|
||||
protected abstract void setUpdateData();
|
||||
|
||||
protected override string startUpdateWork()
|
||||
{
|
||||
|
||||
setUpdateData();
|
||||
|
||||
//mAccessableDictionary = DataCenter.getInstance().getData(DataCenter.관리중인데이터들배열.코더상태);
|
||||
|
||||
if (!mAccessableDictionary.ContainsKey(m채널이름))
|
||||
{
|
||||
return "서버에 없는 정보 - 텍스트";
|
||||
}
|
||||
|
||||
코더확인객채생성여부();
|
||||
|
||||
조회시간추가();
|
||||
|
||||
JObject retObj = new JObject();
|
||||
|
||||
foreach (var item in mAccessableDictionary[m채널이름])
|
||||
{
|
||||
retObj.Add(item.Key, item.Value);
|
||||
}
|
||||
|
||||
return retObj.ToString(Newtonsoft.Json.Formatting.None);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user