[ExcelToSqlChuzo]
Title=Excel→SQL 処理（鋳造計画実績取込用）
001=ExcelToCsv_Eazy(ExcelToSqlChuzoIni)
[ExcelToCsvPoSp]
Title=Excel→CSV 処理（PO塗装SP計画取込）
001=ExcelToCsv_Eazy(ExcelToCsvPoSpIni)
;002=CsvToDb(CsvToDbEazyIni)
;002=SFTPUpload(SFTPUploadIni)
;003=Cleanup(CleanupAfterUploadIni)
[ExcelToCsvWeOrderMc]
Title=Excel→CSV 処理（溶接加工向けデータ連携ツール：鉄）
001=ExcelToCsv_WeOrder(ExcelToCsvIniMc)
002=SFTPUpload(SFTPUploadIni)
003=Cleanup(CleanupAfterUploadIni)
[ExcelToCsvWeOrderAlumi]
Title=Excel→CSV 処理（溶接加工向けデータ連携ツール：アルミ）
001=ExcelToCsv_WeOrder(ExcelToCsvAlumiIni)
002=SFTPUpload(SFTPUploadIni)
003=Cleanup(CleanupAfterUploadIni)
[ExcelToCsvWeOrderNew001]
Title=Excel→CSV 処理（溶接加工向けデータ連携ツール：新溶接1ライン）
001=ExcelToCsv_WeOrder(ExcelToCsvWeNew001Ini)
002=SFTPUpload(SFTPUploadIni)
003=Cleanup(CleanupAfterUploadIni)
[ExcelToCsvWeOrderNewFormat]
Title=Excel→CSV 処理（溶接加工向けデータ連携ツール：Excel新共通書式）
001=ExcelToCsv_WeOrder(ExcelToCsvWeNewFormatIni)
;002=SFTPUpload(SFTPUploadIni)
;003=Cleanup(CleanupAfterUploadIni)

;★★★★★★★★★★★★★★★★★★★★★
[ExcelToSqlChuzoIni]
DaysToStartOffset=0
DaysToEndOffset=30
InFolderPath=C:\CSV\Chuzo

;FileNamePattern=*.xlsm
;その１（鋳造HPDC）
;FileNamePattern=*【*期*期】生産管理* 最新.xlsm
;その２（上下割）機械加工のMA1（アルミ）
;FileNamePattern=*【*期*月】上下割加工計画.xlsx
;その３（鋳造LPDC）
;FileNamePattern=*_FMsuper生産管理表_ver*.xlsm
;その４（鋳造GDC）
FileNamePattern=*■*期-*月仕上げ計画.xlsx


;以下はExcelに移動！
;IncludedSheetNames=生産管理
;ExcludedSheetNames=作成控え,取説,設定?,Net&Loss,設定,WeDB,CostDB,生産計画?,準備,AF所要量,SP所要量,CKD,SPDB,検討?,Planning,各ライン?
;ExcelSheetCheckItems=C4,M/C|D4,機種|E4,稼働日

;ExcelLineJudgeCol=B
;ExcelLineJudgeValue=ライン
;ExcelLineKeyCell=C5
;ExcelLineKeyValuePair=20,1|16,1|14,1|17,1|19,1|7,1
ExcelFileNamePatternToLine=*.xlsx,1|*【*期*期】生産管理* 最新.xlsm,2|*【*期*月】上下割加工計画.xlsx,3|*_FMsuper生産管理表_ver*.xlsm,4|*■*期-*月仕上げ計画.xlsx,5
ExcelSettingFileByLineId=1,.\ライン毎定義\ライン１.xlsx|2,.\ライン毎定義\ライン２.xlsx|3,.\ライン毎定義\ライン３.xlsx|4,.\ライン毎定義\ライン４.xlsx|5,.\ライン毎定義\ライン５.xlsx

;以下はExcelに移動！
;ExcelDateYMGetMode=FromDateCell

;ExcelNenGetsuCellAddress=D2

;以下はExcelに移動！
;ExcelDateRowMode=Fixed
;ExcelDateRow=888
;;ExcelDateRowJudgeValue=日付
;ExcelDateRowStartCol=V
;ExcelDateRowEndValue=

