Exemplo n.º 1
0
        //dispatch review

        /*private void adToolStripMenuItem_Click(object sender, EventArgs e)
         * {
         *  firstScreenClass = this;
         *  gVariable.mainFunctionIndex = gVariable.PRODUCT_DISPATCH_REVIEW;
         *
         *  showDispatchList.dispatchListClass = new showDispatchList(gVariable.globalDatabaseName, gVariable.MACHINE_STATUS_DISPATCH_ALL, gVariable.TIME_CHECK_TYPE_PLANNED_START, gVariable.PRODUCT_DISPATCH_REVIEW);
         *  showDispatchList.dispatchListClass.Show();
         *
         *  //this is a pop up window, so we don't hide current screen
         *  //this.Hide();
         * }*/

        //product release
        private void aeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.PRODUCT_DELIVERY_TO_GODOWN;

            //this.Hide();
        }
Exemplo n.º 2
0
        //system setting
        private void ibToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.SYSTEM_SETTINGS;

            //this.Hide();
        }
Exemplo n.º 3
0
        //unqualified product management
        private void edToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.QUALITY_MANAGEMENT_DEFECTS_CONTROL;

            //this.Hide();
        }
Exemplo n.º 4
0
        //storage left
        private void baToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.MATERIAL_STORAGE_CHECKING;

            //this.Hide();
        }
Exemplo n.º 5
0
        //
        private void bbToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.MATERIAL_OUTGOING_CHECKING;

            materialInOutput.materialInOutputClass = new materialInOutput();
            materialInOutput.materialInOutputClass.Show();
            this.Hide();
        }
Exemplo n.º 6
0
        private void hhToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass = this;

            commonListview.commonListviewClass = new commonListview(gVariable.basicInfoDatabaseName, gVariable.machineTableName, gVariable.machineFileName, "设备信息", 0);
            commonListview.commonListviewClass.Show();

            this.Hide();
        }
Exemplo n.º 7
0
        //status of stack and feed bin
        private void bcToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.MATERIAL_FEEDBIN_CHECKING;

            StackAndFeedbin.StackAndFeedbinClass = new StackAndFeedbin();
            StackAndFeedbin.StackAndFeedbinClass.Show();
            this.Hide();
        }
Exemplo n.º 8
0
        //rebuild material by unqualified product
        private void bdToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.MATERIAL_WASTE_REBUILD;

            materialRebuild.materialRebuildClass = new materialRebuild();
            materialRebuild.materialRebuildClass.Show();
            this.Hide();
        }
Exemplo n.º 9
0
        //dispatch publish
        private void acToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass                     = this;
            gVariable.mainFunctionIndex          = gVariable.PRODUCT_DISPATCH_PUBLISH;
            dispatchPublish.dispatchPublishClass = new dispatchPublish();
            dispatchPublish.dispatchPublishClass.Show();

            this.Hide();
        }
Exemplo n.º 10
0
        //waste material need to be discarded
        private void beToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.MATERIAL_WASTE_DISCARD;

            materialWaste.materialWasteClass = new materialWaste();
            materialWaste.materialWasteClass.Show();
            this.Hide();
        }
Exemplo n.º 11
0
        //APS
        private void gToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.MAIN_FUNCTION_APS;

            APSUI.APSUIClass = new APSUI();
            APSUI.APSUIClass.Show();

            this.Hide();
        }
Exemplo n.º 12
0
        //time division working status
        private void abToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.PRODUCT_TIME_DIVISION_STATUS;

            machineProgress.machineProgressClass = new machineProgress();
            machineProgress.machineProgressClass.Show();

            this.Hide();
        }
Exemplo n.º 13
0
        //quality backtrack
        private void ebToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.QUALITY_MANAGEMENT_DEFECT_BACKTRACK;

            serialNumbacktrack.serialNumbacktrackClass = new serialNumbacktrack();
            serialNumbacktrack.serialNumbacktrackClass.Show();

            this.Hide();
        }
Exemplo n.º 14
0
        //product info
        private void haToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.BASICINFO_PRODUCT_INFO;

            commonListview.commonListviewClass = new commonListview(gVariable.basicInfoDatabaseName, gVariable.productTableName, gVariable.productFileName, "产品信息", 14);
            commonListview.commonListviewClass.Show();

            this.Hide();
        }
Exemplo n.º 15
0
        //BOM info
        private void heToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.BASICINFO_BOM_INFO;

            commonListview.commonListviewClass = new commonListview(gVariable.basicInfoDatabaseName, gVariable.bomTableName, gVariable.bomFileName, "BOM信息", 17);
            commonListview.commonListviewClass.Show();

            this.Hide();
        }
Exemplo n.º 16
0
        //material info
        private void hdToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.BASICINFO_MATERIAL_INFO;

            commonListview.commonListviewClass = new commonListview(gVariable.basicInfoDatabaseName, gVariable.materialTableName, gVariable.materialFileName, "物料信息", 0);
            commonListview.commonListviewClass.Show();

            this.Hide();
        }
