public bool boRequestCalPageTransfer(tenChannelMode enChannelMode) { bool boResult = false; if (tenChannelMode.enChannelModeNone == mstTransferPageCB.enChannelMode) { mstTransferPageCB.enChannelMode = enChannelMode; mstTransferPageCB.u32StartAddress = tclsASAM.u32GetCharMinAddress(); mstTransferPageCB.u32EndAddress = tclsASAM.u32GetCharMaxAddress(); mstTransferPageCB.u32BytesToTransfer = mstTransferPageCB.u32EndAddress - mstTransferPageCB.u32StartAddress + 1; mstTransferPageCB.fProgress = 0; boResult = true; } return(boResult); }
public bool boRequestScriptReplay(tenChannelMode enChannelMode) { bool boResult = false; if (tenChannelMode.enChannelModeNone == mstTransferPageCB.enChannelMode) { boResult = vSetReplayScriptPath(); if (true == boResult) { mstTransferPageCB.enChannelMode = enChannelMode; Program.vNotifyProgramEvent(tenProgramEvent.enProgramMessage, 0, "Replay Script Started"); } } return(boResult); }