;ExcelSkipSameMonthSheets=false

;以下はExcelに移動！
;ExcelHiddenRowHandling=skip
;ExcelDataStartRowJudgeCol=C
;ExcelDataStartRowJudgeValues=M/C
;ExcelDataEndJudgeCol=M
;ExcelDataEndJudgeValue=,10
;ExcelMcSeisanFukaEnabled=false

;ExcelMcSeisanFukaJudgeCol=B
;ExcelMcSeisanFukaJudgeValuePattern=*生産負荷*
;ExcelAfWeCol=B

;以下はExcelに移動！
;ExcelRowKindCol=M
;ExcelRowKindTargets=鋳造計画,鋳造実績

;ExcelItemNameAndColumnLetterMapping=BasicPartsNo:B|ModelCd:|Derivation:C|TactTime:D
;Col001=PlanCd:"K*SP**"
;Col002=HaraiMoto:"PO"
;Col003=HaraiSaki:B
;Col004=ModelCd:Substring(C,1,3)
;Col005=SeppenBuban:D
;Col006=TargetColor:E
;Col007=KakoColor:F
;Col008=Biko:G
;Col009=Buhinmei:H
;Col010=KoteiCd:変換値,AI,1=1521,2=1521,3=1521,4=1521,5=1521,=1513
;Col011=SeisanHiduke:横日付
;Col012=Daisu:数
;Col013=SpBuban:Replace(AN,"-","")

;その１（HPDC）
;Col001=ModuleId:モジュールID
;Col002=LineId:ラインID
;Col003=ProcessGroup:変換値,C,14=2,16=3,20=4,17=117,19=119,7=107
;Col004=PartNo:ファイル変換値,D,PartNo.tsv
;Col005=ProductionDate:横日付
;Col006=PlanQty:数(M,鋳造計画)
;Col007=ActualQty:数(M,鋳造実績)

