// スクリーンは最大16面まで．

screen  // 押しボタンエリア(右側partition)あり
{
    number = 0;
    std_width = 3000;
    std_height = 2000;
    trend_graph = yes;
    left = 230;
    right = 2100;
    time_top = 10;

    trend_top = 64;
    trend_bottom = 804;
    trend_divide = 26;
    trend_pane = 0 26;
    trend_thick_lines = 0 2 7 12 17 22 26;

    ecgmisc         = 0 22 -4 40;
    hipress         = 0 26 -20* 240*;
    hipress_vernier = 0 26 -20 240 left;
    lopress         = 0 26 -4* 48*;
    lopress_vernier = 0 14 -4 24 right;
    temp            = 12 26 27 41*;
    temp_vernier    = 16 26 31 41 right;
    spo2            = 0 12 40* 100*;
    spo2_vernier    = 0 10 40 90 left2 2;
    entro           = 12 22 0* 100*;
    entro_nernier   = 13 22 10 100 left2;
    logas           = 2 22 0* 10*;
    logas_vernier   = 2 12 0 5 right2 2;
    higas           = 2 22 0* 200*;
//    higas_vernier   = 2 12 0 100; //hipress_vernierを共用
    awpress         = 0 26 -4* 48*; //lopress_vernierを共用
    tidal           = 2 12 0* 1000*;
    labo            = 26;

    alarm_top = 804;
    alarm_bottom = 819;

// 薬剤濃度予測を挿入．これにともない上下のパーツをそれぞれ縮めました．
// 具体的にはtrend_bottomを上へ，alarm_topとalarm_bottomも上へ，
// remark_top，remark_bottomを下へ，inout_topも少し下へ移動．
// 空いた場所（alarmとremarkの間）へ薬剤濃度予測欄を設けました．
    predict_top = 819;
    predict_bottom = 1100;
    predict_ordinate = 30 0.05; // 上辺実数 下辺実数
    predict_decline_width = 190;

    remark_top = 1100;
    remark_bottom = 1150;

    inout_top = 1150;
    inout_bottom = 1990;

    partition
    {
        line_color = 192 192 192;
        fill_color = 248 248 248;
        polygon = 2310 20 2310 1770 2910 1770 2910 20;
    }
}

screen  // 押しボタンエリア(右側partition)なし
{
    number = 1;
    std_width = 3000;
    std_height = 2000;
    trend_graph = yes;
    left = 230;
    right = 2700;
    time_top = 10;

    trend_top = 64;
    trend_bottom = 806;
    trend_divide = 26;
    trend_pane = 0 26;
    trend_thick_lines = 0 2 7 12 17 22 26;

    ecgmisc         = 0 22 -4 40;
    hipress         = 0 26 -20* 240*;
    hipress_vernier = 0 26 -20 240 left;
    lopress         = 0 26 -4* 48*;
    lopress_vernier = 0 14 -4 24 right;
    temp            = 12 26 27 41*;
    temp_vernier    = 16 26 31 41 right;
    spo2            = 0 12 40* 100*;
    spo2_vernier    = 0 10 40 90 left2 2;
    entro           = 12 22 0* 100*;
//    entro_nernier   = 13 22 10 100;
    logas           = 2 22 0* 10*;
    logas_vernier   = 2 12 0 5 right2 2;
    higas           = 2 12 0* 100*;
//    higas_vernier   = 2 12 0 100; //hipress_vernierを共用
    awpress         = 0 26 -4* 48*; //lopress_vernierを共用
    tidal           = 2 12 0* 1000*;
    labo            = 26;

    alarm_top = 804;
    alarm_bottom = 819;

// 薬剤濃度予測を挿入．これにともない上下のパーツをそれぞれ縮めました．
    predict_top = 819;
    predict_bottom = 1100;
    predict_ordinate = 30 0.05; // 上辺実数値 下辺実数値
    predict_decline_width = 210;

    remark_top = 1100;
    remark_bottom = 1150;

    inout_top = 1150;
    inout_bottom = 1990;
}

