;; Auto-generated. Do not edit!


(when (boundp 'mettler_toledo_quantos_q2_msgs::QuantosSample)
  (if (not (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS"))
    (make-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS"))
  (shadow 'QuantosSample (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS")))
(unless (find-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSSAMPLE")
  (make-package "METTLER_TOLEDO_QUANTOS_Q2_MSGS::QUANTOSSAMPLE"))

(in-package "ROS")
;;//! \htmlinclude QuantosSample.msg.html


(defclass mettler_toledo_quantos_q2_msgs::QuantosSample
  :super ros::object
  :slots (_Substance _LotID _UserID _FillingDate _ExpiryDate _RetestDate _mgFillWeight _RemainingDoses _TerminalSNR _BridgeSNR _BalanceType _BalanceID _LastCalibration _OptionSNR _DoseUnitSNR _ApplicationName _DateTime _LevelControl _ProductionDateHead _HeadType _DoseHeadLimit _DosesDoneHead _mgRemainingPowderHead ))

(defmethod mettler_toledo_quantos_q2_msgs::QuantosSample
  (:init
   (&key
    ((:Substance __Substance) "")
    ((:LotID __LotID) "")
    ((:UserID __UserID) "")
    ((:FillingDate __FillingDate) "")
    ((:ExpiryDate __ExpiryDate) "")
    ((:RetestDate __RetestDate) "")
    ((:mgFillWeight __mgFillWeight) "")
    ((:RemainingDoses __RemainingDoses) "")
    ((:TerminalSNR __TerminalSNR) "")
    ((:BridgeSNR __BridgeSNR) "")
    ((:BalanceType __BalanceType) "")
    ((:BalanceID __BalanceID) "")
    ((:LastCalibration __LastCalibration) "")
    ((:OptionSNR __OptionSNR) "")
    ((:DoseUnitSNR __DoseUnitSNR) "")
    ((:ApplicationName __ApplicationName) "")
    ((:DateTime __DateTime) "")
    ((:LevelControl __LevelControl) "")
    ((:ProductionDateHead __ProductionDateHead) "")
    ((:HeadType __HeadType) "")
    ((:DoseHeadLimit __DoseHeadLimit) "")
    ((:DosesDoneHead __DosesDoneHead) "")
    ((:mgRemainingPowderHead __mgRemainingPowderHead) "")
    )
   (send-super :init)
   (setq _Substance (string __Substance))
   (setq _LotID (string __LotID))
   (setq _UserID (string __UserID))
   (setq _FillingDate (string __FillingDate))
   (setq _ExpiryDate (string __ExpiryDate))
   (setq _RetestDate (string __RetestDate))
   (setq _mgFillWeight (string __mgFillWeight))
   (setq _RemainingDoses (string __RemainingDoses))
   (setq _TerminalSNR (string __TerminalSNR))
   (setq _BridgeSNR (string __BridgeSNR))
   (setq _BalanceType (string __BalanceType))
   (setq _BalanceID (string __BalanceID))
   (setq _LastCalibration (string __LastCalibration))
   (setq _OptionSNR (string __OptionSNR))
   (setq _DoseUnitSNR (string __DoseUnitSNR))
   (setq _ApplicationName (string __ApplicationName))
   (setq _DateTime (string __DateTime))
   (setq _LevelControl (string __LevelControl))
   (setq _ProductionDateHead (string __ProductionDateHead))
   (setq _HeadType (string __HeadType))
   (setq _DoseHeadLimit (string __DoseHeadLimit))
   (setq _DosesDoneHead (string __DosesDoneHead))
   (setq _mgRemainingPowderHead (string __mgRemainingPowderHead))
   self)
  (:Substance
   (&optional __Substance)
   (if __Substance (setq _Substance __Substance)) _Substance)
  (:LotID
   (&optional __LotID)
   (if __LotID (setq _LotID __LotID)) _LotID)
  (:UserID
   (&optional __UserID)
   (if __UserID (setq _UserID __UserID)) _UserID)
  (:FillingDate
   (&optional __FillingDate)
   (if __FillingDate (setq _FillingDate __FillingDate)) _FillingDate)
  (:ExpiryDate
   (&optional __ExpiryDate)
   (if __ExpiryDate (setq _ExpiryDate __ExpiryDate)) _ExpiryDate)
  (:RetestDate
   (&optional __RetestDate)
   (if __RetestDate (setq _RetestDate __RetestDate)) _RetestDate)
  (:mgFillWeight
   (&optional __mgFillWeight)
   (if __mgFillWeight (setq _mgFillWeight __mgFillWeight)) _mgFillWeight)
  (:RemainingDoses
   (&optional __RemainingDoses)
   (if __RemainingDoses (setq _RemainingDoses __RemainingDoses)) _RemainingDoses)
  (:TerminalSNR
   (&optional __TerminalSNR)
   (if __TerminalSNR (setq _TerminalSNR __TerminalSNR)) _TerminalSNR)
  (:BridgeSNR
   (&optional __BridgeSNR)
   (if __BridgeSNR (setq _BridgeSNR __BridgeSNR)) _BridgeSNR)
  (:BalanceType
   (&optional __BalanceType)
   (if __BalanceType (setq _BalanceType __BalanceType)) _BalanceType)
  (:BalanceID
   (&optional __BalanceID)
   (if __BalanceID (setq _BalanceID __BalanceID)) _BalanceID)
  (:LastCalibration
   (&optional __LastCalibration)
   (if __LastCalibration (setq _LastCalibration __LastCalibration)) _LastCalibration)
  (:OptionSNR
   (&optional __OptionSNR)
   (if __OptionSNR (setq _OptionSNR __OptionSNR)) _OptionSNR)
  (:DoseUnitSNR
   (&optional __DoseUnitSNR)
   (if __DoseUnitSNR (setq _DoseUnitSNR __DoseUnitSNR)) _DoseUnitSNR)
  (:ApplicationName
   (&optional __ApplicationName)
   (if __ApplicationName (setq _ApplicationName __ApplicationName)) _ApplicationName)
  (:DateTime
   (&optional __DateTime)
   (if __DateTime (setq _DateTime __DateTime)) _DateTime)
  (:LevelControl
   (&optional __LevelControl)
   (if __LevelControl (setq _LevelControl __LevelControl)) _LevelControl)
  (:ProductionDateHead
   (&optional __ProductionDateHead)
   (if __ProductionDateHead (setq _ProductionDateHead __ProductionDateHead)) _ProductionDateHead)
  (:HeadType
   (&optional __HeadType)
   (if __HeadType (setq _HeadType __HeadType)) _HeadType)
  (:DoseHeadLimit
   (&optional __DoseHeadLimit)
   (if __DoseHeadLimit (setq _DoseHeadLimit __DoseHeadLimit)) _DoseHeadLimit)
  (:DosesDoneHead
   (&optional __DosesDoneHead)
   (if __DosesDoneHead (setq _DosesDoneHead __DosesDoneHead)) _DosesDoneHead)
  (:mgRemainingPowderHead
   (&optional __mgRemainingPowderHead)
   (if __mgRemainingPowderHead (setq _mgRemainingPowderHead __mgRemainingPowderHead)) _mgRemainingPowderHead)
  (:serialization-length
   ()
   (+
    ;; string _Substance
    4 (length _Substance)
    ;; string _LotID
    4 (length _LotID)
    ;; string _UserID
    4 (length _UserID)
    ;; string _FillingDate
    4 (length _FillingDate)
    ;; string _ExpiryDate
    4 (length _ExpiryDate)
    ;; string _RetestDate
    4 (length _RetestDate)
    ;; string _mgFillWeight
    4 (length _mgFillWeight)
    ;; string _RemainingDoses
    4 (length _RemainingDoses)
    ;; string _TerminalSNR
    4 (length _TerminalSNR)
    ;; string _BridgeSNR
    4 (length _BridgeSNR)
    ;; string _BalanceType
    4 (length _BalanceType)
    ;; string _BalanceID
    4 (length _BalanceID)
    ;; string _LastCalibration
    4 (length _LastCalibration)
    ;; string _OptionSNR
    4 (length _OptionSNR)
    ;; string _DoseUnitSNR
    4 (length _DoseUnitSNR)
    ;; string _ApplicationName
    4 (length _ApplicationName)
    ;; string _DateTime
    4 (length _DateTime)
    ;; string _LevelControl
    4 (length _LevelControl)
    ;; string _ProductionDateHead
    4 (length _ProductionDateHead)
    ;; string _HeadType
    4 (length _HeadType)
    ;; string _DoseHeadLimit
    4 (length _DoseHeadLimit)
    ;; string _DosesDoneHead
    4 (length _DosesDoneHead)
    ;; string _mgRemainingPowderHead
    4 (length _mgRemainingPowderHead)
    ))
  (:serialize
   (&optional strm)
   (let ((s (if strm strm
              (make-string-output-stream (send self :serialization-length)))))
     ;; string _Substance
       (write-long (length _Substance) s) (princ _Substance s)
     ;; string _LotID
       (write-long (length _LotID) s) (princ _LotID s)
     ;; string _UserID
       (write-long (length _UserID) s) (princ _UserID s)
     ;; string _FillingDate
       (write-long (length _FillingDate) s) (princ _FillingDate s)
     ;; string _ExpiryDate
       (write-long (length _ExpiryDate) s) (princ _ExpiryDate s)
     ;; string _RetestDate
       (write-long (length _RetestDate) s) (princ _RetestDate s)
     ;; string _mgFillWeight
       (write-long (length _mgFillWeight) s) (princ _mgFillWeight s)
     ;; string _RemainingDoses
       (write-long (length _RemainingDoses) s) (princ _RemainingDoses s)
     ;; string _TerminalSNR
       (write-long (length _TerminalSNR) s) (princ _TerminalSNR s)
     ;; string _BridgeSNR
       (write-long (length _BridgeSNR) s) (princ _BridgeSNR s)
     ;; string _BalanceType
       (write-long (length _BalanceType) s) (princ _BalanceType s)
     ;; string _BalanceID
       (write-long (length _BalanceID) s) (princ _BalanceID s)
     ;; string _LastCalibration
       (write-long (length _LastCalibration) s) (princ _LastCalibration s)
     ;; string _OptionSNR
       (write-long (length _OptionSNR) s) (princ _OptionSNR s)
     ;; string _DoseUnitSNR
       (write-long (length _DoseUnitSNR) s) (princ _DoseUnitSNR s)
     ;; string _ApplicationName
       (write-long (length _ApplicationName) s) (princ _ApplicationName s)
     ;; string _DateTime
       (write-long (length _DateTime) s) (princ _DateTime s)
     ;; string _LevelControl
       (write-long (length _LevelControl) s) (princ _LevelControl s)
     ;; string _ProductionDateHead
       (write-long (length _ProductionDateHead) s) (princ _ProductionDateHead s)
     ;; string _HeadType
       (write-long (length _HeadType) s) (princ _HeadType s)
     ;; string _DoseHeadLimit
       (write-long (length _DoseHeadLimit) s) (princ _DoseHeadLimit s)
     ;; string _DosesDoneHead
       (write-long (length _DosesDoneHead) s) (princ _DosesDoneHead s)
     ;; string _mgRemainingPowderHead
       (write-long (length _mgRemainingPowderHead) s) (princ _mgRemainingPowderHead s)
     ;;
     (if (null strm) (get-output-stream-string s))))
  (:deserialize
   (buf &optional (ptr- 0))
   ;; string _Substance
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _Substance (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _LotID
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _LotID (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _UserID
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _UserID (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _FillingDate
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _FillingDate (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _ExpiryDate
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _ExpiryDate (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _RetestDate
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _RetestDate (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _mgFillWeight
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _mgFillWeight (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _RemainingDoses
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _RemainingDoses (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _TerminalSNR
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _TerminalSNR (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _BridgeSNR
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _BridgeSNR (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _BalanceType
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _BalanceType (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _BalanceID
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _BalanceID (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _LastCalibration
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _LastCalibration (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _OptionSNR
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _OptionSNR (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _DoseUnitSNR
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _DoseUnitSNR (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _ApplicationName
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _ApplicationName (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _DateTime
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _DateTime (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _LevelControl
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _LevelControl (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _ProductionDateHead
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _ProductionDateHead (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _HeadType
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _HeadType (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _DoseHeadLimit
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _DoseHeadLimit (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _DosesDoneHead
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _DosesDoneHead (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; string _mgRemainingPowderHead
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _mgRemainingPowderHead (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;;
   self)
  )

(setf (get mettler_toledo_quantos_q2_msgs::QuantosSample :md5sum-) "f9fe3a45ae4ba2f62c51823286634eac")
(setf (get mettler_toledo_quantos_q2_msgs::QuantosSample :datatype-) "mettler_toledo_quantos_q2_msgs/QuantosSample")
(setf (get mettler_toledo_quantos_q2_msgs::QuantosSample :definition-)
      "string Substance
string LotID
string UserID
string FillingDate
string ExpiryDate
string RetestDate
string mgFillWeight
string RemainingDoses
string TerminalSNR
string BridgeSNR
string BalanceType
string BalanceID
string LastCalibration
string OptionSNR
string DoseUnitSNR
string ApplicationName
string DateTime
string LevelControl
string ProductionDateHead
string HeadType
string DoseHeadLimit
string DosesDoneHead
string mgRemainingPowderHead

")



(provide :mettler_toledo_quantos_q2_msgs/QuantosSample "f9fe3a45ae4ba2f62c51823286634eac")


