Evcc.Set_PreChargeReq_DC_EVStatus_EVReady
Evcc.Set_PreChargeReq_DC_EVStatus_EVReady(evReady)
PreChargeReq.DC_EVStatus.EVReady 설정
local preChargeEvReady = true
Evcc.Set_PreChargeReq_DC_EVStatus_EVReady(preChargeEvReady)
EVCC > ISO15118-2
PreCharge Lua API reference.
Evcc.Set_PreChargeReq_DC_EVStatus_EVReady(evReady)
PreChargeReq.DC_EVStatus.EVReady 설정
local preChargeEvReady = true
Evcc.Set_PreChargeReq_DC_EVStatus_EVReady(preChargeEvReady)
Evcc.Get_PreChargeReq_DC_EVStatus_EVReady()
PreChargeReq.DC_EVStatus.EVReady 조회
local observedPreChargeEvReady = Evcc.Get_PreChargeReq_DC_EVStatus_EVReady()
Evcc.Set_PreChargeReq_DC_EVStatus_EVErrorCode(evErrorCode)
PreChargeReq.DC_EVStatus.EVErrorCode 설정
local preChargeEvErrorCode = DC_EVErrorCodeType.NO_ERROR
Evcc.Set_PreChargeReq_DC_EVStatus_EVErrorCode(preChargeEvErrorCode)
Evcc.Get_PreChargeReq_DC_EVStatus_EVErrorCode()
PreChargeReq.DC_EVStatus.EVErrorCode 조회
local observedPreChargeEvErrorCode = Evcc.Get_PreChargeReq_DC_EVStatus_EVErrorCode()
Evcc.Set_PreChargeReq_DC_EVStatus_EVRESSSOC(evressSoc)
PreChargeReq.DC_EVStatus.EVRESSSOC 설정
local preChargeEvressSoc = 74
Evcc.Set_PreChargeReq_DC_EVStatus_EVRESSSOC(preChargeEvressSoc)
Evcc.Set_PreChargeReq_EVTargetVoltage_Multiplier(multiplier)
PreChargeReq.EVTargetVoltage.Multiplier 설정
local evTargetVoltageMultiplier = -1
Evcc.Set_PreChargeReq_EVTargetVoltage_Multiplier(evTargetVoltageMultiplier)
Evcc.Set_PreChargeReq_EVTargetVoltage_Unit(unit)
PreChargeReq.EVTargetVoltage.Unit 설정
local evTargetVoltageUnit = UnitSymbolType.Unit_V
Evcc.Set_PreChargeReq_EVTargetVoltage_Unit(evTargetVoltageUnit)
Evcc.Get_PreChargeReq_EVTargetVoltage_Unit()
PreChargeReq.EVTargetVoltage.Unit 조회
local observedEvTargetVoltageUnit = Evcc.Get_PreChargeReq_EVTargetVoltage_Unit()
Evcc.Set_PreChargeReq_EVTargetVoltage_Value(value)
PreChargeReq.EVTargetVoltage.Value 설정
local evTargetVoltageValue = 3900
Evcc.Set_PreChargeReq_EVTargetVoltage_Value(evTargetVoltageValue)
Evcc.Get_PreChargeReq_EVTargetVoltage_Value()
PreChargeReq.EVTargetVoltage.Value 조회
local observedEvTargetVoltageValue = Evcc.Get_PreChargeReq_EVTargetVoltage_Value()
Evcc.Set_PreChargeReq_EVTargetCurrent_Multiplier(multiplier)
PreChargeReq.EVTargetCurrent.Multiplier 설정
local evTargetCurrentMultiplier = -1
Evcc.Set_PreChargeReq_EVTargetCurrent_Multiplier(evTargetCurrentMultiplier)
Evcc.Set_PreChargeReq_EVTargetCurrent_Unit(unit)
PreChargeReq.EVTargetCurrent.Unit 설정
local evTargetCurrentUnit = UnitSymbolType.Unit_A
Evcc.Set_PreChargeReq_EVTargetCurrent_Unit(evTargetCurrentUnit)
Evcc.Get_PreChargeReq_EVTargetCurrent_Unit()
PreChargeReq.EVTargetCurrent.Unit 조회
local observedEvTargetCurrentUnit = Evcc.Get_PreChargeReq_EVTargetCurrent_Unit()
Evcc.Set_PreChargeReq_EVTargetCurrent_Value(value)
PreChargeReq.EVTargetCurrent.Value 설정
local evTargetCurrentValue = 10
Evcc.Set_PreChargeReq_EVTargetCurrent_Value(evTargetCurrentValue)
Evcc.Get_PreChargeReq_EVTargetCurrent_Value()
PreChargeReq.EVTargetCurrent.Value 조회
local observedEvTargetCurrentValue = Evcc.Get_PreChargeReq_EVTargetCurrent_Value()
Evcc.Send_PreChargeReq_001()
PreChargeReq 송신
Evcc.Send_PreChargeReq_001()
Evcc.Receive_PreChargeRes_001()
PreChargeRes 수신
Evcc.Receive_PreChargeRes_001()
Evcc.Get_PreChargeRes_ResponseCode()
PreChargeRes.ResponseCode 조회
local expectedResponseCode = ResponseCodeType.OK
local receivedResponseCode = Evcc.Get_PreChargeRes_ResponseCode()
Evcc.Get_PreChargeRes_DC_EVSEStatus_EVSEStatusCode()
PreChargeRes.DC_EVSEStatus.EVSEStatusCode 조회
local expectedEvseStatusCode = DC_EVSEStatusCodeType.EVSE_Ready
local receivedEvseStatusCode = Evcc.Get_PreChargeRes_DC_EVSEStatus_EVSEStatusCode()
Evcc.Get_PreChargeRes_DC_EVSEStatus_EVSEIsolationStatus()
PreChargeRes.DC_EVSEStatus.EVSEIsolationStatus 조회
local expectedEvseIsolationStatus = IsolationLevelType.Valid
local receivedEvseIsolationStatus = Evcc.Get_PreChargeRes_DC_EVSEStatus_EVSEIsolationStatus()
Evcc.Get_PreChargeRes_DC_EVSEStatus_EVSEIsolationStatusSpecified()
PreChargeRes.DC_EVSEStatus.EVSEIsolationStatusSpecified 조회
local expectedEvseIsolationStatusSpecified = true
local receivedEvseIsolationStatusSpecified = Evcc.Get_PreChargeRes_DC_EVSEStatus_EVSEIsolationStatusSpecified()
Evcc.Get_PreChargeRes_DC_EVSEStatus_NotificationMaxDelay()
PreChargeRes.DC_EVSEStatus.NotificationMaxDelay 조회
local expectedNotificationMaxDelay = 0
local receivedNotificationMaxDelay = Evcc.Get_PreChargeRes_DC_EVSEStatus_NotificationMaxDelay()
Evcc.Get_PreChargeRes_DC_EVSEStatus_EVSENotification()
PreChargeRes.DC_EVSEStatus.EVSENotification 조회
local expectedEvseNotification = EVSENotificationType.None
local receivedEvseNotification = Evcc.Get_PreChargeRes_DC_EVSEStatus_EVSENotification()
Evcc.Get_PreChargeRes_EVSEPresentVoltage_Unit()
PreChargeRes.EVSEPresentVoltage.Unit 조회
local expectedEvsePresentVoltageUnit = UnitSymbolType.Unit_V
local receivedEvsePresentVoltageUnit = Evcc.Get_PreChargeRes_EVSEPresentVoltage_Unit()
Evcc.Get_PreChargeRes_EVSEPresentVoltage_Value()
PreChargeRes.EVSEPresentVoltage.Value 조회
local expectedEvsePresentVoltageValue = 3800
local receivedEvsePresentVoltageValue = Evcc.Get_PreChargeRes_EVSEPresentVoltage_Value()
local preChargeEvReady = true
Evcc.Set_PreChargeReq_DC_EVStatus_EVReady(preChargeEvReady)
local preChargeEvErrorCode = DC_EVErrorCodeType.NO_ERROR
Evcc.Set_PreChargeReq_DC_EVStatus_EVErrorCode(preChargeEvErrorCode)
local preChargeEvressSoc = 74
Evcc.Set_PreChargeReq_DC_EVStatus_EVRESSSOC(preChargeEvressSoc)
local evTargetVoltageMultiplier = -1
Evcc.Set_PreChargeReq_EVTargetVoltage_Multiplier(evTargetVoltageMultiplier)
local evTargetVoltageUnit = UnitSymbolType.Unit_V
Evcc.Set_PreChargeReq_EVTargetVoltage_Unit(evTargetVoltageUnit)
local evTargetVoltageValue = 3900
Evcc.Set_PreChargeReq_EVTargetVoltage_Value(evTargetVoltageValue)
local evTargetCurrentMultiplier = -1
Evcc.Set_PreChargeReq_EVTargetCurrent_Multiplier(evTargetCurrentMultiplier)
local evTargetCurrentUnit = UnitSymbolType.Unit_A
Evcc.Set_PreChargeReq_EVTargetCurrent_Unit(evTargetCurrentUnit)
local evTargetCurrentValue = 10
Evcc.Set_PreChargeReq_EVTargetCurrent_Value(evTargetCurrentValue)
Evcc.Send_PreChargeReq_001()
0x010xFE0x80010x00000018EXIEncodedV2GMessage<?xml version="1.0" ?>
<s3:V2G_Message xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.w3.org/2000/09/xmldsig#" xmlns:s1="urn:iso:15118:2:2013:MsgBody" xmlns:s2="urn:iso:15118:2:2013:MsgDataTypes" xmlns:s3="urn:iso:15118:2:2013:MsgDef" xmlns:s4="urn:iso:15118:2:2013:MsgHeader">
<s3:Header>
<s4:SessionID>03D670D07362C7C0</s4:SessionID>
</s3:Header>
<s3:Body>
<s1:PreChargeReq>
<s1:DC_EVStatus>
<s2:EVReady>true</s2:EVReady>
<s2:EVErrorCode>NO_ERROR</s2:EVErrorCode>
<s2:EVRESSSOC>74</s2:EVRESSSOC>
</s1:DC_EVStatus>
<s1:EVTargetVoltage>
<s2:Multiplier>-1</s2:Multiplier>
<s2:Unit>V</s2:Unit>
<s2:Value>3900</s2:Value>
</s1:EVTargetVoltage>
<s1:EVTargetCurrent>
<s2:Multiplier>-1</s2:Multiplier>
<s2:Unit>A</s2:Unit>
<s2:Value>10</s2:Value>
</s1:EVTargetCurrent>
</s1:PreChargeReq>
</s3:Body>
</s3:V2G_Message>