screen  // バイタルのみ
{
    number = 2;
    std_width = 3000;
    std_height = 2000;
    trend_graph = yes;
    left = 100;
    right = 2800;
    time_top = 10;

    trend_top = 64;
    trend_bottom = 1950;
    trend_divide = 37; // ﾄﾚﾝﾄﾞｸﾞﾗﾌ表示グリッド縦分割数
    trend_pane = 0 10;
    trend_pane = 11 37;
    trend_thick_lines = 0 5 10 11 13 23 33 37;

    ecgmisc         = 0 37 -13* 24*;
    hipress         = 11 37 -20* 240*;
    hipress_vernier = 11 37 -20 240 left;
    lopress         = 11 37 -4* 48*;
    lopress_vernier = 11 25 -4 24 right;
    temp            = 23 37 27 41*;
    temp_vernier    = 27 37 31 41 right;
    spo2            = 0 10 50* 100*;
    spo2_vernier    = 0 10 50 100 left;
    entro           = 13 23 0* 100*;
    logas           = 0 10 0* 10*;
    higas           = 0 10 0* 100*;
    awpress         = 0 10 0* 20*;
    tidal           = 0 10 0* 1000*;
    labo            = 36;

    alarm_top = 1950;
    alarm_bottom = 2000;

// remarkもinoutもpredictも表示しない
    predict_top = -999;
    predict_bottom = -999;

    remark_top = -999;
    remark_bottom = -999;

    inout_top = -999;
    inout_bottom = -999;
}

screen  // 薬剤と予測のみ
{
    number = 3;
    std_width = 3000;
    std_height = 2000;
    trend_graph = yes;
    left = 230;
    right = 2700;
    time_top = 10;

// バイタルのトレンドは表示しない．
    trend_top = -999;
    trend_bottom = -999;

// 濃度予測を幅広く表示．
    predict_top = 64;
    predict_bottom = 976;
    predict_ordinate = 50 0.02; // 上辺実数 下辺実数
    predict_decline_width = 210;

    remark_top = 983;
    remark_bottom = 1043;

    inout_top = 1050;
    inout_bottom = 1990;
}

screen
// チャート印刷用スクリーン
// サマリは別ページ (screen number=5)
// 薬剤濃度予測なし
{
    number = 4;
    std_width = 2180;
    std_height = 2880;
    background_bitmap = pics\chartB24.bmp;
    trend_graph = yes;
    left = 242;
    right = 1794;
    time_top = 190;

// background_bitmapが指定されているときは，罫線を引かない．
    trend_top = 228;
    trend_bottom = 1708;
    trend_divide = 37; // ﾄﾚﾝﾄﾞｸﾞﾗﾌ表示グリッド縦分割数
    trend_pane = 0 10;
    trend_pane = 11 37;

// 目盛はbackground_bitmapに書かれているので，縦軸に目盛数値は打たない．
    hipress         = 11 37 -20* 240*;
    lopress         = 11 37 -4* 48*;
    temp            = 24 37 28 41*;
    ecgmisc         = 11 37 -4* 48*;

    spo2            = 0 10 50* 100*;
    higas           = 0 10 0* 100*;
    logas           = 0 10 0* 10*;
    entro           = 0 10 0* 100*;
    awpress         = 0 10 0* 20*;
    tidal           = 0 10 0* 1000*;

    labo            = 37;

    alarm_top = 1278;
    alarm_bottom = 1298;

    remark_top = 1708;
    remark_bottom = 1770;

    inout_top = 1770;
    inout_bottom = 2826;
}

screen // サマリー印刷用スクリーン
// 要約欄とコメント欄を１ページにまとめて印刷します．
{
    number = 5;
    std_width = 1090;
    std_height = 1440;
    background_bitmap = pics\summary.bmp; // 縦長白紙
    trend_graph = no;
}

screen // 白紙背景印刷用スクリーン
// 要約とコメントを別ページに分けて，コメントをたくさん
// 書けるようにしたサマリ用スクリーンです．
// 上のナンバー５と同じ大きさですが，このblank.bmpには
// 要約欄とコメント欄を分ける縦罫線がありません．
{
    number = 6;
    std_width = 1090;
    std_height = 1440;
    background_bitmap = pics\blank.bmp; // 縦長白紙
    trend_graph = no;
}

