Squashed 'DCPlugin/' changes from 82accc4..37f0012
37f0012 converted to utf-8 git-subtree-dir: DCPlugin git-subtree-split: 37f0012ce9092b4152481264747500d91f5c160e
This commit is contained in:
		@@ -122,17 +122,17 @@ struct T_vaultRecord
 | 
			
		||||
//16
 | 
			
		||||
        char label3buffer[4];	// mw >
 | 
			
		||||
 | 
			
		||||
        // Verkauf, T<EFBFBD>r zu:
 | 
			
		||||
        uint32_t VKcoinsInserted[16];		// nur f<EFBFBD>r Wechsler, soviel wurde eingeworfen
 | 
			
		||||
        uint32_t VKcoinsReturned[6];		// nur f<EFBFBD>r Wechsler, Anzahl M<EFBFBD>nzen pro Typ, soviel wurde zur<EFBFBD>ckgegeben
 | 
			
		||||
        // Verkauf, Tür zu:
 | 
			
		||||
        uint32_t VKcoinsInserted[16];		// nur für Wechsler, soviel wurde eingeworfen
 | 
			
		||||
        uint32_t VKcoinsReturned[6];		// nur für Wechsler, Anzahl Münzen pro Typ, soviel wurde zurückgegeben
 | 
			
		||||
//88
 | 
			
		||||
 | 
			
		||||
        // Service, T<EFBFBD>r offen:
 | 
			
		||||
        uint16_t ServCoinsInserted[16];		// nur f<EFBFBD>r Wechsler, soviel wurde eingeworfen
 | 
			
		||||
        uint16_t ServCoinsReturned[6];		// nur f<EFBFBD>r Wechsler, Anzahl M<EFBFBD>nzen pro Typ, soviel wurde zur<EFBFBD>ckgegeben
 | 
			
		||||
        // Service, Tür offen:
 | 
			
		||||
        uint16_t ServCoinsInserted[16];		// nur für Wechsler, soviel wurde eingeworfen
 | 
			
		||||
        uint16_t ServCoinsReturned[6];		// nur für Wechsler, Anzahl Münzen pro Typ, soviel wurde zurückgegeben
 | 
			
		||||
        uint16_t resint3;
 | 
			
		||||
        uint16_t resint4;
 | 
			
		||||
        uint16_t currentTubeContent[6];		//  nur f<EFBFBD>r Wechsler, aktueller F<EFBFBD>llstand
 | 
			
		||||
        uint16_t currentTubeContent[6];		//  nur für Wechsler, aktueller Füllstand
 | 
			
		||||
        uint16_t resint5;
 | 
			
		||||
        uint16_t resint6;
 | 
			
		||||
// 56
 | 
			
		||||
@@ -321,7 +321,7 @@ public:
 | 
			
		||||
        // get data back in "payLoad", max 64 byte, can be used for diagnosis
 | 
			
		||||
        // retval = nr of bytes received. If host buffer too small then
 | 
			
		||||
        // only plBufSiz bytes are copied to "payLoad"
 | 
			
		||||
        // plBufSiz<EFBFBD>z=size of host buffer
 | 
			
		||||
        // plBufSizz=size of host buffer
 | 
			
		||||
                            
 | 
			
		||||
    virtual void dc_requTestResponse()  const =0;
 | 
			
		||||
        // tell DC2 to send a test-string, useful to see if cable and baudrate is OK
 | 
			
		||||
@@ -442,10 +442,10 @@ public:
 | 
			
		||||
 | 
			
		||||
    // Analog values:
 | 
			
		||||
    virtual uint32_t dc_getTemperature(void)  const =0;       
 | 
			
		||||
        // in Sax-Format 0...400 (0=-50,0<EFBFBD>C    100=0,0<EFBFBD>C    141=20,5<EFBFBD>C    400=150,0<EFBFBD>C)
 | 
			
		||||
        // in Sax-Format 0...400 (0=-50,0°C    100=0,0°C    141=20,5°C    400=150,0°C)
 | 
			
		||||
    
 | 
			
		||||
    virtual QString  dc_getTemperaturStr(void)  const =0;
 | 
			
		||||
        // as string like "-12,5<EFBFBD>C"
 | 
			
		||||
        // as string like "-12,5°C"
 | 
			
		||||
        
 | 
			
		||||
    virtual uint32_t dc_getVoltage(void)  const =0;           
 | 
			
		||||
        // as value in mV,  0...65,535V
 | 
			
		||||
@@ -600,7 +600,7 @@ public:
 | 
			
		||||
                            uint8_t kindOfModem,        uint8_t kindOfCredit        ) const =0;
 | 
			
		||||
        // enable hardware in device controller:
 | 
			
		||||
        // kindOfPrinter:       0:off 1: GPT4672 (only this one implemented)
 | 
			
		||||
        // kindOfCoinChecker:   0:off 1:EMP820 2:EMP900 3: C<EFBFBD>_changer
 | 
			
		||||
        // kindOfCoinChecker:   0:off 1:EMP820 2:EMP900 3: C²_changer
 | 
			
		||||
        // kindOfMifareReader:  0:off 1: SL025   (only this one implemented)
 | 
			
		||||
        // suppressSleep:       0:sleep allowed 1: sleep surpressed for special reason
 | 
			
		||||
        // kindOfModem:         0:off 1: ATB_Sunlink_LTE        (not yet implemented)
 | 
			
		||||
@@ -706,7 +706,7 @@ public:
 | 
			
		||||
        // send 5 byte: byte 0,1: speed  5...250 mm/s
 | 
			
		||||
        //              byte2: density   0....(25)....50
 | 
			
		||||
        //              byte3: alignment    'l', 'c', 'r' = left, center, right
 | 
			
		||||
        //              byte4: orientation  0, 90, 180    = 0°, 90°, 180° rotation (by now not supported!)
 | 
			
		||||
        //              byte4: orientation  0, 90, 180    = 0°, 90°, 180° rotation (by now not supported!)
 | 
			
		||||
        // not batched! don't use twice within 100ms
 | 
			
		||||
 | 
			
		||||
    virtual void prn_movePaper(uint8_t wayInMm, uint8_t direction) const =0;
 | 
			
		||||
@@ -1274,7 +1274,7 @@ public:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    // Komplett-schreib Funktion, noch nicht getestet
 | 
			
		||||
    // Nachteil: keine R<EFBFBD>ckmeldung wie lang's noch dauert
 | 
			
		||||
    // Nachteil: keine Rückmeldung wie lang's noch dauert
 | 
			
		||||
    //virtual void bl_startSending(void) const=0;
 | 
			
		||||
        // call once after BL is working and file is loaded
 | 
			
		||||
    //virtual void bl_sendFile(void) const=0;
 | 
			
		||||
@@ -1300,7 +1300,7 @@ public:
 | 
			
		||||
    buf[4]=GlobTime.Month;
 | 
			
		||||
    buf[5]=GlobTime.Day;
 | 
			
		||||
    buf[6]=GlobTime.DOW;
 | 
			
		||||
    buf[7]=' ';                   // immer auf 32bit auff<EFBFBD>llen sonst Speicherproblem beim Master!
 | 
			
		||||
    buf[7]=' ';                   // immer auf 32bit auffüllen sonst Speicherproblem beim Master!
 | 
			
		||||
    uitmp=GlobTime.MinOfDay;
 | 
			
		||||
    buf[8]=swl_getOneByteFromUint(uitmp, 0);
 | 
			
		||||
    buf[9]=swl_getOneByteFromUint(uitmp, 1);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user