如何:根据特定条件显示不同的通知 [英] how to: display different notification depending on certain conditions

查看:53
本文介绍了如何:根据特定条件显示不同的通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题:

显示每种情况的不同通知:

1.价格被击中

2.合约通知

3.保证金通知不足





谢谢

PROBLEM:
display different notification for each scenario:
1. price is hit
2. contract notification
3. insufficient margin notification


thanks

推荐答案

设置一个标志变量以检查是否已满足方案,并根据标志变量显示通知,并在显示通知后重置标志,然后继续。
set a flag variable to check if a scenario has been met, and show the notifications as per the flag variables, and after showing the notifications,reset the flags, and move on.


这篇关于如何:根据特定条件显示不同的通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