> For the complete documentation index, see [llms.txt](https://swonh.gitbook.io/sdmp-user-manual-kor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://swonh.gitbook.io/sdmp-user-manual-kor/routing-module/undefined-1/customercontrol.md).

# CustomerControl

Customer와 관련된 기능을 담당하는 컨트롤

### GetVisitableCustomers

```csharp
public override Dictionary<int, VehicleStateInfo> GetVisitableCustomers(Dictionary<int, VehicleStateInfo> availableCustomers)
```

#### 정의

방문하지 않은 Customer 중에서 방문가능한 Customer들을 설정합니다.

#### 매개 변수

<table><thead><tr><th width="334">Type</th><th>Description</th></tr></thead><tbody><tr><td>Dictionary&#x3C;Int, VehicleStateInfo></td><td>각 Vehicle들의 정보를 가지고 있는 객체입니다.</td></tr></tbody></table>

#### 반환

<table><thead><tr><th width="294">Type</th><th width="242">Description</th><th>Default</th></tr></thead><tbody><tr><td>Dictionary&#x3C;Int, VehicleStateInfo></td><td>각 Vehicle들의 정보를 가지고 있는 객체입니다. (방문가능한 Customer 정보 포함)</td><td><a href="#default-logic">Default Logic 참조</a></td></tr></tbody></table>

#### 예제 (Default Logic)

```csharp
public override Dictionary<int, VehicleStateInfo> GetVisitableCustomers(Dictionary<int, VehicleStateInfo> vehicleInfos) 
{
    return vehicleInfos;
}
```
