| 185 | m_status = Status::Cancel; |
| 186 | } |
| 187 | void RobocopyViewModel::OnUpdateCopySpeed(ProcessIoCounter::IOCounterDiff diff) |
| 188 | { |
| 189 | m_bytesPerSec = ReadableUnitConverter::Speed::BytesPerSec(diff.read, diff.duration); |
| 190 | //m_copiedBytes += GetTotal().read; |
| 191 | Global::UIThread.TryEnqueue([this] { |
| 192 | raisePropertyChange(L"SpeedText"); |
| 193 | raisePropertyChange(L"Speed"); |
| 194 | }); |
| 195 | } |
| 196 | winrt::Windows::Foundation::IReference<bool> RobocopyViewModel::UseSource() |
| 197 | { |
| 198 | if (m_useSourceCount == 0) |