/// <summary>
 /// 读取PLC的型号信息
 /// </summary>
 /// <returns>返回型号的结果对象</returns>
 public OperateResult <string> ReadPlcType()
 {
     return(MelsecA3CNet1OverTcp.ReadPlcTypeHelper(ReadWithPackCommand));
 }
 /// <summary>
 /// 远程Stop操作
 /// </summary>
 /// <returns>是否成功</returns>
 public OperateResult RemoteStop()
 {
     return(MelsecA3CNet1OverTcp.RemoteStopHelper(ReadWithPackCommand));
 }
 /// <summary>
 /// 批量读取bool类型数据,支持的类型为X,Y,S,T,C,具体的地址范围取决于PLC的类型
 /// </summary>
 /// <param name="address">地址信息,比如X10,Y17,注意X,Y的地址是8进制的</param>
 /// <param name="length">读取的长度</param>
 /// <returns>读取结果信息</returns>
 public override OperateResult <bool[]> ReadBool(string address, ushort length)
 {
     return(MelsecA3CNet1OverTcp.ReadBoolHelper(address, length, ReadWithPackCommand));
 }
 /// <summary>
 /// 批量写入bool类型的数组,支持的类型为X,Y,S,T,C,具体的地址范围取决于PLC的类型
 /// </summary>
 /// <param name="address">PLC的地址信息</param>
 /// <param name="value">数据信息</param>
 /// <returns>是否写入成功</returns>
 public override OperateResult Write(string address, bool[] value)
 {
     return(MelsecA3CNet1OverTcp.WriteHelper(address, value, ReadWithPackCommand));
 }
 private OperateResult <byte[]> ReadWithPackCommand(byte[] command)
 {
     return(ReadBase(MelsecA3CNet1OverTcp.PackCommand(command, station)));
 }