This commit is contained in:
敏健 邱
2024-12-03 21:49:47 +08:00
parent 4e4316c6dc
commit d35c684d08
25 changed files with 1657 additions and 113 deletions
@@ -10,26 +10,32 @@ using ThreadContext = UFSoft.U8.Framework.ContextSrv.ThreadContext;
using VBLogin = U8Login.clsLogin;
// ReSharper disable IdentifierTypo
// ReSharper disable InconsistentNaming
// ReSharper disable CommentTypo
// ReSharper disable FieldCanBeMadeReadOnly.Local
namespace UFIDA.U8.Framework.Api.ControlObject.U8M
{
public class BaseLogin
{
protected readonly ILog logInfo = LogManager.GetLogger("logInfo");
private NetLogin _netLogin { get; set; }
public VBLogin _vbLogin { get; set; }
static ILog logInfo = LogManager.GetLogger("logInfo");
public ProductContext _productContext { get; set; }
public Connection Connection { get; set; }
public NetLogin _netLogin;
public VBLogin _vbLogin;
public ProductContext _productContext;
public Connection Connection;
/// <summary>
/// 初始化生产制造上下文
/// </summary>
/// <param name="paramter">登录参数</param>
/// <param name="bMon"></param>
/// <param name="traceTimes"></param>
/// <exception cref="ArgumentNullException"></exception>
/// <exception cref="Exception"></exception>
public void Init(LoginParamter paramter,bool bMon=true, int traceTimes=0)