// NV.exẻʂ̒PȂقłDa@ȂǂɏւĂD
window_title = paperChart;

//beginFileSuffixDefinition (do not touch this bookmark line)
file_suffix = "00" ; 
//endDefinition (do not touch this bookmark line)

//beginDataDirectoryDefinition (do not touch this bookmark line)
//endDefinition (do not touch this bookmark line)

//beginSaveDirectoryDefinition  (do not touch this bookmark line)
//endDefinition (do not touch this bookmark line)

other_directory_mnemonic = "̫̑ށc" ;

//beginDemographMenuDirectoryDefinition (do not touch this bookmark line)
//endDefinition (do not touch thia bookmark line)

inout
{
// ܃j[t@Cuꏊ
    //beginIoMasterDirectoryDefinition (do not touch this bookmark line)
    //endDefinition (do not touch this bookmark line)
// ܃j[̃gbvt@C
    root_file = IO-gbv.txt;
// ܃j[̋N_
    root_point = ;
}

//beginJsaTransitDirectoryDefinition (do not touch this bookmark line)
//endDefinition (do not touch this bookmark line)

// Í́CJSA䒠փf[^𑗂邽߂ɕKvłD
// ̍sȂꍇ́CÍɕŃt@Co͂܂D
jsa_crypt_key = 326a307330613678;  //JSA䒠Í(16i\L)

//beginLabTransitDirectoryDefinition (do not touch this bookmark line)
//endDefinition (do not touch this bookmark line)

// "local_retention_days"oƁClocaliep[j̃f[^͏܂D
// ̋@\́CLdata_directoryPCwĂipX\\Ŏn܂jƂ
// LłDT[o[g킸CStandAloneŎgpĂƂ́C̎w͖C
// f[^͏܂DT[o[gĂƂɂC̒lw肵Ȃ
// T[o[ւ̃f[^]ƕslocalPC̃f[^iɎc܂D

local_retention_days = 28;

// l\W[͋NC400x400̃TCYŁD
numeric_viewer_module = NV.exe /std_arg/ /wna_file/ "geom=400x400+0+0" ;

// ̍sOBSOLETE! ȉwave_viewer߂ɏłD
// wave_viewer_module = WV.exe /std_arg/ /wna_file/ "geom=400x400-0+0" ;

wave_viewer
{
    // g`\W[͋NC400x400̃TCYŁD
    // Lwave_viewer_moduleobsoleteD
    module = WV.exe /std_arg/ /wna_file/ "geom=400x400-0+0" ;

    // g`ocet@Co͂ۂ̃hLgiocet@Cj
    // 鎮̖OLڂĂDi̎̂͂̃t@C̖QƁj
    // ۂ̈WV.exëj[ōsĂD
    // ۑtH_̎wAdobePDFōsĂDAdobePDFAdobeAcrobat
    // installƁuFAXvtH_ɍ܂D

    print_id_string = ޷Ė ;

    // hLg͊҂hcpԍȂǂ܂D
    // C炪͂ĂȂioceój͎sł܂D
    // print_id_string̎ŐhLg̍ŏ̒w肵ĂD
    // print_id_stringŌvZꂽʂ̕̕C̐łC
    // x\C͎s܂D 
    // print_id_length=0 Ȃ`FbN͍s܂D

    print_id_length = 0 ;

    // g`BMP`ُ̧o͂ۂ̃t@Ciۑ̃tH_܂ށj
    // 鎮̖OLڂĂDi̎Ԃ͂̃t@C̖QƁj
    // 镶ɂ͕ۑtH_܂߂悤ɂĂD
    // ۂbitmapُ̧o͂WV.exeޯϯƭōsĂD

    bitmap_id_string = BITMAP̧ٖ ;

    // Lprint_id_lengthƓRŃt@C̍ŏ̒w肵ĂD
    // CŌt@CƂ͂ base name ̂ƂłD
    // ܂ \\sever\forder\file.bmp  "file" bytełD

    bitmap_id_length = 0 ;
}

// 䒠o
demography_module = DMG.exe /std_arg/ ;

// vital sign -> CSV`o
vital_to_excel_module = CSV.exe /std_arg/ ;