Exemplo n.º 17
0
        //material vendor info
        private void hcToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.BASICINFO_VENDER_INFO;

            commonListview.commonListviewClass = new commonListview(gVariable.basicInfoDatabaseName, gVariable.vendorListTableName, gVariable.vendorListFileName, "供应商信息", 0);
            commonListview.commonListviewClass.Show();

            this.Hide();
        }
Exemplo n.º 18
0
        //routine
        private void ceToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.MACHINE_MANAGEMENT_ITEM_CHECKING;

            workshopZihua.workshopZihuaClass = new workshopZihua();
            workshopZihua.workshopZihuaClass.Show();

            this.Hide();
        }
Exemplo n.º 19
0
        //current time working status
        private void aaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.PRODUCT_CURRENT_STATUS;

            workshopZihua.workshopZihuaClass = new workshopZihua();
            workshopZihua.workshopZihuaClass.Show();

            this.Hide();
        }
Exemplo n.º 20
0
        //machine list
        private void cbToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.MACHINE_MANAGEMENT_LEDGER;

            commonListview.commonListviewClass = new commonListview(gVariable.basicInfoDatabaseName, gVariable.machineTableName, gVariable.machineFileName, "生产设备台帐管理", 0);
            commonListview.commonListviewClass.Show();

            this.Hide();
        }
Exemplo n.º 21
0
        //machine status
        private void caToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.MACHINE_MANAGEMENT_STATUS;

            machineProgress.machineProgressClass = new machineProgress();
            machineProgress.machineProgressClass.Show();

            this.Hide();
        }
Exemplo n.º 22
0
        //andon management
        private void dToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.MAIN_FUNCTION_ANDON;

            alarmListView.alarmListViewClass = new alarmListView(gVariable.globalDatabaseName, gVariable.MACHINE_NAME_ALL_FOR_SELECTION, gVariable.ALARM_TYPE_ALL_FOR_SELECTION,
                                                                 gVariable.ALARM_TYPE_DEVICE, gVariable.MAIN_FUNCTION_ANDON);
            alarmListView.alarmListViewClass.Show();

            this.Hide();
        }
Exemplo n.º 23
0
        //SPC management
        private void eaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.QUALITY_MANAGEMENT_SPC_CONTROL;

            //first display current machine working status, then choose one of the machine for SPC data
            workshopZihua.workshopZihuaClass = new workshopZihua();
            workshopZihua.workshopZihuaClass.Show();

            this.Hide();
        }
Exemplo n.º 24
0
        //machine utilization status
        private void fdToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.EFFICIENCY_MACHINE_OEE;

            OEESummaryManager oeeSummaryMgn = new OEESummaryManager(factory)
            {
                WindowState = FormWindowState.Maximized
            };

            oeeSummaryMgn.Show();
        }
Exemplo n.º 25
0
        //cost analysis
        private void feToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.EFFICIENCY_COST_ANALYSIS;

            OEECostManager oeeCostMgn = new OEECostManager(factory)
            {
                WindowState = FormWindowState.Maximized
            };

            oeeCostMgn.Show();
        }
Exemplo n.º 26
0
        //employee working hour
        private void fbToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.EFFICIENCY_EMPLOYEE_WORK_TIME;

            OEEStaffManager oeeStaffMgn = new OEEStaffManager(factory)
            {
                WindowState = FormWindowState.Maximized
            };

            oeeStaffMgn.Show();
        }
Exemplo n.º 27
0
        //working calendar
        private void cfToolStripMenuItem_Click(object sender, EventArgs e)
        {
            firstScreenClass            = this;
            gVariable.mainFunctionIndex = gVariable.MACHINE_MANAGEMENT_WORKING_CALENDAR;

            MaintainaceCalendar maintainCalendar = new MaintainaceCalendar()
            {
                WindowState = FormWindowState.Maximized
            };

            maintainCalendar.Show();

            this.Hide();
        }
Exemplo n.º 28
0
        private void form1_MouseDown(object sender, EventArgs e)
        {
            switch (gVariable.CompanyIndex)
            {
            case gVariable.ZIHUA_ENTERPRIZE:
                firstScreenClass = this;
                this.Hide();

                gVariable.mainFunctionIndex      = gVariable.PRODUCT_CURRENT_STATUS;
                workshopZihua.workshopZihuaClass = new workshopZihua();
                workshopZihua.workshopZihuaClass.Show();
                return;

            default:
                break;
            }
        }
Exemplo n.º 29
0
 private void fgToolStripMenuItem_Click(object sender, EventArgs e)
 {
     firstScreenClass = this;
 }
Exemplo n.º 30
0
 //performance analysis
 private void ffToolStripMenuItem_Click(object sender, EventArgs e)
 {
     firstScreenClass            = this;
     gVariable.mainFunctionIndex = gVariable.EFFICIENCY_PERFORMENCE_REVIEW;
 }