変更は許可されていません
\n')
end
if post then
edcb.WritePrivateProfile('SET','WakeTime',GetVarInt(post,'wakeTime',0) or 5,srvIni)
edcb.WritePrivateProfile('SET','RecEndMode',GetVarInt(post,'recEndMode',0,3) or 2,srvIni)
edcb.WritePrivateProfile('SET','Reboot',GetVarInt(post,'reboot')==1,srvIni)
edcb.WritePrivateProfile('NO_SUSPEND','NoUsePC',GetVarInt(post,'noUsePC')==1,srvIni)
edcb.WritePrivateProfile('NO_SUSPEND','NoUsePCTime',GetVarInt(post,'noUsePCTime',0) or 3,srvIni)
edcb.WritePrivateProfile('NO_SUSPEND','NoFileStreaming',GetVarInt(post,'noFileStreaming')==1,srvIni)
edcb.WritePrivateProfile('NO_SUSPEND','NoShareFile',GetVarInt(post,'noShareFile')==1,srvIni)
edcb.WritePrivateProfile('NO_SUSPEND','NoStandbyTime',GetVarInt(post,'noStandbyTime',0) or 10,srvIni)
edcb.WritePrivateProfile('SET','StartMargin',GetVarInt(post,'startMargin') or 5,srvIni)
edcb.WritePrivateProfile('SET','EndMargin',GetVarInt(post,'endMargin') or 2,srvIni)
edcb.WritePrivateProfile('SET','RecAppWakeTime',GetVarInt(post,'recAppWakeTime',0) or 2,srvIni)
edcb.WritePrivateProfile('SET','RecMinWake',GetVarInt(post,'recMinWake')==1,srvIni)
edcb.WritePrivateProfile('SET','RecView',(GetVarInt(post,'openViewForViewing',1,1) or 0)+
(GetVarInt(post,'openViewForRec',1,1) or 0)*2+
(GetVarInt(post,'openViewAlways',1,1) or 0)*4,srvIni)
edcb.WritePrivateProfile('SET','RecNW',GetVarInt(post,'recNW')==1,srvIni)
edcb.WritePrivateProfile('SET','PgInfoLog',GetVarInt(post,'pgInfoLog')==1,srvIni)
edcb.WritePrivateProfile('SET','PgInfoLogAsUtf8',GetVarInt(post,'pgInfoLogAsUtf8')==1,srvIni)
edcb.WritePrivateProfile('SET','DropLog',GetVarInt(post,'dropLog')==1,srvIni)
edcb.WritePrivateProfile('SET','RecOverWrite',GetVarInt(post,'recOverWrite')==1,srvIni)
edcb.WritePrivateProfile('SET','ProcessPriority',GetVarInt(post,'processPriority',0,5) or 3,srvIni)
edcb.WritePrivateProfile('SET','KeepDisk',GetVarInt(post,'keepDisk')==1,srvIni)
edcb.WritePrivateProfile('SET','Caption',GetVarInt(post,'enableCaption')==1,srvIni)
edcb.WritePrivateProfile('SET','Data',GetVarInt(post,'enableData')==1,srvIni)
ct:Append('変更しました
\n')
edcb.ReloadSetting(false)
end
edcb.htmlEscape=15
wakeTime=edcb.GetPrivateProfile('SET','WakeTime',5,srvIni)
recEndMode=tonumber(edcb.GetPrivateProfile('SET','RecEndMode',2,srvIni)) or 2
reboot=edcb.GetPrivateProfile('SET','Reboot',0,srvIni)~='0'
noUsePC=edcb.GetPrivateProfile('NO_SUSPEND','NoUsePC',0,srvIni)~='0'
noUsePCTime=edcb.GetPrivateProfile('NO_SUSPEND','NoUsePCTime',3,srvIni)
noFileStreaming=edcb.GetPrivateProfile('NO_SUSPEND','NoFileStreaming',0,srvIni)~='0'
noShareFile=edcb.GetPrivateProfile('NO_SUSPEND','NoShareFile',0,srvIni)~='0'
noStandbyTime=edcb.GetPrivateProfile('NO_SUSPEND','NoStandbyTime',10,srvIni)
startMargin=edcb.GetPrivateProfile('SET','StartMargin',5,srvIni)
endMargin=edcb.GetPrivateProfile('SET','EndMargin',2,srvIni)
recAppWakeTime=edcb.GetPrivateProfile('SET','RecAppWakeTime',2,srvIni)
recMinWake=edcb.GetPrivateProfile('SET','RecMinWake',1,srvIni)~='0'
recView=tonumber(edcb.GetPrivateProfile('SET','RecView',1,srvIni)) or 1
recNW=edcb.GetPrivateProfile('SET','RecNW',0,srvIni)~='0'
pgInfoLog=edcb.GetPrivateProfile('SET','PgInfoLog',1,srvIni)~='0'
pgInfoLogAsUtf8=edcb.GetPrivateProfile('SET','PgInfoLogAsUtf8',0,srvIni)~='0'
dropLog=edcb.GetPrivateProfile('SET','DropLog',1,srvIni)~='0'
recOverWrite=edcb.GetPrivateProfile('SET','RecOverWrite',0,srvIni)~='0'
processPriority=tonumber(edcb.GetPrivateProfile('SET','ProcessPriority',3,srvIni)) or 3
keepDisk=edcb.GetPrivateProfile('SET','KeepDisk',1,srvIni)~='0'
enableCaption=edcb.GetPrivateProfile('SET','Caption',1,srvIni)~='0'
enableData=edcb.GetPrivateProfile('SET','Data',0,srvIni)~='0'
ct:Append([=[