// ȉCsR}hڂ
// command = exe
//     /std_arg/
//     /wna_file/
//     /text_file/
//     /sw_shownormal/
//     /sw_showminimized/
//     /sw_showmaximized/
//     /sw_minimize/
//     /sw_maximize/
//     /sw_hide/
//     ;

// J[h[_Co[R[h[_Ȃǂf[^󂯎
// ꂼ̎sW[֑B
// ȉ́CƂ肠Cf@ǂݎ̂݁D
//human_interface_device
//{
//    min_char_count = 69;
//    max_char_count = 69;
//    pattern = "???-???-";
//    module = mc.exe /std_arg/;
//}

// {^̏cƉW̊o
//
// P
// left = 2310;
// right = 2508;
// Q
// left = 2508;
// right = 2706;
// R
// left = 2706;
// right = 2905;
//
// Ps
// top = 1740 ;
// bottom = 1790 ;
//Qs
// top = 1790;
// bottom = 1840;
//Rs
// top = 1840;
// bottom = 1890;
//Ss
// top = 1890;
// bottom = 1940;
//Ts
// top = 1940;
// bottom = 1990;

command
{
    new
    {
        //beginCommandNewDefinition (do not touch this bookmark line)
        //endDefinition (do not touch this bookmark line)
        button
        {
            sheet = L   Rg ;
            left = 2310;
            right = 2508;
            top = 1790;
            bottom = 1840;
            background_color = 240 240 240;
            symbol = color 0 104 64;
            symbol = glyph Jn 40;
        }
    }

    append
    {
        //beginCommandAppendDefinition (do not touch this bookmark line)
        //endDefinition (do not touch this bookmark line)
        button
        {
            sheet = L   Rg ;
            left = 2508;
            right = 2706;
            top = 1790;
            bottom = 1840;
            background_color = 240 240 240;
            symbol = color 96 96 0;
            symbol = glyph ĊJ 40;
        }
    }

    stop
    {
        button
        {
            sheet = L   Rg ;
            left = 2706;
            right = 2904;
            top = 1790;
            bottom = 1840;
            background_color = 240 240 240;
            symbol = color 128 0 0;
            symbol = glyph ~ 40;
        }
    }

    open
    {
        module = OF.exe /std_arg/;
        button
        {
            sheet = L   Rg ;
            left = 2310;
            right = 2508;
            top = 1840;
            bottom = 1890;
            background_color = 240 240 240;
            symbol = color 0 0 0;
            symbol = glyph J 40;
        }
    }

    execute_monitoring
    {
        module = LaboM.exe /std_arg/ ;
        menu =  ;
        button
        {
            sheet = L   Rg ;
            left = 2508;
            right = 2706;
            top = 1840;
            bottom = 1890;
            background_color = 240 240 240;
            symbol = color 0 48 192;
            symbol = glyph  40;
        }
    }

    save
    {
        here = placeholder;
        // ͑劇 "{ }" ̒ɉȂƕ@G[ɂȂ̂
        // Ƃ肠łBI "{ }" ̒͋ƂlB
    }

// ȉCprintCprint_previewCbitmapɂāD
// trend_sheet̓oC^TCܓ^CLȂǂ̎nOtt̕\
// summary_sheet͎nOtȂi閃`[gʁj̕\
// ꈵ܂D
// ȑOabscissaƂĎw肵Ăn\̉̎trend_sheet
// V[g̎ɐĎw肵ĂD
// trend_sheetsummary_sheetdspcnf.txtsheet̖OŎwD
// abscissadspcnf.txtabscissa̔ԍŎw肵܂D
// summary_sheetsheet̎w肾ŁCabscissa͎wł܂D
// trend_sheetw肹summary_sheetw肷ƁCT}[\܂D
// trend_sheetsummary_sheetw肵ȂƁĈƂ̉ʂ̕\̂܂܈܂D
// abscissaw肵ȂƁĈƂ̉ʕ\ɎgĂabscisssa
// ɂp܂D
// summary_sheet͖ԂɂȂ낤ƂɂPy[WC邢̓Rg
// 񂩂悤ɃRgʃy[WɂQy[WłłD
//
// id_strinǵ͈u޷Ėv𐶐vZ̖OĂD
// ̧͂ق̖calc߂D
// id_length͐ꂽu޷Ėv̍ŏ̕(pZ)ĂD
// ɊID͂ĂȂȂǂ̕sso邽߂łD
// id_length=0; ł͓RČ͖܂D

    print_preview
    {
        trend_sheet = p 4;

// T}Py[WɗvƃRgꍇ́gT}phD
// Rg񏑂l͗vy[WƃRgy[W
// ʁXɂgT}LphƁgRĝݗph
// ǂ炩KickStartʂőIĂD
//        summary_sheet = T}p;
//        summary_sheet = T}Lp;
//        summary_sheet = Rĝݗp;

        //beginPrintPreviewLayoutDefinition (do not touch this bookmark line)
        summary_sheet = T}p;
        //endDefinition (do not touch this bookmark line)
        menu = "ޭ";
    }

    print
    {
        trend_sheet = p 4;
        //beginPrintLayoutDefinition (do not touch this bookmark line)
        summary_sheet = T}p;
        //endDefinition (do not touch this bookmark line)
        menu = "Ĉ";
        id_string = ޷Ė ;
        id_length = 0 ;
        button
        {
            sheet = L   Rg;
            left = 2706;
            right = 2904;
            top = 1840;
            bottom = 1890;
            background_color = 240 240 240;
            symbol = color 0 48 192;
            symbol = glyph Ĉ 40;
        }
    }

    print
    {
        menu = "ʈ";
//      trend_sheet,summary_sheet,abscissâw肵Ȃ̂
//      ̂Ƃ̉ʕ\̃n[hRs[邾łD
    }

    bitmap
    {
        trend_sheet = p 4;
        //beginBitmapLayoutDefinition (do not touch this bookmark line)
        summary_sheet = T}p;
        //endDefinition (do not touch this bookmark line)
        menu = ĉ摜̧;
        id_string = BITMAP̧ٖ ;
        id_length = 0 ;
    }

    bitmap
    {
        menu = "ʉ摜̧";
//      trend_sheet, summary_sheet ̂w肵Ȃ̂
//      ̂Ƃ̉ʕ\ޯϯ̧قo͂邾łD
    }

    clipboard
    {
        menu = دްނ ;
//      trend_sheet ,summary_sheet ̂w肵Ȃ̂
//      ̂Ƃ̉ʕ\دްނ֓]ʂ邾łD
    }

    execute
    {
        // ҏʁiCVfg֘A͌qj
        // "demographs"dmgcnf.txtQ
        module = MA2.exe /std_arg/ "layout=demographs" ;
        menu = ʏ ;
        button
        {
            sheet = L   Rg ;
            left = 2310;
            right = 2508;
            top = 1890;
            bottom = 1940;
            background_color = 240 240 240;
            symbol = color 0 48 192;
            symbol = glyph ʏ 40;
        }
    }

    execute
    {
        // CVfgځiҏʊ֘A͑Oqj
        // "incidents"dmgcnf.txtQ
        module = MA2.exe /std_arg/ "layout=incidents" ;
        menu = ݼ ;
        button
        {
            sheet = L   Rg ;
            left = 2508;
            right = 2706;
            top = 1890;
            bottom = 1940;
            background_color = 240 240 240;
            symbol = color 0 48 192;
            symbol = glyph ݼ 40;
        }
    }

    execute_viewing
    {
        // JSA䒠֓]
        module = JD.exe /std_arg/ /text_file/ ;
        menu = JSA] ;
        button
        {
            sheet = L   Rg ;
            left = 2706;
            right = 2904;
            top = 1890;
            bottom = 1940;
            background_color = 240 240 240;
            symbol = color 0 48 192;
            symbol = glyph JSA] 40;
        }
    }

    execute_monitoring
    {
        // p/\\犳ҏpOްǂݍ
        module = Sa2.exe /std_arg/ "conf=sa2cnf.txt" ;
        menu = \\ ;
        button
        {
            sheet = L   Rg ;
            left = 2310;
            right = 2508;
            top = 1940;
            bottom = 1990;
            background_color = 240 240 240;
            symbol = color 0 48 192;
            symbol = glyph \\ 40;
        }
    }

    quit
    {
        //module = rcp.exe "\\masui-0\public\bench" ;
        button
        {
            sheet = L   Rg ;
            left = 2706;
            right = 2904;
            top = 1940;
            bottom = 1990;
            background_color = 240 240 240;
            symbol = color 192 0 0;
            symbol = glyph I 40;
        }
    }

    execute
    {
        // ݊JĂǗ̗vCSV`o
        module = DMG.exe
                 /std_arg/
                 /text_file/
                 "out=Ǘv̧ٖ" // calc{c}Q
                 "set={Zbg"     // DMG.exeŎgZbg
                 "ttl=n"              // ٍs邩ǂ (y/n)
                 ;                    // <- ̃Z~R͍폜ȂĂ
        menu = "Ǘvُ̧o";
    }

    execute_viewing
    {
        module = CSV.exe /wna_file/ ;
        menu = ޲ُo(csv) ;
    }

    undo_remark
    {
        here = placeholder;
    }

    undo_inout
    {
        here = placeholder;
    }

    change_inout_root
    {
        here = placeholder;
    }

    edit_inout_menu // ܃j[ҏWc[
    {
        module = ME.exe /std_arg/;
    }
}

