Beispiel #1
0
 public FormPwdSetup(ref SystemParam systemParam)
 {
     sysParam   = systemParam;
     loginPanel = new AwPanel();
     crypt      = new Crypt();
     xmlDb      = AwDbFactory.CreateDBEngine();
     InitializeComponent();
 }
Beispiel #2
0
 public Login(ref SystemParam paramSys)
 {
     sysParam   = paramSys;
     loginPanel = new AwPanel();
     crypt      = new Crypt();
     xmlDb      = AwDbFactory.CreateDBEngine();
     pwdList    = new List <string>();
     InitializeComponent();
 }
Beispiel #3
0
        /**********************************************************************************************
         * discription: 构造函数
         *
         *
         ***********************************************************************************************/
        private ProductParameter()
        {
            apdParm = new ApdParam();
            xmlDb   = AwDbFactory.CreateDBEngine();
            ProductParameter prdParameter = this;

            prdBatInfo = new ProductBatInfo();
            xmlDb.GetProductParameters(ref prdParameter);
            xmlDb.GetProductBatInfo(ref prdBatInfo);
            xmlDb.GetAPDParameters(ref apdParm);
        }
Beispiel #4
0
        /**********************************************************************************************
         * discription: 构造函数
         *
         *
         ***********************************************************************************************/
        public TraceSetup()
        {
            xmlDb            = AwDbFactory.CreateDBEngine();
            motorInfo        = new MotorInfo();
            traceMethodList  = new List <S_TraceMethod>();
            lastActiveMethod = new S_TraceMethod();
            platformPoint    = new Coordinate();
            maxPosition      = new MaxMinCoordinate();
            zZeroPoint       = new Coordinate();

            xmlDb.GetMotorInfo(ref motorInfo);
            xmlDb.GetActiveTraceMethod(ref lastActiveMethod);
            xmlDb.GetPlatformPoint(ref platformPoint);
            xmlDb.GetMaxPosition(ref maxPosition);
            xmlDb.GetZZeroPoint(ref zZeroPoint);
            isUpdated = false;
        }