DataMapper 개선, MQTTPipeLine 개발 중
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
#nullable enable
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
@@ -8,16 +9,16 @@ namespace UVC.Data
|
||||
{
|
||||
public string url;
|
||||
public string method;
|
||||
public Dictionary<string, string> headers;
|
||||
public string body;
|
||||
public Action<IDataObject> handler = null;
|
||||
public Dictionary<string, string>? headers = null;
|
||||
public string? body = null;
|
||||
public Action<IDataObject?>? handler = null;
|
||||
public bool repeat = false; // 반복 실행 여부
|
||||
public int repeatCount = 0; // 반복 횟수, 0은 무한 반복
|
||||
public int repeatInterval = 1000; // 반복 간격 (ms)
|
||||
|
||||
public DataMapper dataMapper = null; // 데이터 매퍼
|
||||
public DataMapper? dataMapper = null; // 데이터 매퍼
|
||||
|
||||
public HttpPipeLineInfo(string url, string method = "post", Dictionary<string, string> headers = null, string body = null)
|
||||
public HttpPipeLineInfo(string url, string method = "post", Dictionary<string, string>? headers = null, string? body = null)
|
||||
{
|
||||
this.url = url;
|
||||
this.method = method;
|
||||
|
||||
Reference in New Issue
Block a user