using BPASmartClient.Model.PLC;
using BPASmartClient.Model.单片机.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BPASmartClient.Model.单片机
{
///
/// 驱动设备: 单片机外设
/// 设备序列号:0x02225132
/// 创建时间: 20220419
///
///
/// STM32F103RCT6单片机下杯
///
public class SCChip_TakeCupEvent : BaseEvent
{
///
/// 杯
///
public IC_CUP Cup { get; set; }
}
///
/// STM32F103RCT6单片机舵机打料
///
public class SCChip_MakeIceCreamEvent : BaseEvent
{
public IC_SE SteeringEngine { get; set; }
}
///
/// STM32F103RCT6单片机舵机打开或者关闭
///
public class SCChip_SESwitchCreamEvent : BaseEvent
{
public IC_SE SteeringEngine { get; set; }
public bool IsOpen { get; set; }
}
///
/// STM32F103RCT6单片机控制冰淇淋机器转
///
public class SCChip_RotorSwitchEvent : BaseEvent
{
public bool TurnOn { get; set; }
}
///
/// 检测有无杯子
///
public class ArticleExitsEvent : BaseEvent
{
}
///
/// 检测物品距离
///
public class ArticleDistEvent : BaseEvent
{
}
public class WriteMcu : WriteModel
{
}
public class ReadMcu : ReadModel
{
}
}