equal
deleted
inserted
replaced
584 </xsl:text> |
584 </xsl:text> |
585 <xsl:text> if(previous_period != new_period) { |
585 <xsl:text> if(previous_period != new_period) { |
586 </xsl:text> |
586 </xsl:text> |
587 <xsl:text> subscriptions[index] = new_period; |
587 <xsl:text> subscriptions[index] = new_period; |
588 </xsl:text> |
588 </xsl:text> |
589 <xsl:text> delta.push(new Blob([ |
589 <xsl:text> delta.push( |
590 </xsl:text> |
590 </xsl:text> |
591 <xsl:text> new Uint8Array([2]), /* subscribe = 2 */ |
591 <xsl:text> new Uint8Array([2]), /* subscribe = 2 */ |
592 </xsl:text> |
592 </xsl:text> |
593 <xsl:text> new Uint32Array([index]), |
593 <xsl:text> new Uint32Array([index]), |
594 </xsl:text> |
594 </xsl:text> |
595 <xsl:text> new Uint16Array([new_period])])); |
595 <xsl:text> new Uint16Array([new_period])); |
596 </xsl:text> |
596 </xsl:text> |
597 <xsl:text> } |
597 <xsl:text> } |
598 </xsl:text> |
598 </xsl:text> |
599 <xsl:text> |
599 <xsl:text> |
600 </xsl:text> |
600 </xsl:text> |
606 </xsl:text> |
606 </xsl:text> |
607 <xsl:text> |
607 <xsl:text> |
608 </xsl:text> |
608 </xsl:text> |
609 <xsl:text>function send_hmi_value(index, value) { |
609 <xsl:text>function send_hmi_value(index, value) { |
610 </xsl:text> |
610 </xsl:text> |
611 <xsl:text> iectype = hmitree_types[index]; |
611 <xsl:text> let iectype = hmitree_types[index]; |
612 </xsl:text> |
612 </xsl:text> |
613 <xsl:text> jstype = typedarray_types[iectype]; |
613 <xsl:text> let jstype = typedarray_types[iectype]; |
614 </xsl:text> |
614 </xsl:text> |
615 <xsl:text> send_blob([ |
615 <xsl:text> send_blob([ |
616 </xsl:text> |
616 </xsl:text> |
617 <xsl:text> new Uint8Array([0]), /* setval = 0 */ |
617 <xsl:text> new Uint8Array([0]), /* setval = 0 */ |
618 </xsl:text> |
618 </xsl:text> |
619 <xsl:text> new jstype([value]) |
619 <xsl:text> new Uint32Array([index]), |
620 </xsl:text> |
620 </xsl:text> |
621 <xsl:text> ]); |
621 <xsl:text> new jstype([value])]); |
622 </xsl:text> |
622 </xsl:text> |
623 <xsl:text> |
623 <xsl:text> |
624 </xsl:text> |
624 </xsl:text> |
625 <xsl:text>}; |
625 <xsl:text>}; |
626 </xsl:text> |
626 </xsl:text> |