示例#1
0
        //--------------------------------------------------------------------//
        //                                                        M e t h o d //
        // m e t r i c s S a v e T y p e                                      //
        //--------------------------------------------------------------------//
        //                                                                    //
        // Store current target type index.                                   //
        //                                                                    //
        //--------------------------------------------------------------------//

        public static void metricsSaveType(eTarget type)
        {
            _targetType = type;

            TargetPersist.saveDataCommon((Int32)_targetType);
        }
示例#2
0
        //--------------------------------------------------------------------//
        //                                                        M e t h o d //
        // m e t r i c s S a v e F i l e C a p t                              //
        //--------------------------------------------------------------------//
        //                                                                    //
        // Store current target File capture metrics data.                    //
        //                                                                    //
        //--------------------------------------------------------------------//

        public static void metricsSaveFileCapt(
            ToolCommonData.eToolIds crntToolId,
            ToolCommonData.eToolSubIds crntToolSubId,
            ToolCommonData.ePrintLang crntPDL,
            String saveFilename)
        {
            _targetType = eTarget.File;

            _saveFilename = saveFilename;

            TargetPersist.saveDataCommon((Int32)_targetType);

            //----------------------------------------------------------------//

            if (crntToolId == ToolCommonData.eToolIds.FontSample)
            {
                ToolFontSamplePersist.saveDataCapture(crntPDL,
                                                      saveFilename);
            }
            else if (crntToolId == ToolCommonData.eToolIds.FormSample)
            {
                ToolFormSamplePersist.saveDataCapture(crntPDL,
                                                      saveFilename);
            }
            else if (crntToolId == ToolCommonData.eToolIds.ImageBitmap)
            {
                ToolImageBitmapPersist.saveDataCapture(crntPDL,
                                                       saveFilename);
            }
            else if (crntToolId == ToolCommonData.eToolIds.PrintArea)
            {
                ToolPrintAreaPersist.saveDataCapture(crntPDL,
                                                     saveFilename);
            }
            else if (crntToolId == ToolCommonData.eToolIds.PrnPrint)
            {
                ToolPrnPrintPersist.saveDataCapture(crntPDL,
                                                    saveFilename);
            }
            else if (crntToolId == ToolCommonData.eToolIds.StatusReadback)
            {
                ToolStatusReadbackPersist.saveDataCapture(crntPDL,
                                                          saveFilename);
            }
            else if (crntToolId == ToolCommonData.eToolIds.TrayMap)
            {
                ToolTrayMapPersist.saveDataCapture(crntPDL,
                                                   saveFilename);
            }

            //----------------------------------------------------------------//

            else if (crntToolId == ToolCommonData.eToolIds.MiscSamples)
            {
                ToolMiscSamplesPersist.saveDataCapture(crntToolSubId,
                                                       crntPDL,
                                                       saveFilename);
            }

            //----------------------------------------------------------------//

            //  else
            //     Tool MakeOverlay // ***** Do DUMMY procs ? ***** //
            //     Tool PrintLang
            //     Tool PrnAnalyse
            //     Tool SoftFontGen
            //     Tool SymbolSetGen
            //     Tool XXXDiags
        }