class DoorSystem extends DeviceSystemBase
{
	default m_controllerTypeName = 'DoorSystemController';

	protected event OnRequestComponents( ri : EntityRequestComponentsInterface )
	{
		super.OnRequestComponents( ri );
	}

	protected event OnTakeControl( ri : EntityResolveComponentsInterface )
	{
		m_controller = ( ( DoorSystemController )( EntityResolveComponentsInterface.GetComponent( ri, 'controller' ) ) );
		super.OnTakeControl( ri );
	}

	protected const override function GetController() : DoorSystemController
	{
		return ( ( DoorSystemController )( m_controller ) );
	}

	public const override function GetDevicePS() : DoorSystemControllerPS
	{
		return GetController().GetPS();
	}

}

