Пример #1
0
        /// <summary>
        /// 载入点测系统
        /// </summary>
        /// <param name="select"></param>
        /// <returns></returns>
        private static bool LoadPointTestSytem(WorkSelectModel select)
        {
            var size = Size.Empty;

            if (Client != null)
            {
                size = Client.ClientSize;
            }
            AppFramework.Context.LoadSubForm <PointTestSystem.FormMeasurementTest>(
                true,
                size,
                Point.Empty,
                (o, ea) =>
            {
                var formTest = o as PointTestSystem.FormMeasurementTest;

                formTest.LoadWorkInfo(
                    select.Operator,
                    select.WorkOrderID,
                    select.ProductID,
                    select.StationID,
                    select.SpecID);
            });
            return(true);
        }
Пример #2
0
 ///// <summary>
 /// 载入扫描系统
 /// </summary>
 /// <param name="select"></param>
 /// <returns></returns>
 private static bool LoadSwetpTestSytem(WorkSelectModel select)
 {
     return(true);
 }