feat(espptemplatesync): метод обновление статуса Manager адаптирован на работу с RobotConfigurationService

This commit is contained in:
Mikhail Kuznetsov
2023-10-06 17:09:25 +10:00
parent 7e55659a7c
commit 5c818e6610
4 changed files with 62 additions and 16 deletions

View File

@@ -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";
//}
}