;ExcelLinesOnSheet=1
;ExcelShimukeTactRowZure=1
;ExcelKihonBubanGyosu=2
;OutputTypeはCSV（デフォルト）or FormattedText
;OutputType=FormattedText
OutputType=CSV
FormattedTextFormatFile=PlanQty,@@@NOT_EMPTY@@@,KeikakuFormat.txt|JissekiFormat.txt
OutFolderPath=C:\Output\Chuzo
CsvFileName=Chuzo
FileDtPrefix=yyyyMMdd-HHmmss_
FileDtSuffix=_yyyyMMdd_HHmmss
CsvEncoding=UTF-8 With BOM
[ExcelToCsvPoSpIni]
DaysToStartOffset=1
InFolderPath=C:\CSV\PoSp
FileNamePattern=*.xlsx
IncludedSheetNames=SP計画(総合)
;ExcludedSheetNames=作成控え,取説,設定?,Net&Loss,設定,WeDB,CostDB,生産計画?,準備,AF所要量,SP所要量,CKD,SPDB,検討?,Planning,各ライン?
ExcelSheetCheckItems=E2,ＳＰ計画[総合]|A5,追加|B5,払出先|C5,機種|D5,設変部番|E5,TARGET色|F5,加工色|G5,備考|H5,部品名|I5,TOTAL
;ExcelLineJudgeCol=B
;ExcelLineJudgeValue=ライン
ExcelDateYMGetMode=TargetCellDate
ExcelNenGetsuCellAddress=D2
ExcelDateRowMode=Fixed
ExcelDateRow=5
;ExcelDateRowJudgeValue=日付
ExcelDateRowStartCol=J
ExcelDateRowEndValue=係数
ExcelSkipSameMonthSheets=false
ExcelHiddenRowHandling=skip
ExcelDataStartRowJudgeCol=C
ExcelDataStartRowJudgeValues=機種
ExcelDataEndJudgeCol=D
ExcelDataEndJudgeValue=
ExcelMcSeisanFukaEnabled=false
;ExcelMcSeisanFukaJudgeCol=B
;ExcelMcSeisanFukaJudgeValuePattern=*生産負荷*
ExcelAfWeCol=B
ExcelItemNameAndColumnLetterMapping=BasicPartsNo:B|ModelCd:|Derivation:C|TactTime:D
Col001=PlanCd:"K*SP**"
Col002=HaraiMoto:"PO"
Col003=HaraiSaki:B
Col004=ModelCd:Substring(C,1,3)
Col005=SeppenBuban:D
Col006=TargetColor:E
Col007=KakoColor:F
Col008=Biko:G
Col009=Buhinmei:H
Col010=KoteiCd:変換値,AI,1=1521,2=1521,3=1521,4=1521,5=1521,=1513
Col011=SeisanHiduke:横日付
Col012=Daisu:数
Col013=SpBuban:Replace(AN,"-","")
ExcelLinesOnSheet=1
ExcelShimukeTactRowZure=1
ExcelKihonBubanGyosu=2
OutFolderPath=C:\CSV\PoSp
CsvFileName=PoSpPlan
FileDtPrefix=yyyyMMdd-HHmmss_
FileDtSuffix=_yyyyMMdd_HHmmss
CsvEncoding=UTF-8 With BOM
[ExcelToCsvIniMc]
DaysToStartOffset=1
InFolderPath=C:\CSV\溶接加工計画
;FileNamePattern=*生産計画*.xlsx
FileNamePattern=*新書式*.xlsx
NameToIdListForLine=MC,57|マルチ,58
ExcelSheetCheckItems=D2[or]D1,ライン|E2[or]E1,シフト|D5[or]C5,機種コード[or]コード|E5,仕向|F5,タクト|G5,日付
ExcelLineJudgeCol=D
ExcelLineJudgeValue=ライン
ExcelDateRowMode=Fixed
ExcelDateRow=5
ExcelDateRowStartCol=H
ExcelDateRowEndValue=TOTAL
;ExcelDateYMGetMode=FromYMCells
ExcelDateYMGetMode=FromDateCell
ExcelHiddenRowHandling=skip
ExcelDataStartRowJudgeCol=D
ExcelDataStartRowJudgeValues=コード,機種,機種コード,基本部番
ExcelDataEndJudgeCol=G
ExcelDataEndJudgeValue=
ExcelMcSeisanFukaEnabled=true
ExcelMcSeisanFukaJudgeCol=B
ExcelMcSeisanFukaJudgeValuePattern=*生産負荷*
ExcelAfWeCol=G
;ExcelItemNameAndColumnLetterMapping=BasicPartsNo:D|ModelCd:C|Derivation:E|TactTime:F
OutFolderPath=C:\CSV\溶接加工計画
CsvFileName=WeOrder
FileDtPrefix=yyyyMMdd-HHmmss_
FileDtSuffix=_yyyyMMdd_HHmmss
;CsvEncoding=UTF-8 With BOM
[ExcelToCsvAlumiIni]
DaysToStartOffset=1
InFolderPath=C:\CSV\溶接加工計画
NameToIdListForLine=FWL/NO2,78
FileNamePattern=*アルミ*.xlsx
IncludedSheetNames=FWL
;↓IncludedSheetNamesが指定されているとき無効です
;ExcludedSheetNames=SUB,COM
;IncludedLineNames=FWL/NO2
;↓IncludedSheetNamesが指定されているとき無効です
;ExcludedLineNames=SUB,COM
ExcelSheetCheckItems=A3,YEAR|B3,MONTH|C3,ライン名|G4[or]K4,生産計画|A7[or]A8,部番|G7[or]G8,日付|G8[or]G9,刻印
ExcelLineJudgeCol=C
ExcelLineJudgeValue=ライン名
ExcelDateYMGetMode=FromYMCells
;ExcelDateYMGetMode=FromDateCell
ExcelDateYearCell=A4
ExcelDateMonthCell=B4
ExcelDateRowMode=Judge
ExcelDateRow=5
ExcelDateRowJudgeCol=G
ExcelDateRowJudgeValue=日付
ExcelDateRowStartCol=H
ExcelDateRowEndValue=当月
ExcelHiddenRowHandling=skip
ExcelDataStartRowJudgeCol=G
ExcelDataStartRowJudgeValues=刻印
ExcelDataEndJudgeCol=A
ExcelDataEndJudgeValue=*TOTAL*
ExcelMcSeisanFukaEnabled=false
ExcelMcSeisanFukaJudgeCol=B
ExcelMcSeisanFukaJudgeValuePattern=*生産負荷*
ExcelAfWeCol=G
ExcelItemNameAndColumnLetterMapping=BasicPartsNo:A|ModelCd:A|Derivation:F|TactTime:ZZ
OutFolderPath=C:\CSV\溶接加工計画
CsvFileName=WeOrder
FileDtPrefix=yyyyMMdd-HHmmss_
FileDtSuffix=_yyyyMMdd_HHmmss
;CsvEncoding=UTF-8 With BOM
[ExcelToCsvWeNew001Ini]
DaysToStartOffset=1
InFolderPath=C:\CSV\溶接加工計画
NameToIdListForLine=鉄ライン1,101|溶接1ライン,102
FileNamePattern=*溶接1ライン*.xlsx
IncludedLineNames=鉄ライン1,溶接1ライン
;ExcludedSheetNames=2025.12月　日別,2025.11月　6名加工負荷
ExcelSheetCheckItems=D2,ライン|E2,シフト|D5,機種コード|E5,仕向|F5,タクト|G5,日付
ExcelLineJudgeCol=D
ExcelLineJudgeValue=ライン
ExcelDateYMGetMode=FromDateCell
ExcelDateRowMode=Judge
ExcelDateRowJudgeCol=G
ExcelDateRowJudgeValue=日付
ExcelDateRowStartCol=H
ExcelDateRowEndValue=TOTAL
ExcelSkipSameMonthSheets=true
ExcelHiddenRowHandling=skip
ExcelDataStartRowJudgeCol=D
ExcelDataStartRowJudgeValues=機種ｺｰﾄﾞ
ExcelDataEndJudgeCol=B
ExcelDataEndJudgeValue=*TOTAL台数*
ExcelMcSeisanFukaEnabled=true
ExcelMcSeisanFukaJudgeCol=B
ExcelMcSeisanFukaJudgeValuePattern=*生産負荷*
ExcelAfWeCol=G
ExcelItemNameAndColumnLetterMapping=BasicPartsNo:D|ModelCd:C|Derivation:E|TactTime:F
OutFolderPath=C:\CSV\溶接加工計画
CsvFileName=WeOrder001
FileDtPrefix=yyyyMMdd-HHmmss_
FileDtSuffix=_yyyyMMdd_HHmmss
;CsvEncoding=UTF-8 With BOM
[ExcelToCsvWeNewFormatIni]
DaysToStartOffset=1
InFolderPath=C:\CSV\新共通書式
NameToIdListForLine=MC,101|溶接1,102|マルチ,103|50号機,104|RF@@@COMMA@@@S/A,105|T/T,106
FileNamePattern=*.xlsm
IncludedLineNames=MC,溶接1,マルチ,50号機,RF@@@COMMA@@@S/A,T/T
ExcludedSheetNames=作成控え,取説,設定?,Net&Loss,設定,WeDB,CostDB,生産計画?,準備,AF所要量,SP所要量,CKD,SPDB,検討?,Planning,各ライン?
ExcelSheetCheckItems=B2,ライン|C2,シフト|B5,フレーム部番|C5,区分|D5,タクト|E5,日付
ExcelLineJudgeCol=B
ExcelLineJudgeValue=ライン
ExcelDateYMGetMode=FromDateCell
ExcelDateRowMode=Judge
ExcelDateRowJudgeCol=E
ExcelDateRowJudgeValue=日付
ExcelDateRowStartCol=F
ExcelDateRowEndValue=TOTAL
ExcelSkipSameMonthSheets=false
ExcelHiddenRowHandling=skip
ExcelDataStartRowJudgeCol=B
ExcelDataStartRowJudgeValues=フレーム部番
ExcelDataEndJudgeCol=B
ExcelDataEndJudgeValue=*TOTAL台数*
ExcelMcSeisanFukaEnabled=true
ExcelMcSeisanFukaJudgeCol=B
ExcelMcSeisanFukaJudgeValuePattern=*生産負荷*
ExcelAfWeCol=E
ExcelItemNameAndColumnLetterMapping=BasicPartsNo:B|ModelCd:別シート,WeDB,D,B,5|Derivation:C|TactTime:D
ExcelLinesOnSheet=1
ExcelShimukeTactRowZure=1
ExcelKihonBubanGyosu=2
OutFolderPath=C:\CSV\新共通書式
CsvFileName=WeOrderNewFormat
FileDtPrefix=yyyyMMdd-HHmmss_
FileDtSuffix=_yyyyMMdd_HHmmss
;CsvEncoding=UTF-8 With BOM
[SFTPUploadIni]
Host={[SFTP]Host}
Port={[SFTP]Port}
UserName={[SFTP]UserName}
PrivateKeyFilePath={[SFTP]PrivateKeyFilePath}
PassPhrase={[SFTP]PassPhrase}
RemotePath={[SFTP]RemotePath}
InFolderPath=C:\CSV\新共通書式
FileNamePatterns={[CSV]FileNamePatterns}
[CleanupAfterUploadIni]
FolderPath=C:\CSV\DL
MaxDays=90
MaxFileCount=100
[CsvToDbWeOrder]
Title=CSV→DB 処理
;001=SFTPDownload(SFTPDownloadIni)
002=CsvToDb(CsvToDbIni)
;003=SFTPDelete(SFTPDeleteIni)
;004=Backup(BackupIni)
[SFTPDownloadIni]
Host={[SFTP]Host}
Port={[SFTP]Port}
UserName={[SFTP]UserName}
PrivateKeyFilePath={[SFTP]PrivateKeyFilePath}
PassPhrase={[SFTP]PassPhrase}
RemotePath={[SFTP]RemotePath}
OutFolderPath=C:\CSV\DL
FileNamePatterns={[CSV]FileNamePatterns}
[CsvToDbIni]
SqlFolderPath=SQL
DaysToStartOffset=1
CsvFileNamePatterns={[CSV]FileNamePatterns}
CsvFolderPath=C:\CSV\DL
;CsvEncoding=UTF-8 With BOM
DbProviderName=ポスグレ
DbConnectionString=Host=localhost;Port=5432;Database=postgres;Username=postgres;Password=sfsadmin
DeleteBeforeInsertSqlFiles=DeleteBeforeInsertWeOrder
InsertProcessingMode=Bulk
InsertSqlFiles=InsertWeOrder
DupCheckSqlFiles=
SqlNameInsertBulk=InsertWeOrderBulk
[CsvToDbEazyIni]
SqlFolderPath=SQL
DaysToStartOffset=1
CsvFileNamePatterns=*.csv
CsvFolderPath=C:\CSV\PoSp
;CsvEncoding=UTF-8 With BOM
DbProviderName=ポスグレ
DbConnectionString=Host=localhost;Port=5432;Database=postgres;Username=postgres;Password=sfsadmin
DeleteBeforeInsertSqlFiles=DeleteBeforeInsertEazy
InsertSqlFiles=InsertEazy
DupCheckSqlFiles=
[SFTPDeleteIni]
Host={[SFTP]Host}
Port={[SFTP]Port}
UserName={[SFTP]UserName}
PrivateKeyFilePath={[SFTP]PrivateKeyFilePath}
PassPhrase={[SFTP]PassPhrase}
RemotePath={[SFTP]RemotePath}
FileNamePatterns={[CSV]FileNamePatterns}
[BackupIni]
SourceFolderPath=C:\CSV\DL
DestinationFolderPath=C:\CSV\DL\Backup001
FileNamePatterns={[CSV]FileNamePatterns}
MaxDays=30
MaxFileCount=30
PrefixDtFormat=yyyy-MM-dd-HH-mm-ss_
SuffixDtFormat=_yyyyMMddHHmmss
[Logging]
LogLevel=Information
LogFilePath=Log\ExcelToCsvToDbLog.log
RollingInterval=Month
[SFTP]
Host=172.23.231.166
Port=22
UserName=noboru
PrivateKeyFilePath=C:\Users\jpa01378\id_rsa_dotnet
PassPhrase=uI14MRtLpR7iLxWvaTGFfw==
RemotePath=bbb
[CSV]
FileNamePatterns=*WeOrder*.csv