aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance/Dialogs/CleanerDispensingView.xaml.cs
blob: 6f1ebb4ed34cedf184be41d86987f14a00f146a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Tango.PPC.Maintenance.Dialogs
{
    /// <summary>
    /// Interaction logic for PowerUpView.xaml
    /// </summary>
    public partial class CleanerDispensingView : UserControl
    {
        public CleanerDispensingView()
        {
            InitializeComponent();
        }
    }
}
"cm"> * A blocking function that sends a specified amount of data. * * Function sends _size number of bytes from the buffer pointed by _pBuff. * * @param(_pBuff) Pointer to a buffer of data * * @param(_size) Number of bytes to be sent * * @return Number of bytes added to the USB Buffer for transmission ******************************************************************************/ unsigned int USBCDCD_sendData(const unsigned char *_pBuff, unsigned int _length, unsigned int _timeout); /********************************************************************************** * ======== USBCDCD_receiveData ======== * A blocking function to read from the USB Buffer * * Function reads up to _size number of bytes from the USB Buffer. The return * value will indicate how many bytes were read from the USB Buffer. If there * is no data in the USB Buffer, this function will block timeout number of * ticks. Note: The BIOS_WAIT_FOREVER macro can be used to block indefinitely. * * @param(_pBuff) Pointer to a buffer to which data is written to. * * @param(_length) Maximum number of bytes to be read * * @param(_timeout) Number of tick to block if no data is currently available in * the USB Buffer. * * @return Returns the number of bytes actually read from the USB * Buffer. **********************************************************************************/ unsigned int USBCDCD_receiveData(unsigned char *_pBuff, unsigned int _length, unsigned int _timeout); /********************************************************** * ======== USBCDCD_waitForConnect ======== * This function blocks while the USB is not connected **********************************************************/ bool USBCDCD_waitForConnect(unsigned int _timeout); void USBCDCD_Reinit(void); void USBCDCD_hwiHandler(UArg arg0); //bool SendChars(char* buffer,size_t length); #ifdef __cplusplus } #endif #endif /* USBCDCD_H_ */