// sheetは最大24面まで

sheet
{
    name = 記号;
    screen_number = 0;
    tab = yes;
    menu = yes;
}

sheet
{
    name = 薬剤;
    screen_number = 0;
    tab = yes;
    menu = yes;
}

sheet
{
    name = 属性;
    screen_number = 0;
    tab = yes;
    menu = yes;
}

sheet
{
    name = コメント;
    screen_number = 0;
    tab = yes;
    menu = yes;
}

sheet
{
    name = 全幅;
    screen_number = 1;
    tab = yes;
    menu = yes;
}

sheet
{
    name = バイタル;
    screen_number = 2;
    tab = yes;
    menu = yes;
}

sheet
{
    name = 薬剤＋予測;
    screen_number = 3;
    tab = yes;
    menu = yes;
}

sheet
{
    name = 印刷用;
    screen_number = 4;
    tab = no;
    menu = no;
}

sheet
{
    name = サマリ用;
    screen_number = 5; // 背景は縦罫線１本だけ
    tab = no;
    menu = no;
}

sheet
{
    name = サマリ幅広用;
    screen_number = 6; // 背景は白紙
    tab = no;
    menu = no;
}

sheet
{
    name = コメントのみ用;
    screen_number = 6; // 背景は白紙
    tab = no;
    menu = no;
}

// comment_columnは最大16面まで

comment_column
{
    sheet = コメント;
    left = 2330;
    right = 2910;
    top = 50;
    bottom = 1720;
    font = 40 p;
    color = 0 32 96;
    color2 = 192 0 0;
    divide = 1;
    drug_title = -他薬剤量-;
    drug_qty = every_spread;   // latest_spread
}

comment_column
{
    sheet = 印刷用;
    left = 1810;
    right = 2130;
    top = 252;
    bottom = 1930;
    font = 36 p;
    color = 0 32 96;
    color2 = 192 0 0;
    divide = 1;
    drug_title = -薬剤量-;
    drug_qty = latest_spread;   // every_spread
}

comment_column
{
    sheet = サマリ用;
    left = 800;
    right = 1050;
    top = 50;
    bottom = 1400;
    font = 20 p;
    color = 0 32 96;
    color2 = 192 0 0;
    divide = 1;
    drug_title = -薬剤量-;
    drug_qty = every_spread;   // latest_spread
}

// サマリ幅広用にはコメントカラムは付きません．

comment_column
{
    sheet = コメントのみ用;
    left = 50;
    right = 1050;
    top = 120;
    bottom = 1400;
    font = 20 p;
    color = 0 32 96;
    color2 = 192 0 0;
    divide = 4;
    drug_title = -薬剤量-;
    drug_qty = every_spread;   // latest_spread
}

display_thin_ruler_color = 192 192 192;
display_thick_ruler_color = 96 96 96;
display_ruler_font_height = 37;
display_ruler_font_color = 0 0 0;
display_background_color = 255 255 255;
display_trend_pane_color = 255 255 255;
display_predict_pane_color = 255 255 255;
display_predict_font_height = 36;
display_remark_pane_color = 255 255 255;
display_inout_pane_color = 255 255 255;

wave_mark_color = 0 96 224;
scrollbar_color = 112 144 192;
sheettab_background_color = 192 192 192;
sheettab_placement = right;  // left,right,top,bottom
button_style = rectangle flat;  // round/rectangle , convex/flat

print_thin_ruler_width = 1;
print_thick_ruler_width = 2;
print_ruler_color = 0 0 0;
print_ruler_font_height = 36;
print_ruler_font_color = 0 0 0;
print_background_color = 255 255 255;
print_copies = 1;

chart_step_seconds = 1800;
chart_span_seconds = 14400;
scroll_freeze_seconds = 180;

tip_dialog
{
    font_height = 13; // dots
    duration = 60; // 秒
    switch = all;   // all,known,none
    text_color = 0 0 0;
    symbol_scale = 3/8;
    background_color = 255 255 208;
}

version_splash = pics\splver.bmp;
loading_splash = pics\splnum.bmp;
//blank_splash = pics\splver.bmp;
