feat(espptemplatesync): метод обновление статуса Manager адаптирован на работу с RobotConfigurationService
This commit is contained in:
@@ -117,4 +117,54 @@ namespace PARR.EsppTemplateSync.Services
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// dll
|
||||
|
||||
//public delegate Dt CustomParserHandlerDelegate<Dt>(string str);
|
||||
|
||||
//public class Converter
|
||||
//{
|
||||
// public T ParseString<T>(string str, CustomParserHandlerDelegate<T> customParser)
|
||||
// {
|
||||
// var obj = customParser(str);
|
||||
|
||||
// return obj;
|
||||
// }
|
||||
//}
|
||||
|
||||
//public class RunConverter
|
||||
//{
|
||||
// public void Run<T>(CustomParserHandlerDelegate<T> customParser)
|
||||
// {
|
||||
// var conv = new Converter();
|
||||
// //var obj = conv.ParseString("sdfsdfsdf", SuperParser);
|
||||
// var obj = conv.ParseString("sdfsdfsdf", customParser);
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
////---
|
||||
//public class Xxx
|
||||
//{
|
||||
// void Test()
|
||||
// {
|
||||
// var rc = new RunConverter();
|
||||
// rc.Run(SuperParser);
|
||||
// }
|
||||
|
||||
|
||||
// Model1 SuperParser(string str)
|
||||
// {
|
||||
// // custom logic
|
||||
|
||||
// return new Model1 { Field = str };
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
//public class Model1
|
||||
//{
|
||||
// public string Field { get; set; } = "111";
|
||||
//}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user