Dear friend!
Take a look at the pictures below:

Layer 2 implements Ethernet/MPLS-TP-based switching and belongs to the client layer of WDM.
The L1 layer implements ODUk/VC-based switching and belongs to the WDM link layer.
The L0 layer implements wavelength-based switching and belongs to the physical layer of WDM. Huawei's new-generation intelligent optical transport platform has obvious advantages, such as ROADM and OXC platforms.
For your second question,
TDM signals can be directly switched on the cross-connect board of the WDM equipment (such as the OSN 8800), but packet data packets cannot be switched.
In addition, PCs can be directly connected at both ends of the packet service path to transmit data, and other conversion devices need to be connected at both ends of the TDM path to encapsulate and decapsulate the data before the data is transmitted to the end user.
More information:
https://forum.huawei.com/enterprise/en/difference-between-roadm-and-foadm/thread/763807-875
https://forum.huawei.com/enterprise/en/what-is-the-oxc-platform/thread/631591-875
Thanks!