106 lines
2.9 KiB
C#
106 lines
2.9 KiB
C#
using asap.core;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Net.Http;
|
|
using System.Reflection;
|
|
using System.Security.Cryptography;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using UnityEngine;
|
|
using Unity.SharpZipLib.Zip;
|
|
using System.Net;
|
|
using UnityEngine.Networking;
|
|
using System.Threading;
|
|
|
|
|
|
namespace cfg
|
|
{
|
|
public sealed partial class Tables
|
|
{
|
|
|
|
TBAccountMM _TBAccountMM;
|
|
public TBAccountMM TBAccount
|
|
{
|
|
get
|
|
{
|
|
if (_TBAccountMM == null)
|
|
{
|
|
MMTService mMTService = GContext.container.Resolve<MMTService>();
|
|
if (mMTService.mmBuilding)
|
|
{
|
|
_TBAccountMM = new TBAccountMM(TbAccountMmt.DataList);
|
|
}
|
|
else
|
|
{
|
|
_TBAccountMM = new TBAccountMM(TbAccount.DataList);
|
|
}
|
|
}
|
|
return _TBAccountMM;
|
|
}
|
|
}
|
|
TBBenefitsMM _TBBenefitsMM;
|
|
public TBBenefitsMM TBBenefits
|
|
{
|
|
get
|
|
{
|
|
if (_TBBenefitsMM == null)
|
|
{
|
|
MMTService mMTService = GContext.container.Resolve<MMTService>();
|
|
if (mMTService.mmBuilding)
|
|
{
|
|
_TBBenefitsMM = new TBBenefitsMM(TbBenefitsMmt.DataList);
|
|
}
|
|
else
|
|
{
|
|
_TBBenefitsMM = new TBBenefitsMM(TbBenefits.DataList);
|
|
}
|
|
}
|
|
return _TBBenefitsMM;
|
|
}
|
|
}
|
|
|
|
TBAreaMM _TBAreaMM;
|
|
public TBAreaMM TBArea
|
|
{
|
|
get
|
|
{
|
|
if (_TBAreaMM == null)
|
|
{
|
|
MMTService mMTService = GContext.container.Resolve<MMTService>();
|
|
if (mMTService.mmBuilding)
|
|
{
|
|
_TBAreaMM = new TBAreaMM(TbAreaMmt.DataList);
|
|
}
|
|
else
|
|
{
|
|
_TBAreaMM = new TBAreaMM(TbConstructionArea.DataList);
|
|
}
|
|
}
|
|
return _TBAreaMM;
|
|
}
|
|
}
|
|
TBStepMM _TBStepMM;
|
|
public TBStepMM TBStep
|
|
{
|
|
get
|
|
{
|
|
if (_TBStepMM == null)
|
|
{
|
|
MMTService mMTService = GContext.container.Resolve<MMTService>();
|
|
if (mMTService.mmBuilding)
|
|
{
|
|
_TBStepMM = new TBStepMM(TbStepMmt.DataList);
|
|
}
|
|
else
|
|
{
|
|
_TBStepMM = new TBStepMM(TbConstructionStep.DataList);
|
|
}
|
|
}
|
|
return _TBStepMM;
|
|
}
|
|
}
|
|
}
|
|
}
|