calc
{
//////////////////////////////////////////////////////////////////////////////////////
//
// `[g̈hLgǐvZj
//
//    AdobePDF(FAXɂ܂)ʏgɑIсCo͂ꍇC
//    ̖O".pdf"tt@CɂȂ܂D
//    ȂCPDFt@C̊i[tH_AdobePDFèŐݒ肵ĂD
//    PDFł͕y[WPt@CɂȂ܂̂ŁC
//    摜t@CƈقȂCt@CɃy[Wԍ͕t܂D
//    ̎w肵ȂƃhLg"ް̧ٖ.pdf"ɂȂ܂D
//    Cꊳ҂ɕ̎p\Ƃ́C
//    hcƊJngݍ킹t@CɂȂǁCHvĂD
//
//    ӁF̋@\͓dJւ̖`[go͂sȂꍇCقƂǖӖłD

    ޷Ė = ID;
//  ޷Ė = ID @ '_' @ (L^Jnb $ 'yymmddHHMM');

//////////////////////////////////////////////////////////////////////////////////////
//
// `[g摜õ͎t@CǐvZj
//
//    摜t@C̓`[gPy[WP̃t@CɂȂ܂D
//    o͌`͂QTUFalołD
//    ʂrbg}bvo͂΂C̖ǑɃy[W".bmp"t
//    t@CɂȂ܂D̗ł́CIĎɱްtĂ܂̂ŁC
//    ID"12345678"ȂCt@C
//    1߰ޖڂ 12345678_1.bmpC 2߰ޖڂ 12345678_2.bmp ̂悤ɂȂ܂D
//    ذ߰ނ́C12345678_0.bmp̂悤߰ޔԍOg܂D
//    g`摜t@C̖O̓y[Wԍł͂Ȃey[W̎_̎b
//    U̐ŕ\t܂D

    BITMAP̧ٖ =
    //beginBitmapFileDefinition (do not touch this bookmark line)
    '' 
    //endDefinition (do not touch this bookmark line)
    @ ID @ '_' ;

//////////////////////////////////////////////////////////////////////////////////////
//
// vCSVf[^õ͎t@CǐvZj
//
//    CSV`łPǗᕪ̃f[^x[Xpo͂s(DMG.exegp)ƂɊ̏o͐t@C
//    ƂāCDMG.exegp܂DFM.exéuꗗ\cv{^DMG.exeNɂ
//    ̎w͖܂D
//    t@CitpXł͂Ȃjw肵ꍇ́CȑOɕۑtH_ʒu
//    íC̕ۑƂɃWXgɋL^܂jɕۑ̂Ƃ݂Ȃ܂D
//    gqƂāu.csvvt܂D

    Ǘv̧ٖ =
    //beginSummaryCsvFileDefinition (do not touch this bookmark line)
    '' 
    //endDefinition (do not touch this bookmark line)
    @ ID ;

}
