From df8d7b7a7b3cd4be08378a8bc7a5768bf6eb7ed1 Mon Sep 17 00:00:00 2001 From: status102 Date: Thu, 19 Oct 2023 10:56:37 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E8=A1=A5=E5=85=85=E5=9F=BA=E5=BB=BA?= =?UTF-8?q?=E6=8E=92=E7=8F=AD=E5=8D=8F=E8=AE=AE=E4=B8=AD`period`=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E4=B8=8D=E5=AD=98=E5=9C=A8=E6=97=B6=E7=9A=84=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E5=88=87=E6=8D=A2=E5=8A=A8=E4=BD=9C=20(#6998)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/3.6-基建排班协议.md | 1 + docs/en-us/3.6-INFRASTRUCTURE_SCHEDULING_SCHEMA.md | 3 ++- docs/ja-jp/3.6-インフラスケジュール設定.md | 1 + docs/ko-kr/3.6-기반시설_예약_스키마.md | 3 ++- docs/zh-tw/3.6-基建排班協議.md | 1 + 5 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/3.6-基建排班协议.md b/docs/3.6-基建排班协议.md index bd805e8f0c..5f404be778 100644 --- a/docs/3.6-基建排班协议.md +++ b/docs/3.6-基建排班协议.md @@ -24,6 +24,7 @@ icon: material-symbols:view-quilt-rounded "description_post": "", // 计划执行完时显示的描述,可选 "period": [ // 换班时间段,可选 // 若当前时间在该区间内,则自动选择该计划(整个 json 文件中可能包含多个计划) + // 如果该字段不存在,则每次换班结束后,自动切换为下一个计划 // core 不处理该字段,若您使用接口集成 maa,请自行实现该逻辑 [ "22:00", // 要求格式 hh:mm,目前只是简单的比较数字大小,如果要跨天请仿照该示例中写法 diff --git a/docs/en-us/3.6-INFRASTRUCTURE_SCHEDULING_SCHEMA.md b/docs/en-us/3.6-INFRASTRUCTURE_SCHEDULING_SCHEMA.md index 23096de074..353067968c 100644 --- a/docs/en-us/3.6-INFRASTRUCTURE_SCHEDULING_SCHEMA.md +++ b/docs/en-us/3.6-INFRASTRUCTURE_SCHEDULING_SCHEMA.md @@ -20,7 +20,8 @@ Usage and Field Description for `resource/custom_infrast/*.json` files "description": "lol", // Plan description, optional "description_post": "", // The description to display after executing the plan, optional "period": [ // Shift change period, optional - // // If the current time is within this interval, the plan will be automatically selected (there may be multiple plans in the entire JSON file) + // If the current time is within this interval, the plan will be automatically selected (there may be multiple plans in the entire JSON file) + // If this field does not exist, it will automatically switch to the next plan after each running. // Core does not process this field. If you are using interface integration with MAA, please implement this logic on your own [ "22:00", // In the format of hh:mm, currently only simple numerical comparison is used. If it crosses midnight, please refer to the example in this file diff --git a/docs/ja-jp/3.6-インフラスケジュール設定.md b/docs/ja-jp/3.6-インフラスケジュール設定.md index 5fa8de9d1d..2773f2c2c1 100644 --- a/docs/ja-jp/3.6-インフラスケジュール設定.md +++ b/docs/ja-jp/3.6-インフラスケジュール設定.md @@ -16,6 +16,7 @@ "description": "lol", // 説明,オプション "period": [ // シフト時間の間隔,オプション // 現在時刻がこの間隔内にある場合、プランが自動的に選択されます (jsonファイル全体が複数のプランを含む場合もあります) + // このフィールドが存在しない場合は、実行のたびに自動的に次のプランに切り替わります。 // core ではこのフィールドを扱わないので、maa を統合するためにインターフェイスを使用する場合は、このロジックを自分で実装してください。 [ "22:00", // 必須 記述のフォーマットは hh:mm, 日をまたぐ場合はこの例のように記述してください。 diff --git a/docs/ko-kr/3.6-기반시설_예약_스키마.md b/docs/ko-kr/3.6-기반시설_예약_스키마.md index cd011fb103..5b6a695639 100644 --- a/docs/ko-kr/3.6-기반시설_예약_스키마.md +++ b/docs/ko-kr/3.6-기반시설_예약_스키마.md @@ -20,7 +20,8 @@ "description": "lol", // 계획 설명, 선택 사항 "description_post": "", // 계획 실행 후에 표시할 설명, 선택 사항 "period": [ // 교대 기간, 선택 사항 - // // 현재 시간이 이 범위 안에 있는 경우, 계획은 자동으로 선택됩니다 (전체 JSON 파일에 여러 계획이 있을 수 있음) + // 현재 시간이 이 범위 안에 있는 경우, 계획은 자동으로 선택됩니다 (전체 JSON 파일에 여러 계획이 있을 수 있음) + // 이 필드가 없으면 각 실행 후 자동으로 다음 계획으로 전환됩니다. // Core에서 이 필드를 처리하지 않습니다. MAA와 인터페이스 통합을 사용하는 경우, 이 논리를 직접 구현하십시오. [ "22:00", // hh:mm 형식으로 표시되며 현재는 단순 숫자 비교만 사용됩니다. 자정을 넘어가는 경우 이 파일의 예시를 참조하십시오. diff --git a/docs/zh-tw/3.6-基建排班協議.md b/docs/zh-tw/3.6-基建排班協議.md index 7841160616..41cccc48d1 100644 --- a/docs/zh-tw/3.6-基建排班協議.md +++ b/docs/zh-tw/3.6-基建排班協議.md @@ -24,6 +24,7 @@ icon: material-symbols:view-quilt-rounded "description_post": "", // 計劃執行完時顯示的描述,可選 "period": [ // 換班時間段,可選 // 若當前時間在該區間內,則自動選擇該計劃(整個 json 檔案中可能包含多個計劃) + // 如果該欄位不存在,則每次換班結束後,自動切換為下一個計劃 // core 不處理該欄位,若您使用接口集成 maa,請自行實現該邏輯 [ "22:00", // 要求格式 hh:mm,目前只是簡單的比較數字大小,如果要跨天請仿照該範例中寫法