Hibok
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

38 lignes
657 B

  1. class TranslateOrder{
  2. String orderId;
  3. int createTime;
  4. int tLanguage;
  5. int scenes;
  6. String desc;
  7. }
  8. class TranslateHKMgr {
  9. static TranslateHKMgr _instance;
  10. factory TranslateHKMgr() => _getInstance();
  11. TranslateHKMgr._();
  12. static TranslateHKMgr _getInstance() {
  13. if (_instance == null) {
  14. _instance = TranslateHKMgr._();
  15. }
  16. return _instance;
  17. }
  18. TranslateOrder order;
  19. String orderId;
  20. int waitNum=0;
  21. bool isUser=false;
  22. int orderStatus=0;
  23. static const ORDER_STATUS_EMPTY=0; ///未创建订单
  24. static const ORDER_STATUS_WAITING=1;///等待翻译官
  25. static const ORDER_STATUS_START=1;///翻译管家开始
  26. }